gtk2/gdk/macos
Christian Hergert de9c9efa6f macos: implement GL context
This implements the basics for a GdkGLContext on macOS. Currently, rendering
only is fully working for the GskCairoRenderer case where we read back pixels
into a cairo surface for rendering. More work on synchronization is required for
the GL on GskGLRenderer case.

When we attempt to render a surface itself with GL, the context will ensure that
the new GdkMacosGLView is placed within the NSWindow. In other cases, we
use a dummy NSView and NSWindow for backing the NSOpenGLContext to
ensure that we can get accelerated drawing.

This gets GtkGLArea working when running with GSK_RENDERER=cairo.
2020-10-29 10:57:02 -07:00
..
edgesnapping.c
edgesnapping.h
gdkdisplaylinksource.c macos: support ARM/PowerPC time conversion for DisplayLink times 2020-07-27 12:49:57 -07:00
gdkdisplaylinksource.h
gdkmacos.h
GdkMacosBaseView.c macos: move setNeedsDisplay helper to GdkMacosCairoView 2020-10-29 10:57:02 -07:00
GdkMacosBaseView.h
gdkmacoscairocontext-private.h
gdkmacoscairocontext.c
GdkMacosCairoSubview.c
GdkMacosCairoSubview.h
GdkMacosCairoView.c macos: move setNeedsDisplay helper to GdkMacosCairoView 2020-10-29 10:57:02 -07:00
GdkMacosCairoView.h
gdkmacosclipboard-private.h
gdkmacosclipboard.c
gdkmacoscursor-private.h
gdkmacoscursor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdevice-private.h macos: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkmacosdevice.c macos: track various changes in GDK 2020-10-09 20:02:18 -07:00
gdkmacosdevice.h
gdkmacosdisplay-private.h macos: lookup NSEvent by translated GdkEvent 2020-10-09 19:59:21 -07:00
gdkmacosdisplay-settings.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacosdisplay-translate.c macos: fix discovery of surface under pointer 2020-10-19 12:35:41 -07:00
gdkmacosdisplay.c macos: be tolerant of NULL GL context 2020-10-29 10:57:02 -07:00
gdkmacosdisplay.h
gdkmacosdrag-private.h
gdkmacosdrag.c macos: Stop using _gdk_device_query_state 2020-08-26 17:56:41 -04:00
gdkmacosdragsurface-private.h
gdkmacosdragsurface.c
gdkmacoseventsource-private.h
gdkmacoseventsource.c *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
gdkmacosglcontext-private.h macos: implement GL context 2020-10-29 10:57:02 -07:00
gdkmacosglcontext.c macos: implement GL context 2020-10-29 10:57:02 -07:00
gdkmacosglcontext.h
GdkMacosGLView.c macos: implement GL context 2020-10-29 10:57:02 -07:00
GdkMacosGLView.h macos: implement GL context 2020-10-29 10:57:02 -07:00
gdkmacoskeymap-private.h macos: add key equivalent helper 2020-10-09 20:03:52 -07:00
gdkmacoskeymap.c macos: add key equivalent helper 2020-10-09 20:03:52 -07:00
gdkmacoskeymap.h
gdkmacosmonitor-private.h
gdkmacosmonitor.c gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkmacosmonitor.h macos: track various changes in GDK 2020-10-09 20:02:18 -07:00
gdkmacospopupsurface-private.h
gdkmacospopupsurface.c macos: only emit popup-layout-changed after initial present 2020-10-14 16:28:44 -07:00
gdkmacosseat-private.h
gdkmacosseat.c gdk: Drop gdk_device_get_device_type() 2020-07-30 18:44:40 +02:00
gdkmacossurface-private.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkmacossurface.c macos: fix fps calculation for frame timings 2020-10-15 21:04:51 -07:00
gdkmacossurface.h
gdkmacostoplevelsurface-private.h
gdkmacostoplevelsurface.c macos: track various changes in GDK 2020-10-09 20:02:18 -07:00
gdkmacosutils-private.h
GdkMacosWindow.c macos: tweak gravity while resizing 2020-10-29 10:57:02 -07:00
GdkMacosWindow.h
meson.build macos: implement GL context 2020-10-29 10:57:02 -07:00