mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Move read_pixels from output to renderer
This commit is contained in:
parent
55c063f440
commit
0ce3135304
9 changed files with 64 additions and 36 deletions
|
|
@ -51,3 +51,8 @@ bool wlr_renderer_buffer_is_drm(struct wlr_renderer *r,
|
|||
struct wl_resource *buffer) {
|
||||
return r->impl->buffer_is_drm(r, buffer);
|
||||
}
|
||||
|
||||
void wlr_renderer_read_pixels(struct wlr_renderer *r, int x, int y,
|
||||
int width, int height, void *out_data) {
|
||||
r->impl->read_pixels(r, x, y, width, height, out_data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue