gtk/gdk/win32
Benjamin Otte f584d4f500 gl: Check allowed APIs in realize()
Add gdk_gl_context_is_api_allowed() for backends and make them use it.

Finally, have them return the final API as the return value (or 0 on
error).

And then use that api instead of a use_es boolean flag.

Fixes #4221
2021-10-08 03:31:07 +02:00
..
rc
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: hdr => high depth 2021-10-06 22:50:07 +02:00
gdkcairocontext-win32.h GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkclipboard-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkclipboard-win32.h
gdkclipdrop-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02: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 Add _gdk_win32_get_cursor_pos utility 2021-08-19 15:57:42 +02:00
gdkdevice-win32.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevice-winpointer.c Add _gdk_win32_get_cursor_pos utility 2021-08-19 15:57:42 +02:00
gdkdevice-winpointer.h Initialize WinPointer and enumerate devices 2021-08-19 15:57:41 +02:00
gdkdevice-wintab.c Add _gdk_win32_get_cursor_pos utility 2021-08-19 15:57:42 +02:00
gdkdevice-wintab.h win32: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkdevicemanager-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdevicemanager-win32.h Initialize WinPointer and enumerate devices 2021-08-19 15:57:41 +02:00
gdkdisplay-win32.c gdk: Make GDK_DEBUG GL backend selection global 2021-10-05 04:48:15 +02:00
gdkdisplay-win32.h Move the _gdk_win32_pointer_input_api global variable into GdkWin32Display 2021-08-19 16:29:45 +02:00
gdkdisplaymanager-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdrag-win32.c win32: Fix gcc warnings 2021-09-24 22:50:29 +02:00
gdkdrop-win32.c win32: Comment out unused function 2021-10-04 04:26:49 +02:00
gdkevents-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkglcontext-win32-egl.c gdk: hdr => high depth 2021-10-06 22:50:07 +02:00
gdkglcontext-win32-wgl.c gl: Check allowed APIs in realize() 2021-10-08 03:31:07 +02:00
gdkglcontext-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkglcontext-win32.h win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkglobals-win32.c Move the _gdk_win32_pointer_input_api global variable into GdkWin32Display 2021-08-19 16:29:45 +02:00
gdkhdataoutputstream-win32.c GDK/Win32: Use lowercase windows.h 2021-09-26 21:52:12 +08:00
gdkhdataoutputstream-win32.h
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.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkmain-win32.c win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkmonitor-win32.c Raise _WIN32_WINNT macro to target Windows 7 API 2021-08-19 15:57:33 +02:00
gdkmonitor-win32.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkprivate-win32.h win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkproperty-win32.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkscreen-win32.c Raise _WIN32_WINNT macro to target Windows 7 API 2021-08-19 15:57:33 +02:00
gdksurface-win32.c win32: Remove unused variables 2021-10-05 04:48:15 +02:00
gdksurface-win32.h win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkvulkancontext-win32.c gdk: hdr => high depth 2021-10-06 22:50:07 +02:00
gdkvulkancontext-win32.h
gdkwin32.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
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 Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkwin32dnd-private.h win32: Don't include gdkinternals.h 2021-09-24 22:50:29 +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 build: Add a HAVE_EGL define to config.h 2021-10-06 03:43:47 +02: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 Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00