Skip to content

Frame synchronization in Metal #2143

Closed
Closed
@kvark

Description

@kvark

After #2138 got in, we got a problem with exclusive full-screen mode of Dota, where a semaphore is provided for the frame, and there is nothing instantly available. So nextDrawable == nil, and we don't get a CADrawable, and we don't get the associated MTLTexture... which is needed for immediate command buffer recording.

One possible solution would be to switch to deferred recording once we encounter a texture that will be available later (from an acquired frame). We'd only be able to record the rest when we get that texture.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions