diff options
author | William McKinnon <[email protected]> | 2024-09-18 06:38:01 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-18 12:38:01 +0200 |
commit | 9b30e2d5e97c455d5a8c0e6b5e37ce50a4e3db81 (patch) | |
tree | f88ad21157e183084999c408a82a9c3a6e280539 /include/render/pass.h | |
parent | b05b1732f4e8423145cb2f9e84a6d43e28c26557 (diff) |
feat: removed stencil from shadow rendering (#61)
* removed stencil from shadow rendering
* removed the rest of the stencil mask
* fix
* Don't render inner region of shadow
---------
Co-authored-by: Erik Reider <[email protected]>
Diffstat (limited to 'include/render/pass.h')
-rw-r--r-- | include/render/pass.h | 13 |
1 files changed, 0 insertions, 13 deletions
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 |