mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
screencopy-v1: use DRM format code for shm buffers
Will allow us to simplify common shm/DMA-BUF logic later on.
This commit is contained in:
parent
4885c08f38
commit
77b829e15f
2 changed files with 11 additions and 10 deletions
|
|
@ -37,8 +37,7 @@ struct wlr_screencopy_frame_v1 {
|
|||
struct wlr_screencopy_v1_client *client;
|
||||
struct wl_list link; // wlr_screencopy_manager_v1.frames
|
||||
|
||||
enum wl_shm_format shm_format;
|
||||
uint32_t dmabuf_format;
|
||||
uint32_t shm_format, dmabuf_format; // DRM format codes
|
||||
struct wlr_box box;
|
||||
int stride;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue