Open
Description
Apparently macOS (and iOS, #43) has a framework called IOSurface
for exchanging framebuffers and textures between processes, which sounds similar to the idea behind dmabufs on Linux. I think we should be use IOSurfaces
for a front and back buffer, and use IOSurfaceGetBaseAddress
to get a pointer to write into for no-copy presentation (#65)? Assuming it can work with the right pixel format.
Or are there issues with this, or a better way?