summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-20 09:10:55 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-20 09:10:55 +0200
commit442faf9462ecc6e28373500bc3ecda958054f134 (patch)
tree010b83f32229dce4a8fb62bbac2a4771bd1c1d1a /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
parent3384776f8e4b88da17b8418ddb3c9d752551bb6f (diff)
Create class function Fl_Wayland_Graphics_Driver::custom_offscreen()
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
index d0999037f..9991bd99f 100644
--- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H
@@ -57,6 +57,8 @@ public:
static void buffer_commit(struct wld_window *window, struct flCairoRegion *r = NULL);
static void cairo_init(struct draw_buffer *buffer, int width, int height, int stride, cairo_format_t format);
static struct draw_buffer *offscreen_buffer(Fl_Offscreen);
+ static const cairo_user_data_key_t key;
+ static Fl_Image_Surface *custom_offscreen(int w, int h, struct wld_buffer **buffer);
};
#endif // FL_WAYLAND_GRAPHICS_DRIVER_H