#ifndef FX_RENDER_PASS_H #define FX_RENDER_PASS_H #include #include #include #include #include struct fx_render_texture_options fx_render_texture_options_default( const struct wlr_render_texture_options *base); 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