screencopy: Disable linux-dmabuf code path

I need to iron out some kinks before it's made the default
pull/58/head
Andri Yngvason 2020-07-17 16:27:46 +00:00
parent 0c86f9cf53
commit bed4b7261e
1 changed files with 2 additions and 0 deletions

View File

@ -51,12 +51,14 @@ static void screencopy_linux_dmabuf(void* data,
struct zwlr_screencopy_frame_v1* frame, struct zwlr_screencopy_frame_v1* frame,
uint32_t format, uint32_t width, uint32_t height) uint32_t format, uint32_t width, uint32_t height)
{ {
#ifdef ENABLE_SCREENCOPY_DMABUF
struct screencopy* self = data; struct screencopy* self = data;
self->have_linux_dmabuf = true; self->have_linux_dmabuf = true;
self->dmabuf_width = width; self->dmabuf_width = width;
self->dmabuf_height = height; self->dmabuf_height = height;
self->fourcc = format; self->fourcc = format;
#endif
} }
static void screencopy_buffer_done(void* data, static void screencopy_buffer_done(void* data,