Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Defer resetting MTLTexture in MVKSwapchainImage until request to acqu…
…ire. Move call to MVKSwapchainImage::resetMetalDrawable() from immediately after presentation until request to acquire, to preserve image content for copying after presentation in cases such as an app screen capture operation. Testing indicates this deferral has little or no adverse effect on the performance of retrieving the drawable when next needed.
- Loading branch information