diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-12 13:12:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-21 16:31:07 +0100 |
commit | d6dbdd97e90882569899e458f6bbc44bdc6d0a8a (patch) | |
tree | c0aea9461c3be183ae32545df1ffb83c3b6d7bc6 /include/backend/x11.h | |
parent | defcd9b025c8a6ce844f8b2c772ee763cbc334b5 (diff) |
backend/x11: re-use pixmaps
Instead of re-importing a buffer each time we submit a frame, re-use the
pixmaps if possible.
Diffstat (limited to 'include/backend/x11.h')
-rw-r--r-- | include/backend/x11.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |