diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-04 11:44:03 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-04 11:44:03 +0200 |
| commit | 844d3d6d5c7a297db33408bf18488ec0e961b601 (patch) | |
| tree | 928de86555c94a56c31c57cab55b2c85a158bdbf /src/drivers/Wayland/Fl_Wayland_Window_Driver.H | |
| parent | 8a2559e1af0da2c33a05d466fdb37da1b5f8851b (diff) | |
Wayland platform.: complete support of gl_start/gl_finish.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H index faa45b6fa..ad3c3ad37 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H @@ -46,6 +46,7 @@ typedef struct _cairo_pattern cairo_pattern_t; class FL_EXPORT Fl_Wayland_Window_Driver : public Fl_Window_Driver { friend class Fl_X; + friend class Fl_Wayland_Gl_Window_Driver; private: struct shape_data_type { int lw_; ///< width of shape image @@ -56,6 +57,7 @@ private: static bool in_flush; // useful for progressive window drawing struct wl_cursor *cursor_; void delete_cursor_(); + struct gl_start_support *gl_start_support_; // for support of gl_start/gl_finish public: struct wl_cursor *cursor() { return cursor_; }; bool in_handle_configure; // distinguish OS and user window resize @@ -156,6 +158,7 @@ public: virtual void do_swap(Fl_Window*) = 0; virtual void invalidate(Fl_Window*) = 0; virtual void terminate() = 0; + virtual void destroy(struct gl_start_support *) = 0; }; #endif // FL_WAYLAND_WINDOW_DRIVER_H |
