mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
5813228c6c
[FIX]RetroArch CRASH on Metal internal assert _validateGetBytes:39: failed assertion `texture must not be a framebufferOnly texture.' GPU Capture were done on a framebufferOnly texture. Fix it by setting framebufferOnly CAMetalLayer property to NO. Subsequent MTLTexture inherits from this property. [FIX]Capture black frames. Resulting PNG screenshots were black. Since GPU texture where not sync with CPU, getBytes:bytesPerRow:fromRegion:mipmapLevel: behavior is undefined Fix it by adding synchronizeResource command to blitCommandEncoder In order to keep performances, syncing is done ONLY when a GPU Capture is requested. [FIX]Corrupted image due to incorrect viewport copy Modify code in charge of copying MTLTexture bytes to 24bits PNG buffer. |
||
---|---|---|
.. | ||
Context.h | ||
Context.m | ||
Filter.h | ||
Filter.m | ||
menu_pipeline.metal | ||
MenuDisplay.h | ||
MenuDisplay.m | ||
metal_common.h | ||
RendererCommon.h | ||
RendererCommon.m | ||
Shaders.metal | ||
ShaderTypes.h | ||
TexturedView.h | ||
TexturedView.m | ||
View.h | ||
View.m |