gtk2/gsk
Christian Hergert 9dbf99d91a macos: prototype new GDK backend for macOS
This is fairly substantial rewrite of the GDK backend for quartz and
renamed to macOS to allow for a greenfield implementation.

Many things have come across from the quartz implementation fairly
intact such as the eventloop integration design and discovery of
event windows from the NSEvent.

However much has been changed to fit in with the new GDK design and
how removal of child GdkWindow have been completely eliminated.
Furthermore, the new GdkPopup allows for regular NSWindow to be used
to provide popovers unlike the previous implementation.

The object design more closely follows the ideal for a GDK backend.

Views have been broken out into subclasses so that we can support
multiple GSK renderer paths such as GL and Cairo (and Metal in the
future). However mixed mode GL and Cairo will not be supported. Currently
only the Cairo renderer has been implemented.

A new frame clock implementation using CVDisplayLink provides more
accurate information about when to draw drawing the next frame. Some
testing will need to be done here to understand the power implications
of this.

This implementation has also gained edge snapping for CSD windows. Some
work was also done to ensure that CSD windows have opaque regions
registered with the display server.

     ** This is still very much a work-in-progress **

Some outstanding work that needs to be done:

 - Finish a GL context for macOS and alternate NSView for GL rendering
   (possibly using speciailized CALayer for OpenGL).
 - Input rework to ensure that we don't loose remapping of keys that was
   dropped from GDK during GTK 4 development.
 - Make sure input methods continue to work.
 - Drag-n-Drop is still very much a work in progress
 - High resolution input scrolling needs various work in GDK to land
   first before we can plumb that to NSEvent.
 - gtk/ has a number of things based on GDK_WINDOWING_QUARTZ that need
   to be updated to use the macOS backend.

But this is good enough to start playing with and breaking things which
is what I'd like to see.
2020-07-21 14:45:12 -07:00
..
broadway broadway: Don't create overlarge images 2020-05-16 11:27:21 -04:00
gl gl renderer: Avoid 9-slicing things that can't be 2020-07-17 05:49:11 +02:00
resources gl shaders: unify frag coord handling 2020-05-10 09:30:15 +02:00
vulkan Turn GskRenderNode into a derivable type 2020-04-08 15:40:15 +01:00
gen-gsk-gresources-xml.py meson: Reduce useless relinking on reconfigure 2020-04-03 18:41:55 +05:30
gsk-autocleanup.h gsk: Add GskTransform autocleanup definition 2020-05-08 09:14:55 +02:00
gsk.h gsk: Don't autoinclude backend-specific headers 2020-04-24 21:40:30 -04:00
gskcairoblur.c cairoblur: Get rid of gdk_cairo_get_clip_rectangle() call 2020-02-13 07:36:38 +01:00
gskcairoblurprivate.h gsk: Add GskShadowNode 2016-12-20 18:01:12 +01:00
gskcairorenderer.c gsk: Export Cairo renderer 2019-05-05 07:18:39 +02:00
gskcairorenderer.h gsk: Export Cairo renderer 2019-05-05 07:18:39 +02:00
gskdebug.c gsk: Remove an unused debug flag 2020-07-20 07:03:08 -04:00
gskdebugprivate.h gsk: Remove an unused debug flag 2020-07-20 07:03:08 -04:00
gskdiff.c diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskdiffprivate.h diff: Allow aborting a diff 2018-04-05 14:56:38 +02:00
gskenums.h gsk: Document blend modes 2020-05-18 18:21:39 -04:00
gskenumtypes.c.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskenumtypes.h.template Use @basename@ in enumeration type templates 2019-02-04 14:02:45 +01:00
gskprivate.c More work on text nodes 2017-09-10 14:36:26 -04:00
gskprivate.h Add an api to get the vertex data for a render pass 2017-09-28 08:39:22 -04:00
gskprofiler.c Convert all profiler times from nsec to usec 2020-02-12 10:44:17 +01:00
gskprofilerprivate.h gsk: Add some more profiler apis 2019-05-07 09:37:59 -07:00
gskrenderer.c macos: prototype new GDK backend for macOS 2020-07-21 14:45:12 -07:00
gskrenderer.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gskrendererprivate.h renderer: Make gsk_renderer_is_realized() public 2019-03-19 08:47:54 +01:00
gskrendernode.c Turn GskRenderNode into a derivable type 2020-04-08 15:40:15 +01:00
gskrendernode.h Add get_type() functions for GskRenderNode subclasses 2020-04-08 16:07:04 +01:00
gskrendernodeimpl.c rendernode: Trivial whitespace change 2020-06-27 11:22:54 +02:00
gskrendernodeparser.c gsk: Fix a typo 2020-05-09 19:40:06 -04:00
gskrendernodeparserprivate.h rendernodeparser: Skip root node when it's a container 2019-05-21 06:43:59 +02:00
gskrendernodeprivate.h Add get_type() functions for GskRenderNode subclasses 2020-04-08 16:07:04 +01:00
gskroundedrect.c Fix minor typos 2020-06-18 10:47:16 +03:00
gskroundedrect.h Fix minor typos 2020-06-18 10:47:16 +03:00
gskroundedrectprivate.h Add pure and const annotations to various functions 2020-01-26 18:21:07 +01:00
gsktransform.c gsk: Fix a transform leak 2020-07-08 17:44:08 -04:00
gsktransform.h GskTransform: Add gsk_transform_transform_point() 2020-01-24 06:19:12 +01:00
gsktransformprivate.h transform: Add gsk_transform_parse() 2019-04-12 19:34:29 +02:00
gsktypes.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
meson.build gsk: Don't autoinclude backend-specific headers 2020-04-24 21:40:30 -04:00