gtk2/gdk/win32
Chun-wei Fan 5d0f188615 GDK-Win32: Reject WGL context if shaders aren't supported
When we initialize OpenGL, check whether we have OpenGL  2.0 or later; if not,
check whether we have the 'GL_ARB_shader_objects' extension, since we must be
able to support shaders if using OpenGL for GTK.

If we don't support shaders, as some Windows graphics drivers do not support
OpenGL adequately, notably older Intel drivers, reject and destroy the GL
context that we created, and so fallback to the Cairo GSK renderer, so that
things continue to run, albeit with an expected warning message that the GL
context cannot be realized.

Also, when we could not make the created dummy WGL context current during
initialization, make sure that we destroy the dummy WGL context as well.

Fixes issue #4165.
2021-08-17 16:25:09 +08:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01:00
bdfcursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
cursor.bdf *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
gdkcairocontext-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkcairocontext-win32.h GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkclipboard-win32.c gdk: Change some async clipboard api 2019-04-02 15:10:53 +00:00
gdkclipboard-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkclipdrop-win32.c win32: Move from g_memdup() to g_memdup2() 2021-02-11 14:22:23 +00:00
gdkclipdrop-win32.h win32: Move from g_memdup() to g_memdup2() 2021-02-11 14:22:23 +00:00
gdkcursor-win32.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdevice-virtual.c win32: Stop using the query_state vfunc 2020-08-26 17:56:41 -04:00
gdkdevice-virtual.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevice-win32.c GdkWin32: Fix mouse events in presence of transparent windows on the desktop 2020-11-11 12:46:52 +01:00
gdkdevice-win32.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevice-wintab.c win32: Stop using the query_state vfunc 2020-08-26 17:56:41 -04:00
gdkdevice-wintab.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevicemanager-win32.c win32: Stop using gdk_surface_new_temp 2020-10-07 21:07:40 -04:00
gdkdevicemanager-win32.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdisplay-win32.c gdkdisplay-win32.c: Don't call ReleaseDC() unnecessarily 2021-07-22 16:28:16 +02:00
gdkdisplay-win32.h Split out WGL/EGL stuff and simplify things 2021-07-22 16:28:16 +02:00
gdkdisplaymanager-win32.c Remove unused functions in W32 backend 2018-06-10 21:21:09 +00:00
gdkdrag-win32.c Avoid copying static debug strings 2021-07-28 22:42:46 -04:00
gdkdrop-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkevents-win32.c Avoid copying static debug strings 2021-07-28 22:42:46 -04:00
gdkglcontext-win32-egl.c GDK-Win32: Reject WGL context if shaders aren't supported 2021-08-17 16:25:09 +08:00
gdkglcontext-win32-wgl.c GDK-Win32: Reject WGL context if shaders aren't supported 2021-08-17 16:25:09 +08:00
gdkglcontext-win32.c Split out WGL/EGL stuff and simplify things 2021-07-22 16:28:16 +02:00
gdkglcontext-win32.h Split out WGL/EGL stuff and simplify things 2021-07-22 16:28:16 +02:00
gdkglobals-win32.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkhdataoutputstream-win32.c Fix various compiler warnings with the 64bit mingw build 2020-06-14 20:02:36 +02:00
gdkhdataoutputstream-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkkeys-win32.c gdkkeys-win32.c: fix initialisation of key_state in update_keymap 2021-07-09 12:46:49 +08:00
gdkmain-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkmonitor-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkmonitor-win32.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkprivate-win32.h gdk: Replace all GDK_CONFIGURE usage with GdkSurface::layout 2020-12-07 20:37:29 +01:00
gdkproperty-win32.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkscreen-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdksurface-win32.c GDK-Win32: Fixup, and cleanup WGL HDC handling 2021-07-22 16:28:16 +02:00
gdksurface-win32.h Split out WGL/EGL stuff and simplify things 2021-07-22 16:28:16 +02:00
gdkvulkancontext-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkvulkancontext-win32.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkwin32cursor.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32display.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkwin32displaymanager.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32dnd-private.h *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
gdkwin32dnd.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32glcontext.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32id.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32keys.h Documentation fixes 2021-05-20 19:17:49 -04:00
gdkwin32langnotification.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkwin32langnotification.h GDK W32: Test for IME correctly 2019-03-22 16:58:59 +00:00
gdkwin32misc.h Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkwin32monitor.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkwin32screen.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32surface.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
libwntab32x.la
meson.build Split out WGL/EGL stuff and simplify things 2021-07-22 16:28:16 +02:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00