summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-09-17 13:05:50 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-09-17 13:05:50 +0200
commitbe07e5448f54fbd84c5299cbadfd097d1ce893db (patch)
tree8bbf751362410a64e5587198d17245e734764e09 /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
parent824818303ce41a57de3220375bc42b6433cbec0c (diff)
Improve reuse of mmap'ed data by Wayland buffers
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H1
1 files changed, 1 insertions, 0 deletions
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);