From be07e5448f54fbd84c5299cbadfd097d1ce893db Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 17 Sep 2023 13:05:50 +0200 Subject: Improve reuse of mmap'ed data by Wayland buffers --- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 1 + 1 file changed, 1 insertion(+) (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H') diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H index 9991bd99f..b1deee5cb 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H @@ -51,6 +51,7 @@ public: struct wl_list buffers; // to list of fl_wld_buffer's from this pool }; static const uint32_t wld_format; + static struct wl_shm_pool *pool; // the current pool void copy_offscreen(int x, int y, int w, int h, Fl_Offscreen osrc, int srcx, int srcy) FL_OVERRIDE; static struct wld_buffer *create_shm_buffer(int width, int height); static void buffer_release(struct wld_window *window); -- cgit v1.2.3