mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
wlr_texture: Introduce wlr_texture_read_pixels_options helpers
This commit is contained in:
parent
4c6caa7c48
commit
e85e8bc324
2 changed files with 32 additions and 0 deletions
|
|
@ -93,4 +93,10 @@ float wlr_render_texture_options_get_alpha(const struct wlr_render_texture_optio
|
|||
void wlr_render_rect_options_get_box(const struct wlr_render_rect_options *options,
|
||||
const struct wlr_buffer *buffer, struct wlr_box *box);
|
||||
|
||||
void wlr_texture_read_pixels_options_get_src_box(
|
||||
const struct wlr_texture_read_pixels_options *options,
|
||||
const struct wlr_texture *texture, struct wlr_box *box);
|
||||
void *wlr_texture_read_pixel_options_get_data(
|
||||
const struct wlr_texture_read_pixels_options *options);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue