mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
screencopy: Implement copying into linux-dmabuf
This commit is contained in:
parent
909b0213b3
commit
ea83957ecc
2 changed files with 113 additions and 27 deletions
|
|
@ -38,6 +38,7 @@ struct wlr_screencopy_frame_v1 {
|
|||
struct wl_list link;
|
||||
|
||||
enum wl_shm_format format;
|
||||
uint32_t fourcc;
|
||||
struct wlr_box box;
|
||||
int stride;
|
||||
|
||||
|
|
@ -45,7 +46,9 @@ struct wlr_screencopy_frame_v1 {
|
|||
|
||||
bool with_damage;
|
||||
|
||||
struct wl_shm_buffer *buffer;
|
||||
struct wl_shm_buffer *shm_buffer;
|
||||
struct wlr_dmabuf_v1_buffer *dma_buffer;
|
||||
|
||||
struct wl_listener buffer_destroy;
|
||||
|
||||
struct wlr_output *output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue