Frame synchronization in Metal #2143
Labels
backend: Metal
client: request
feature request from a known client
difficulty: average
type: bug
value: high
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 aCADrawable
, and we don't get the associatedMTLTexture
... 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.
The text was updated successfully, but these errors were encountered: