diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-10-08 10:06:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 10:06:41 -0400 |
commit | 9e1ff2dce9eded87673c8cd7eeb7e31a421f7a22 (patch) | |
tree | 4d97bb0ddb8475b992c846f74d39ff8ee3109801 /include/wlr/render/interface.h | |
parent | 1908d88fab23660e863928d8fc874bad4593b087 (diff) | |
parent | 0ce313530446b801302850f03c4a8d8c20cfd782 (diff) |
Merge pull request #140 from emersion/screenshooter
Add screenshooter
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index cbe33822..bbc5acb4 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -28,6 +28,8 @@ struct wlr_renderer_impl { struct wlr_renderer *renderer, size_t *len); bool (*buffer_is_drm)(struct wlr_renderer *renderer, struct wl_resource *buffer); + void (*read_pixels)(struct wlr_renderer *renderer, int x, int y, int width, + int height, void *out_data); void (*destroy)(struct wlr_renderer *renderer); }; |