mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
ext-image-copy-capture-v1: add wlr_ext_image_copy_capture_frame_v1_copy_buffer()
This commit is contained in:
parent
4e4155ccbe
commit
c24efad6df
2 changed files with 94 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue