summaryrefslogtreecommitdiff
path: root/src/render/Shader.hpp
Commit message (Collapse)AuthorAgeFilesLines
* renderer: Add supercircular window corners (#8943)Pollux2025-01-051-0/+1
| | | | | | | renderer: Add supercircular shadows and borders config: Add rounding_power to default and example configs rule: add `roundingpower` window rule
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-3/+7
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* renderer: Make shader time always count from zero (#6903)Party Wumpus2024-07-161-4/+5
| | | | | | | * testing out an initialtime variable * Make time universally start at zero instead of exposing an initial time * Appease the CI
* screenshader: rename output uniform to wl_output (#4606)JManch2024-02-041-3/+3
| | | | | * screenshader: rename output uniform to monitor * rename to wl_output
* renderer: added new customization options to the blur shaders (#3650)Visual-Dawg2023-11-061-5/+13
| | | Adds to `decoration:blur:` `vibrancy` and `vibrancy_darkness`
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-041-5/+8
|
* shaders: support changing the outer radius of borders independentlyVaxry2023-10-191-0/+1
|
* renderer: nuke multisample_edges in favor of a faster algorithmvaxerski2023-09-301-1/+0
|
* renderer: Various Blur Improvements (#2877)Vaxry2023-08-031-0/+4
| | | | | * move blur to its own category * blur improvements, contrast, brightness, noise
* 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