macos: double buffer IOSurface
authorChristian Hergert <christian@hergert.me>
Tue, 22 Feb 2022 07:53:55 +0000 (23:53 -0800)
committerChristian Hergert <christian@hergert.me>
Tue, 22 Feb 2022 20:01:29 +0000 (12:01 -0800)
commit6016e17a38230165dfb44fcc954f7ded03ea1867
treed8f29f182c0fa666cd760b95f8106c098de89937
parentb2de83efcbf2bf1b97f5c9804ed260199892b7f1
macos: double buffer IOSurface

It looks like, particularly on the M1, we might need to double buffer the
contents of the IOSurface<->OpenGL texture bindings. This doesn't appear
to show up on the Intel macbooks I've tried, but I've seen it in the wild
on an M1.
gdk/macos/gdkmacossurface-private.h
gdk/macos/gdkmacossurface.c