summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window_Driver.H
AgeCommit message (Collapse)Author
2025-10-27Cont'd "New Wayland subwindow code creates issues with resizes of opengl ↵ManoloFLTK
windows…" (#1311)
2025-10-20Fix "New Wayland subwindow code creates issues with resizes of opengl ↵ManoloFLTK
windows…" (#1311)
2024-01-29Fix cached GL context on all platforms (#737)Matthias Melcher
2023-11-26Adds GL swap control for X11Matthias Melcher
2023-11-26STR 1373: adds vsync control to OpenGL contexts on macOSMatthias Melcher
Windows and X11 to follow, no idea about Wayland.
2022-10-02Clean use of virtual GLContext Fl_Gl_Window_Driver::create_gl_context().ManoloFLTK
2022-09-30FLTK widgets in OpenGL 3 windows: rewrite for driver system.ManoloFLTK
2022-09-30Support of FLTK widgets in OpenGL 3 windows under Windows.ManoloFLTK
2022-09-27Simpler code to support FLTK widgets in macOS OpenGL 3 windows.ManoloFLTK
Also, the application-level code to add widgets to a GL3 window becomes platform-independent.
2022-09-07Improve support of child windows that may leak outside their parent window.ManoloFLTK
1) add Wayland code that prevent subwindows from leaking outside their parent. This does not cover GL subwindows. 2) add macOS code that prevent GL subwindows from leaking outside their parent. This fixes issue #494 for the macOS platform. N.B.: Wayland GL subwindows are not prevented from leaking because no solution that would not require any change in client applications was found. Code that would cover Wayland GL subwindows but would require client applications to always use the FL_ALPHA flag is included in this commit in commented out form.
2021-12-09Remove compiler warnings about unused parameters (issue #307) - cont'dManoloFLTK
2021-04-29Cleaner access to Fl_Gl_Window_Driver objects.ManoloFLTK
2021-04-27Slightly simplify gl_texture_fifo::compute_texture()ManoloFLTK
The font size is set to the value necessary for the GL scene before computing the string width. Virtual Fl_Gl_Window_Driver::effective_size() becomes unnecessary.
2021-02-19Remove use of static global var gl_fontsize inside virtual member ↵ManoloFLTK
Fl_Gl_Window_Driver::alpha_mask_for_string()
2021-02-16Create virtual Fl_RGB_Image* Fl_Gl_Window_Driver::capture_gl_rectangle()ManoloFLTK
2021-02-16Create classes Fl_XXX_Gl_Window_Driver according to driver model.ManoloFLTK
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2019-06-21Simpler list of virtual member functions of Fl_Gl_Window_DriverManoloFLTK
2019-06-19Fix building for Windows platform when HAVE_GL_OVERLAY is set to 1ManoloFLTK
2019-04-28macOS: yet simpler implementation of window resize and rescale.ManoloFLTK
2019-04-19macOS: simpler handling of GL windows when first displayed.ManoloFLTK
tested on macOS versions 10.3, 10.6, 10.9, 10.14
2019-04-07Simpler implementation of Fl_Cocoa_Window_Driver::resize()ManoloFLTK
2018-11-29Use the Fl_Gl_Device_Plugin mechanism to simplify the construction of a ↵Manolo Gouy
layer-backed GL window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-11-16MacOS: simpler implementation of extra code necessary at first display of ↵Manolo Gouy
layer-backed GL windows git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13123 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-31Remove use of Fl_Gl_Window_Driver.H in file src/Fl_cocoa.mmManolo Gouy
Thus, Fl_cocoa.mm is completely independent from code of libfltk_gl. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-10-31Remove all dependency to libfltk_gl from Fl_cocoa.mm.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2018-06-26Move Fl_Gl_Window_Driver.H from FL/ to src/Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12977 ea41ed52-d2ee-0310-a9c1-e6b18d33e121