forked from AuroraMiddleware/gtk
de9c9efa6f
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. |
||
---|---|---|
.. | ||
edgesnapping.c | ||
edgesnapping.h | ||
gdkdisplaylinksource.c | ||
gdkdisplaylinksource.h | ||
gdkmacos.h | ||
GdkMacosBaseView.c | ||
GdkMacosBaseView.h | ||
gdkmacoscairocontext-private.h | ||
gdkmacoscairocontext.c | ||
GdkMacosCairoSubview.c | ||
GdkMacosCairoSubview.h | ||
GdkMacosCairoView.c | ||
GdkMacosCairoView.h | ||
gdkmacosclipboard-private.h | ||
gdkmacosclipboard.c | ||
gdkmacoscursor-private.h | ||
gdkmacoscursor.c | ||
gdkmacosdevice-private.h | ||
gdkmacosdevice.c | ||
gdkmacosdevice.h | ||
gdkmacosdisplay-private.h | ||
gdkmacosdisplay-settings.c | ||
gdkmacosdisplay-translate.c | ||
gdkmacosdisplay.c | ||
gdkmacosdisplay.h | ||
gdkmacosdrag-private.h | ||
gdkmacosdrag.c | ||
gdkmacosdragsurface-private.h | ||
gdkmacosdragsurface.c | ||
gdkmacoseventsource-private.h | ||
gdkmacoseventsource.c | ||
gdkmacosglcontext-private.h | ||
gdkmacosglcontext.c | ||
gdkmacosglcontext.h | ||
GdkMacosGLView.c | ||
GdkMacosGLView.h | ||
gdkmacoskeymap-private.h | ||
gdkmacoskeymap.c | ||
gdkmacoskeymap.h | ||
gdkmacosmonitor-private.h | ||
gdkmacosmonitor.c | ||
gdkmacosmonitor.h | ||
gdkmacospopupsurface-private.h | ||
gdkmacospopupsurface.c | ||
gdkmacosseat-private.h | ||
gdkmacosseat.c | ||
gdkmacossurface-private.h | ||
gdkmacossurface.c | ||
gdkmacossurface.h | ||
gdkmacostoplevelsurface-private.h | ||
gdkmacostoplevelsurface.c | ||
gdkmacosutils-private.h | ||
GdkMacosWindow.c | ||
GdkMacosWindow.h | ||
meson.build |