Some improvements for GDK/Win32
Hi,
This is some of the work that is being done to make GTK master work better on Windows, in particular in GDK (GSK):
-
Handle modal surfaces, and improve handling decorated surfaces that was missed during the conversion to surface subtypes.
-
Like the other backends (X11/Wayland), make sure that we create and connect/use a global GL context that enables us to share textures between the GL contexts that we create on a display. This fixes lots of the problems we have when we try to default to a GL GSK renderer on Windows. This also does the same for the case where we are using OpenGL/ES, except that as we noted in !215 (merged) we need to have shaders for OpenGL/ES 2.0 in order for that to work.
-
As a result, we now default to the GL GSK renderer. Yay!
-
Improve HiDPI support by using a newer system support API, if available.
-
Mark callback functions in demo programs for export, as required, as symbols need to be located at runtime.
With blessings, thank you!