Skip to content

Investigate more optimal way to implement CoreGraphics backend #83

Open
@ids1024

Description

@ids1024

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreGraphicsmacOS/iOS/tvOS/watchOS/visionOS backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions