summaryrefslogtreecommitdiff
path: root/src/render/shaders/Textures.hpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Unify rounding shadersvaxerski2022-11-211-13/+13
|
* 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
|
* fixing your shit.Felix Dick2022-09-281-78/+80
|
* Merge branch 'main' into rework_rounding_shaderFelix Dick2022-09-281-5/+5
|\
* | Make the rounding texture shaders smaller and more efficient.Felix Dick2022-09-281-172/+55
|/
* Remove trailing whitespace.Felix Dick2022-09-251-2/+2
|
* Added window dimmingvaxerski2022-08-301-2/+31
|
* fix fade corner artifactsvaxerski2022-07-161-10/+8
|
* added drop shadowsvaxerski2022-06-251-0/+341