diff options
Diffstat (limited to 'include/wlr/render/pixman.h')
-rw-r--r-- | include/wlr/render/pixman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/render/pixman.h b/include/wlr/render/pixman.h index f417efa2..9a7be877 100644 --- a/include/wlr/render/pixman.h +++ b/include/wlr/render/pixman.h @@ -14,6 +14,11 @@ #include <wlr/render/wlr_renderer.h> struct wlr_renderer *wlr_pixman_renderer_create(void); +/** + * Returns the image of current buffer. + */ +pixman_image_t *wlr_pixman_renderer_get_current_image( + struct wlr_renderer *wlr_renderer); bool wlr_renderer_is_pixman(struct wlr_renderer *wlr_renderer); bool wlr_texture_is_pixman(struct wlr_texture *texture); |