gtk/gdk/win32
Benjamin Otte 430b6f8fb1 gdk: Add GdkDisplay::init_gl vfunc
The vfunc is called to initialize GL and it returns a "base" context
that GDK then uses as the context all others are shared with. So the GL
context share tree now looks like:

+ context from init_gl
  - context1
  - context2
  ...

So this is a flat tree now, the complexity is gone.

The only caveat is that backends now need to create a GL context when
initializing GL so some refactoring was needed.

Two new functions have been added:

* gdk_display_prepare_gl()
  This is public API and can be used to ensure that GL has been
  initialized or if not, retrieve an error to display (or debug-print).
* gdk_display_get_gl_context()
  This is a private function to retrieve the base context from
  init_gl(). It replaces gdk_surface_get_shared_data_context().
2021-07-22 16:23:56 +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/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
gdkclipboard-win32.h
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 GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkdisplay-win32.h GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdkdisplaymanager-win32.c
gdkdrag-win32.c GDK-Win32: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08: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 gdkdrag-win32.c: Fix drag surface positioning 2021-06-18 18:07:50 +08:00
gdkglcontext-win32.c gdk: Add GdkDisplay::init_gl vfunc 2021-07-22 16:23:56 +02:00
gdkglcontext-win32.h Add a EGL renderer (via ANGLE) for Windows 2020-07-30 14:26:33 +08: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
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: Clean up HiDPI support and WGL a bit 2021-07-19 18:30:42 +08:00
gdksurface-win32.h surface: Remove unused gdk_surface_get_unscaled_size() 2021-03-15 02:56:28 +01:00
gdkvulkancontext-win32.c GDK/Win32: Remove layered windows usage 2021-01-18 12:48:16 +08:00
gdkvulkancontext-win32.h
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
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: Use a consistent style for Meson files 2020-12-15 12:46:59 +00:00
pktdef.h
wintab.h
xcursors.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00