summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWill McKinnon <[email protected]>2023-04-30 12:53:26 -0400
committerWill McKinnon <[email protected]>2023-04-30 12:53:26 -0400
commit06339c325c512a71a4344f4a05ddbc2f3dd162fb (patch)
tree192fa1cdecea3182b63d733d2433b7b981c2a5ee /include
parent5366c49b56ed8335a957482ed40de3eb021929fb (diff)
style: moved stencil mask to its own shader
Diffstat (limited to 'include')
-rw-r--r--include/sway/desktop/fx_renderer/fx_renderer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sway/desktop/fx_renderer/fx_renderer.h b/include/sway/desktop/fx_renderer/fx_renderer.h
index 109351e2..2aa38a7f 100644
--- a/include/sway/desktop/fx_renderer/fx_renderer.h
+++ b/include/sway/desktop/fx_renderer/fx_renderer.h
@@ -111,6 +111,16 @@ struct fx_renderer {
struct rounded_quad_shader rounded_bl_quad;
struct rounded_quad_shader rounded_br_quad;
+ struct {
+ GLuint program;
+ GLint proj;
+ GLint color;
+ GLint pos_attrib;
+ GLint half_size;
+ GLint position;
+ GLint radius;
+ } stencil_mask;
+
struct blur_shader blur1;
struct blur_shader blur2;