diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 767418bd..dbf7524a 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -112,6 +112,7 @@ struct wlr_output_state { }; struct wlr_output_impl; +struct wlr_render_pass; /** * A compositor output region. This typically corresponds to a monitor that @@ -516,6 +517,13 @@ void wlr_output_lock_software_cursors(struct wlr_output *output, bool lock); void wlr_output_render_software_cursors(struct wlr_output *output, const pixman_region32_t *damage); /** + * Render software cursors. + * + * This is a utility function that can be called when compositors render. + */ +void wlr_output_add_software_cursors_to_render_pass(struct wlr_output *output, + struct wlr_render_pass *render_pass, const pixman_region32_t *damage); +/** * Get the set of DRM formats suitable for the primary buffer, assuming a * buffer with the specified capabilities. * |