summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/fx_renderer/fx_renderer.h1
-rw-r--r--include/render/fx_renderer/shaders.h13
-rw-r--r--include/render/pass.h13
3 files changed, 1 insertions, 26 deletions
diff --git a/include/render/fx_renderer/fx_renderer.h b/include/render/fx_renderer/fx_renderer.h
index cdfb4c8..526a640 100644
--- a/include/render/fx_renderer/fx_renderer.h
+++ b/include/render/fx_renderer/fx_renderer.h
@@ -171,7 +171,6 @@ struct fx_renderer {
struct tex_shader tex_ext;
struct box_shadow_shader box_shadow;
struct rounded_border_corner_shader rounded_border_corner;
- struct stencil_mask_shader stencil_mask;
struct blur_shader blur1;
struct blur_shader blur2;
struct blur_effects_shader blur_effects;
diff --git a/include/render/fx_renderer/shaders.h b/include/render/fx_renderer/shaders.h
index 94aa029..946f02c 100644
--- a/include/render/fx_renderer/shaders.h
+++ b/include/render/fx_renderer/shaders.h
@@ -56,7 +56,7 @@ struct tex_shader {
GLint tex;
GLint alpha;
GLint pos_attrib;
- GLint size;
+ GLint half_size;
GLint position;
GLint radius;
GLint has_titlebar;
@@ -84,17 +84,6 @@ struct rounded_border_corner_shader {
bool link_rounded_border_corner_program(struct rounded_border_corner_shader *shader);
-struct stencil_mask_shader {
- GLuint program;
- GLint proj;
- GLint pos_attrib;
- GLint half_size;
- GLint position;
- GLint radius;
-};
-
-bool link_stencil_mask_program(struct stencil_mask_shader *shader);
-
struct box_shadow_shader {
GLuint program;
GLint proj;
diff --git a/include/render/pass.h b/include/render/pass.h
index e7564fd..0ee9550 100644
--- a/include/render/pass.h
+++ b/include/render/pass.h
@@ -13,17 +13,4 @@ struct fx_render_texture_options fx_render_texture_options_default(
struct fx_render_rect_options fx_render_rect_options_default(
const struct wlr_render_rect_options *base);
-struct fx_render_stencil_box_options {
- struct wlr_box box;
- /* Clip region, leave NULL to disable clipping */
- const pixman_region32_t *clip;
- int corner_radius;
-};
-
-/**
- * Render a stencil mask.
- */
-void fx_render_pass_add_stencil_mask(struct fx_gles_render_pass *pass,
- const struct fx_render_stencil_box_options *options);
-
#endif