summaryrefslogtreecommitdiff
path: root/src/render/shaders
Commit message (Collapse)AuthorAgeFilesLines
* shaders: fix blank windows when using corner rounding (#8969) (#8971)Pollux2025-01-061-2/+2
|
* renderer: Add supercircular window corners (#8943)Pollux2025-01-053-19/+24
| | | | | | | 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-1/+61
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* shaders: improve corner AA in borders shaderVaxry2024-11-053-3/+16
|
* shaders: fixup jagged edges in texture rounded cornersVaxry2024-11-051-4/+7
|
* shaders: Use sin-less hash for noise (#5607)Epikastema2024-04-171-1/+3
|
* renderer: add support for gles3.2 screen shadersVaxry2024-03-181-0/+11
|
* shaders: use highp for fragmentsVaxry2024-02-153-15/+15
|
* shaders: Some more changes in rgb2hsl. (#3834)Dickby2023-11-121-4/+5
|
* shaders: Small optimization in rgb2hsl. (#3831)Dickby2023-11-111-7/+6
|
* shaders: Avoid calculating unused values in hsl2rgb. (#3827)Dickby2023-11-111-8/+7
|
* shaders: Use clamp in doubleCircleSigmoid. (#3824)Dickby2023-11-111-3/+1
|
* opengl: switch to black-and-white for alpha mattesVaxry2023-11-091-1/+1
| | | | also fixes shadows on 10b
* opengl: remove unused alpha matte from shadowVaxry2023-11-091-7/+0
|
* renderer: added new customization options to the blur shaders (#3650)Visual-Dawg2023-11-061-17/+173
| | | Adds to `decoration:blur:` `vibrancy` and `vibrancy_darkness`
* shadows: fix on transformedVaxry2023-11-041-0/+10
|
* Decos: Window decoration flags, shadow improvements (#3739)Vaxry2023-11-042-0/+10
|
* shaders: support changing the outer radius of borders independentlyVaxry2023-10-191-6/+16
|
* shaders: Remove redundant clamp of smoothsteps return value. (#3456)Dickby2023-09-302-5/+5
|
* renderer: nuke multisample_edges in favor of a faster algorithmvaxerski2023-09-302-20/+5
|
* shaders: improve border roundingvaxerski2023-09-301-23/+12
|
* shaders: minor premultiplication fixesvaxerski2023-08-182-5/+6
|
* renderer: fix missing premultiplication for border multisamplingvaxerski2023-08-061-2/+3
|
* renderer: fully switch to premultiplied alphavaxerski2023-08-062-3/+6
|
* renderer: Various Blur Improvements (#2877)Vaxry2023-08-031-0/+30
| | | | | * move blur to its own category * blur improvements, contrast, brightness, noise
* shaders: short-circuit rounding if radius <= 0vaxerski2023-07-201-0/+6
|
* Allow setting alpha value for ignorezero layer rule (#2477)end-42023-06-111-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* debug: minor improvements to manual crashvaxerski2023-04-041-4/+38
|
* debug: added manual_crashvaxerski2023-04-041-0/+33
|
* shaders: fix missing discardAlphaZerovaxerski2023-03-241-0/+2
|
* LS: add blur and ignorezero rulesvaxerski2023-03-171-5/+8
|
* opengl: use a passthru shader for final wlr copyvaxerski2023-03-041-0/+9
|
* touch up the clang format and format all filesvaxerski2022-12-201-6/+11
|
* fix border inner offset in shadervaxerski2022-11-291-4/+4
|
* fix AA on bordersvaxerski2022-11-291-3/+4
|
* optimize border shadervaxerski2022-11-271-2/+4
| | | | Do not calculate gradient for discarded fragments
* use highp for pixcoord to fix nvidia border issuesvaxerski2022-11-261-1/+2
|
* fix transformed border thicknessvaxerski2022-11-261-3/+4
|
* allow 360 degrees of freedom in gradientsvaxerski2022-11-261-1/+18
|
* optimize data feeding to gradient renderervaxerski2022-11-261-0/+2
|
* added border gradientsvaxerski2022-11-261-2/+18
|
* fix up the border shadervaxerski2022-11-261-6/+7
|
* Unify rounding shadersvaxerski2022-11-212-63/+51
|
* Remove texcoord from QUADFRAGSRC.Felix Dick2022-10-051-1/+0
| | | | | | | texcoord is unused in the rounding part of the textureshaders. QUADFRAGSRC isn't using that variable inside the non rounding code. Because of that opengl optimizes that variable out, and is complaining if glGetAttribLocation is called on it.
* Remove unused ignoreCorners variable from texture shaders.Felix Dick2022-10-011-7/+0
|
* Cut the number of pixels that call length() in half.Felix Dick2022-10-011-4/+4
|
* Merge branch 'fix_rounding_in_size_changing_windows' into rework_rounding_shaderFelix Dick2022-10-011-8/+4
|\
| * Send absolute screen coordinates to texture shaders.Felix Dick2022-09-291-4/+4
| |
| * Don't pass bottomRight to textureShaders compute it within.Felix Dick2022-09-291-5/+1
|/
* Even less branching (taken more or less from the border shader).Felix Dick2022-09-291-5/+5
|