gtk/gdk/win32
Benjamin Otte c6cef6db52 gdk: Add private GLContext::is_current() check
... and use this check in gdk_gl_context_make_current() and
gdk_gl_context_get_current() to make sure the context really is still
current.

The context no longer being current can happen when external GL
implementations make their own contexts current in the same threads GDK
contexts are used in.
And that can happen for example by WebKit.

Theoretically, this should also allow external EGL code to run in X11
applications when GDK chooses to use GLX, but I didn't try it.

Fixes #5392
2023-02-02 04:23:51 +01:00
..
rc
gdkcairocontext-win32.c gdk: hdr => high depth 2021-10-06 22:50:07 +02:00
gdkcairocontext-win32.h
gdkclipboard-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkclipboard-win32.h
gdkclipdrop-win32.c clipboard: improve EOL conversion of plain text 2022-12-22 12:55:30 +01:00
gdkclipdrop-win32.h GdkWin32: Fix subclassing for GdkWin32Clipdrop 2022-09-26 14:34:24 +02:00
gdkcursor-win32.c gdk/win32: fix cursor hotspot 2022-11-16 11:50:56 +04:00
gdkdevice-virtual.c
gdkdevice-virtual.h
gdkdevice-win32.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkdevice-win32.h
gdkdevice-winpointer.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkdevice-winpointer.h Initialize WinPointer and enumerate devices 2021-08-19 15:57:41 +02:00
gdkdevice-wintab.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkdevice-wintab.h
gdkdevicemanager-win32.c gdk: Rename GDK_SURFACE_TEMP 2022-11-17 22:49:56 -05:00
gdkdevicemanager-win32.h Initialize WinPointer and enumerate devices 2021-08-19 15:57:41 +02:00
gdkdisplay-win32.c Make the gl-gles debug flag always available 2022-09-21 21:12:22 -04:00
gdkdisplay-win32.h Cleanup "GDK/Win32: Try to fix initializing GLES contexts" 2022-01-19 11:56:32 +08:00
gdkdisplaymanager-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdrag-win32.c gdk: Rename GDK_SURFACE_TEMP 2022-11-17 22:49:56 -05:00
gdkdrop-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkevents-win32.c Merge branch 'gdk-win32-fix-native-decoration-resize' into 'main' 2022-12-14 13:13:14 +00:00
gdkglcontext-win32-egl.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkglcontext-win32-wgl.c gdk: Add private GLContext::is_current() check 2023-02-02 04:23:51 +01:00
gdkglcontext-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkglcontext-win32.h GDK-Win32: Drop GDK_WIN32_ENABLE_EGL flag 2021-11-08 15:25:24 +08:00
gdkglobals-win32.c GdkWin32: Remove _gdk_input_codepage variable 2022-01-17 14:14:55 +01:00
gdkhdataoutputstream-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkhdataoutputstream-win32.h
gdkinput-dmanipulation.c DirectManipulation: Account for DPI scale 2022-05-24 11:37:06 +02:00
gdkinput-dmanipulation.h GdkWin32: Add support for DirectManipulation 2022-05-15 14:37:55 +02:00
gdkinput-winpointer.c GDK-Win32: Fix build 2021-09-30 16:21:38 +08:00
gdkinput-winpointer.h Handle WinPointer input 2021-08-19 15:57:41 +02:00
gdkkeys-win32-impl-wow64.c Rewrite GdkWin32Keymap (load table directly from layout DLL) 2022-01-12 19:01:35 +01:00
gdkkeys-win32-impl.c gdkkeys-win32: Also ignore Ctrl + Shift (etc.) 2022-02-09 10:43:07 +01:00
gdkkeys-win32.c Rename gdkdebug.h to gdkdebugprivate.h 2022-09-23 23:12:01 -04:00
gdkkeys-win32.h gdkkeys-win32: Fix capslock handling 2022-01-12 21:43:53 +01:00
gdkmain-win32.c Drop gdkintl.h 2022-09-23 23:33:42 -04:00
gdkmonitor-win32.c win32: Remove unused variable 2023-02-02 04:23:51 +01:00
gdkmonitor-win32.h
gdkprivate-win32.h gdk/win32: fix cursor hotspot 2022-11-16 11:50:56 +04:00
gdkproperty-win32.c GdkWin32: Add more GDK_NOTE calls for settings 2022-11-04 16:11:27 +01:00
gdkscreen-win32.c Raise _WIN32_WINNT macro to target Windows 7 API 2021-08-19 15:57:33 +02:00
gdksurface-win32.c gdk: Rename GDK_SURFACE_TEMP 2022-11-17 22:49:56 -05:00
gdksurface-win32.h Use native Windows API for converting keystrokes to characters 2022-10-17 19:36:48 +02:00
gdkvulkancontext-win32.c gdk: hdr => high depth 2021-10-06 22:50:07 +02:00
gdkvulkancontext-win32.h
gdkwin32.h
gdkwin32cursor.h GDK/Win32: Use lowercase windows.h 2021-09-26 21:52:12 +08:00
gdkwin32display.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkwin32displaymanager.h
gdkwin32dnd-private.h win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkwin32dnd.h
gdkwin32glcontext.h
gdkwin32id.c gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkwin32keys.h gdk/win32: remove old declaration 2022-08-19 11:58:12 +04:00
gdkwin32langnotification.c
gdkwin32langnotification.h
gdkwin32misc.h gdk/win32: deprecate gdk_win32_handle_table_lookup 2022-08-24 21:02:57 +04:00
gdkwin32monitor.h
gdkwin32screen.h
gdkwin32surface.h
meson.build build-sys: generate GdkWin32.gir 2022-08-19 17:42:30 +04:00
pktdef.h
winpointer.h Add winpointer.h header file for type declarations 2021-08-19 15:57:39 +02:00
wintab.h
xcursors.h