summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when screen size is 0x0 (#2523)Shemig2023-06-151-3/+3
| | | | | | (When booting into laptop clam mode in dell XPS) and also ignore any screen with size 0x0 in the first place Co-authored-by: giladsx <gilad@spectalix.com>
* opengl: fix invalid tex references to tex-less shadervaxerski2023-06-141-6/+4
|
* screenshader: fix uniform variable checks (#2513)JManch2023-06-141-2/+2
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-111-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rename ignorezero to ignorealpha * allow setting ignorealpha value This commit allows setting a float value (0-1) for the ignorealpha layer rule. Does not yet have error handling; invalid ignorealpha layer rule will crash Hyprland. * add brackets i forgot to add * prevent crash with invalid ignorealpha value prevents hyprland from immediately crashing with invalid ignorealpha layer rule does not log * don't try to set ignoreAlphaValue if alpha value not specified * add catch to try, reintroduce ignorezero - added catch after try cuz i was an idiot - re-add ignorezero as an alternative to ignorealpha to not introduce a breaking change * add logging for failed ignorealpha layer rule * fix get ignorealpha's get VALUE * check npos and use empty() * rename VALUE cuz no longer const * format Shader.hpp
* zoom: multiply by scale only on mouseZoomUseMouse (#2495)Nicola Guerrera2023-06-101-3/+2
|
* screenshader: add output uniformvaxerski2023-06-101-5/+10
|
* calculate zoom_center based on monitor scale (#2482)Nicola Guerrera2023-06-101-1/+1
|
* opengl: don't use new optim with xray off on special tiledvaxerski2023-05-021-1/+2
|
* internal: fix -Wsign-compare and -Wunused-variable warningsvaxerski2023-05-021-1/+0
|
* Added some workspace-specific rules (#1986)levnikmyskin2023-05-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | * added some workspace-specific rules * added some worskpace-specific rules, with windowrule like syntax * monitor is not mandatory anymore * pointers to config are now static * fixed optional WorkspaceRule fields * Windows can now specify border size * removed CHyprOpenGLImpl::renderBorder borderSize default value * stuff --------- Co-authored-by: Alessio Molinari <alessiomolinari@gmail.com> Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* renderer: fix misused size -> transformed sizevaxerski2023-05-011-1/+1
|
* Renderer: add init animationvaxerski2023-05-011-12/+15
|
* renderer: improvements to layer render detectionvaxerski2023-04-221-0/+7
|
* Render: add cursor_zoomvaxerski2023-04-161-7/+36
|
* blur: fixup optimization boolvaxerski2023-04-161-3/+2
|
* renderer: add support for rendering workspacesvaxerski2023-04-121-10/+51
|
* renderer: don't use simple rect on alphazero stencilvaxerski2023-04-041-1/+1
|
* debug: added manual_crashvaxerski2023-04-041-4/+24
|
* Renderer: fix dim easingvaxerski2023-03-301-1/+1
|
* feat: add forcergbx rulevaxerski2023-03-261-1/+4
|
* shaders: fix missing discardAlphaZerovaxerski2023-03-241-0/+2
|
* Added overflow check for blur radius (#1847)staz2023-03-211-1/+1
| | | | | | | * internal: added overflow check for blur radius --------- Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* internal: wrap wlr surfaces (#1822)Vaxry2023-03-201-1/+1
|
* monitors: more guards for safetyvaxerski2023-03-191-0/+12
|
* LS: add blur and ignorezero rulesvaxerski2023-03-171-4/+12
|
* Opengl: Fix forcefully setting missing time prop to final shadervaxerski2023-03-061-1/+1
|
* Optionally expose time to screen shaders (#1700)scorpion-262023-03-051-2/+19
| | | | | | | | | * Optionally expose time to screen shaders Since that collides with damage tracking, it will only be done, when damage tracking is disabled, meaning this comes at no cost for everyone not using time. * Rename m_Timer to m_tGlobalTimer
* opengl: use a passthru shader for final wlr copyvaxerski2023-03-041-5/+17
|
* Renderer: Nuke onWindowResize{start/end}vaxerski2023-03-031-4/+0
|
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+2
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* scale the opaque region in blurringvaxerski2023-01-311-6/+2
|
* allow preblur for opaque surfaces if alpha not 1vaxerski2023-01-231-9/+10
|
* clamp a instead of assertingvaxerski2023-01-071-1/+2
|
* Normalize color storagevaxerski2023-01-051-16/+17
| | | | | | Colors are now normalized to 0 - 1 values instead of 0 - 255 causes calculations to be simpler and generally cleans up the codebase.
* fix damage issues with dimaround unmapvaxerski2022-12-291-0/+1
|
* added dimaroundvaxerski2022-12-281-3/+17
|
* touch up the clang format and format all filesvaxerski2022-12-201-8/+8
|
* fix blur damage spam on no blurred windowsvaxerski2022-12-181-46/+40
|
* remove damage_entire_on_snapshotvaxerski2022-12-171-18/+8
|
* Added clang format (#1239)Vaxry2022-12-161-249/+250
| | | * clang-format stuff and format files
* fix blur damage issues with scaledvaxerski2022-12-121-2/+10
|
* blur xray for layers (#1158)Flafy2022-12-041-2/+2
| | | | | * feat: apply blur_xray to non window surfaces * don't blur optimize bottom and background layers
* added blur_xrayvaxerski2022-12-021-3/+6
|
* fix crash with invalid frag dynamic shadersvaxerski2022-12-011-2/+2
|
* Added screen shadersvaxerski2022-12-011-38/+105
|
* fix minor issues with blur w/o new optimvaxerski2022-11-291-1/+10
|
* fix double freevaxerski2022-11-291-1/+0
|
* clean up blur code and fix minor issuesvaxerski2022-11-281-27/+27
|
* fix minor issues with blur_new_optimizevaxerski2022-11-281-3/+43
|
* Added handling more special workspacesvaxerski2022-11-271-1/+1
|