GDK-Win32: Add fallback mode to GLES

...if GLES (libANGLE) support was enabled in the build.  This way, we can
check whether the GL driver is capable enough to support the OpenGL
features that we use in GTK.  If the driver is not capable enough, and
GLES support is enabled, we can try to create the GdkGLContext again as a
GLES context.
This commit is contained in:
Chun-wei Fan
2021-08-20 12:31:54 +08:00
parent 97d3024701
commit bcdbb93296
3 changed files with 109 additions and 60 deletions

View File

@ -124,7 +124,6 @@ struct _GdkWin32Display
GdkWin32User32DPIFuncs user32_dpi_funcs;
/* Running CPU items */
guint running_on_arm64 : 1;
GdkWin32KernelCPUFuncs cpu_funcs;
};