diff options
Diffstat (limited to 'src/compositor.h')
-rw-r--r-- | src/compositor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compositor.h b/src/compositor.h index 451ca5d9..22ab9e12 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -573,6 +573,9 @@ struct weston_renderer { pixman_format_code_t format, void *pixels, uint32_t x, uint32_t y, uint32_t width, uint32_t height); + int (*read_surface_pixels)(struct weston_surface *es, + pixman_format_code_t format, void *pixels, + int x, int y, int width, int height); void (*repaint_output)(struct weston_output *output, pixman_region32_t *output_damage); void (*flush_damage)(struct weston_surface *surface); |