ext-image-copy-capture-v1: add wlr_ext_image_copy_capture_frame_v1_copy_buffer()

This commit is contained in:
Simon Ser 2024-04-18 18:20:29 +02:00
parent 4e4155ccbe
commit c24efad6df
2 changed files with 94 additions and 0 deletions

View file

@ -53,5 +53,10 @@ void wlr_ext_image_copy_capture_frame_v1_ready(struct wlr_ext_image_copy_capture
*/
void wlr_ext_image_copy_capture_frame_v1_fail(struct wlr_ext_image_copy_capture_frame_v1 *frame,
enum ext_image_copy_capture_frame_v1_failure_reason reason);
/**
* Copy a struct wlr_buffer into the client-provided buffer for the frame.
*/
bool wlr_ext_image_copy_capture_frame_v1_copy_buffer(struct wlr_ext_image_copy_capture_frame_v1 *frame,
struct wlr_buffer *src, struct wlr_renderer *renderer);
#endif