summaryrefslogtreecommitdiff
path: root/src/render/Shader.hpp
Commit message (Collapse)AuthorAgeFilesLines
* shader: init uniforms to -1vaxerski2023-06-141-35/+35
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-111-29/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* screenshader: add output uniformvaxerski2023-06-101-0/+1
|
* debug: added manual_crashvaxerski2023-04-041-0/+1
|
* LS: add blur and ignorezero rulesvaxerski2023-03-171-0/+1
|
* Optionally expose time to screen shaders (#1700)scorpion-262023-03-051-0/+2
| | | | | | | | | * 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
* Added clang format (#1239)Vaxry2022-12-161-26/+26
| | | * clang-format stuff and format files
* Added screen shadersvaxerski2022-12-011-0/+2
|
* fix transformed border thicknessvaxerski2022-11-261-0/+1
|
* added border gradientsvaxerski2022-11-261-0/+4
|
* Added window dimmingvaxerski2022-08-301-0/+3
|
* destroy program in shader destructorvaxerski2022-08-111-1/+3
|
* Optimize shadersvaxerski2022-07-291-0/+13
|
* added CPU uniform location lookup optimizationvaxerski2022-06-301-8/+7
|
* borders are now gangstavaxerski2022-05-171-0/+1
|
* Don't blur behind opaque pixelsvaxerski2022-04-171-0/+1
|
* progressvaxerski2022-04-041-0/+20