From d6dbdd97e90882569899e458f6bbc44bdc6d0a8a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 12 Dec 2020 13:12:06 +0100 Subject: backend/x11: re-use pixmaps Instead of re-importing a buffer each time we submit a frame, re-use the pixmaps if possible. --- include/backend/x11.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/backend/x11.h b/include/backend/x11.h index b872385d..7ffcf465 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -115,6 +115,7 @@ struct wlr_x11_buffer { struct wlr_buffer *buffer; xcb_pixmap_t pixmap; struct wl_list link; // wlr_x11_output::buffers + struct wl_listener buffer_destroy; }; struct wlr_x11_format { -- cgit v1.2.3