gtk/gdk
Benjamin Otte 2ff1ea555f egl: Unify contexts
Unify the X11 and Wayland EGL contexts.

This is a bit ugly to implement, because I don't want to create an
interface and I can't make them inherit from the same object, because
one needs to inherit from X11GLContext and the other from
WaylandGLContext.

So we have to put the code in GdkGLContext and make sure non-EGL
contexts can't accidentally run it. This is rather easy because we can
just check for priv->egl_context != NULL.
2021-10-06 03:44:36 +02:00
..
broadway broadway: Use the correct way to call find_library 2021-09-26 18:51:13 +08:00
loaders gdk loaders: Add noreturn attribtues where appropriate 2021-10-02 09:08:14 +02:00
macos macos: handle NULL surface when creating GL context 2021-09-28 17:36:23 -07:00
wayland egl: Unify contexts 2021-10-06 03:44:36 +02:00
win32 build: Add a HAVE_EGL define to config.h 2021-10-06 03:43:47 +02:00
x11 egl: Unify contexts 2021-10-06 03:44:36 +02:00
COPYING
default_cursor.png
filetransferportal.c
filetransferportalprivate.h
gdk-autocleanup.h
gdk-private.h surface: Add a private struct 2021-10-06 03:43:47 +02:00
gdk.c gdk: Make GDK_DEBUG GL backend selection global 2021-10-05 04:48:15 +02:00
gdk.h
gdkapplaunchcontext.c docs: fix broken links 2021-05-27 00:18:23 +00:00
gdkapplaunchcontext.h gdk: Remove gdk.h include from gdk-private.h 2021-09-24 22:11:57 +02:00
gdkapplaunchcontextprivate.h
gdkarrayimpl.c gdkarray: Add a "stolen" boolean to splice() 2020-12-24 06:38:45 +01:00
gdkcairo.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkcairo.h gdk: Deprecate gdk_cairo_draw_from_gl() 2021-09-12 05:54:37 +02:00
gdkcairocontext.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkcairocontext.h
gdkcairocontextprivate.h
gdkcairoprivate.h gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkclipboard.c docs: Expand gdk_clipboard_set() docs 2021-08-22 18:49:12 +00:00
gdkclipboard.h
gdkclipboardprivate.h
gdkconfig.h.meson
gdkconfig.h.win32
gdkconfig.h.win32_vulkan
gdkconstructor.h
gdkcontentdeserializer.c contentdeserializer: Plug a small memleak 2021-10-03 14:52:09 -04:00
gdkcontentdeserializer.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkcontentformats.c contentformats: Add gdk_content_formats_parse() 2021-07-27 04:13:42 +02:00
gdkcontentformats.h contentformats: Add gdk_content_formats_parse() 2021-07-27 04:13:42 +02:00
gdkcontentformatsprivate.h
gdkcontentprovider.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkcontentprovider.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkcontentproviderimpl.c contentprovider: Switch wrong order in type check 2021-08-19 03:16:48 +02:00
gdkcontentproviderimpl.h
gdkcontentproviderprivate.h
gdkcontentserializer.c contentdeserializer: Use our on jpeg loader 2021-09-17 02:02:51 +02:00
gdkcontentserializer.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkcursor.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkcursor.h Cosmetics 2020-10-29 07:40:30 -04:00
gdkcursorprivate.h
gdkdebug.h gdk: Don't include gdkinternals.h in gdk-private.h 2021-09-24 22:11:57 +02:00
gdkdevice.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdevice.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdevicepad.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdevicepad.h
gdkdevicepadprivate.h
gdkdeviceprivate.h gdk: Add gdk_device_get_timestamp 2021-03-26 10:30:33 -04:00
gdkdevicetool.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdevicetool.h docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkdevicetoolprivate.h
gdkdisplay.c egl: Move extension checks to GdkDisplay 2021-10-06 03:44:36 +02:00
gdkdisplay.h gdk: Add GdkDisplay::init_gl vfunc 2021-07-22 16:23:56 +02:00
gdkdisplaymanager.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h egl: Move extension checks to GdkDisplay 2021-10-06 03:44:36 +02:00
gdkdrag.c docs: Reduce redundancy 2021-05-20 20:45:06 -04:00
gdkdrag.h Annotate gdk_drag_action_is_unique as const 2021-09-14 16:38:08 -04:00
gdkdragprivate.h
gdkdragsurface.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkdragsurface.h
gdkdragsurfaceprivate.h
gdkdrawcontext.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdrawcontext.h
gdkdrawcontextprivate.h
gdkdrop.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkdrop.h
gdkdropprivate.h
gdkenumtypes.c.template types: fix various use of volatile in type registration 2020-11-18 20:21:33 -08:00
gdkenumtypes.h.template
gdkevents.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkevents.h Documentation fixes 2021-05-20 19:17:49 -04:00
gdkeventsprivate.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkframeclock.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkframeclock.h docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkframeclockidle.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkframeclockidleprivate.h
gdkframeclockprivate.h gdk/frame-clock: Remove the newly added 'compute-size' phase 2020-12-07 09:46:39 +01:00
gdkframetimings.c docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkframetimings.h
gdkgl.c gdk: Remove unused gdk_gl_texture_quads() function 2021-10-06 03:44:36 +02:00
gdkglcontext.c egl: Unify contexts 2021-10-06 03:44:36 +02:00
gdkglcontext.h gl: Deprecate gdk_gl_context_get_shared_context() 2021-07-22 16:27:31 +02:00
gdkglcontextprivate.h egl: Unify contexts 2021-10-06 03:44:36 +02:00
gdkglobals.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkgltexture.c gltexture: Fallback in download_float() 2021-09-16 23:59:37 +02:00
gdkgltexture.h docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkgltextureprivate.h
gdkhsla.c gdk_rgba_parse: Support HSL colors 2021-09-10 16:56:42 -05:00
gdkhslaprivate.h gdk: Remove gdk.h include from header 2021-09-24 22:11:57 +02:00
gdkintl.h
gdkkeynames.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkkeys.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkkeys.h
gdkkeysprivate.h
gdkkeysyms-update.pl
gdkkeysyms.h
gdkkeyuni.c gdk: Some more tweaks of the docs 2021-03-11 16:37:31 +00:00
gdkmarshalers.list
gdkmemorytexture.c Fix memorytexture float conversion 2021-09-15 21:14:59 -04:00
gdkmemorytexture.h memorytexture: Add support for HDR formats 2021-09-12 05:54:37 +02:00
gdkmemorytextureprivate.h texture: Add gdk_texture_download_float() 2021-09-12 05:54:37 +02:00
gdkmonitor.c docs: Reduce redundancy 2021-05-20 20:45:06 -04:00
gdkmonitor.h
gdkmonitorprivate.h
gdkpaintable.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkpaintable.h docs: Fix vfunc references 2021-08-29 04:29:02 +02:00
gdkpango.c Documentation fixes 2021-05-20 19:17:49 -04:00
gdkpango.h
gdkpipeiostream.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkpipeiostreamprivate.h
gdkpixbuf-drawable.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkpixbuf.h
gdkpopup.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkpopup.h docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdkpopuplayout.c docs: More syntax fixes 2021-05-22 21:21:10 -04:00
gdkpopuplayout.h docs: Remove duplicate documentation stanzas 2021-03-11 16:37:31 +00:00
gdkpopupprivate.h
gdkprofiler.c Port tracing to the sysprof collector api 2020-08-21 10:55:01 -04:00
gdkprofilerprivate.h profiler: allow using gdk profiler functions without braces 2021-02-08 11:29:32 -08:00
gdkrectangle.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkrectangle.h
gdkrgba.c gdk_rgba_parse: Support HSL colors 2021-09-10 16:56:42 -05:00
gdkrgba.h Annotate gdk_rgba_to_string as malloc 2021-09-14 16:38:08 -04:00
gdkrgbaprivate.h
gdkseat.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkseat.h gdkseat: Make gdk_seat_get_tools() public 2020-10-08 16:22:05 +02:00
gdkseatdefault.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkseatdefaultprivate.h
gdkseatprivate.h seat: improve api to take into account the tool type 2021-01-07 12:50:48 +01:00
gdksnapshot.c docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdksnapshot.h docs: Rework the gdk docs 2021-03-11 16:37:31 +00:00
gdksnapshotprivate.h
gdksurface.c egl: Move EGLSurface handling to GdkSurface 2021-10-06 03:44:35 +02:00
gdksurface.h gdk: Always get shadow width via GdkToplevelSize 2020-12-07 09:46:39 +01:00
gdksurfaceprivate.h egl: Move EGLSurface handling to GdkSurface 2021-10-06 03:44:35 +02:00
gdktexture.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdktexture.h texture: Rework error enum 2021-09-17 03:25:35 +02:00
gdktextureprivate.h texture: Add private can_load() function 2021-09-17 00:25:22 +02:00
gdktoplevel.c gdk: Don't include gdkinternals.h in gdk-private.h 2021-09-24 22:11:57 +02:00
gdktoplevel.h gdk/toplevel: Add gdk_toplevel_titlebar_gesture() 2021-07-29 21:39:32 +02:00
gdktoplevellayout.c gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdktoplevellayout.h docs: Remove duplicate documentation stanzas 2021-03-11 16:37:31 +00:00
gdktoplevelprivate.h gdk/toplevel: Add gdk_toplevel_titlebar_gesture() 2021-07-29 21:39:32 +02:00
gdktoplevelsize.c gdktoplevelsize: Comment out some unused code 2021-05-03 07:44:38 -04:00
gdktoplevelsize.h docs: Remove duplicate documentation stanzas 2021-03-11 16:37:31 +00:00
gdktoplevelsizeprivate.h gdk/toplevelsize: Rename 'margin' to 'shadow' and 'shadow_width' 2020-12-07 20:37:29 +01:00
gdktypes.h gdk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gdkversionmacros.h.in Add 4.6 version macros 2021-08-23 07:54:27 +02:00
gdkvulkancontext.c gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gdkvulkancontext.h
gdkvulkancontextprivate.h gdk: Remove gdkinternals.h 2021-09-24 22:50:29 +02:00
gen-gdk-gresources-xml.py gdk: Remove unused gdk_gl_texture_quads() function 2021-10-06 03:44:36 +02:00
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
meson.build Add code to load jpegs 2021-09-17 00:25:22 +02:00