RetroArch/gfx/common/metal
Olivier PARRA 5813228c6c [FIXES]GPU capture on Metal/OSX/NVidia
[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.
2020-04-02 23:01:48 +02:00
..
Context.h metal: Set up correct viewport before rendering overlay 2019-09-02 18:02:30 +02:00
Context.m [FIXES]GPU capture on Metal/OSX/NVidia 2020-04-02 23:01:48 +02:00
Filter.h formatting 2018-07-03 22:32:12 -07:00
Filter.m metal: Add some missing debug labels and groups 2019-09-25 22:36:40 +02:00
menu_pipeline.metal Clean up white space. 2019-02-03 16:00:50 -08:00
MenuDisplay.h (gfx drivers display) No more video_frame_info dependency 2020-03-08 22:06:08 +01:00
MenuDisplay.m (gfx drivers display) No more video_frame_info dependency 2020-03-08 22:06:08 +01:00
metal_common.h feat(Metal): initial xmb and glui menu support 2018-07-03 22:32:12 -07:00
RendererCommon.h Clean up white space. 2019-02-03 16:00:50 -08:00
RendererCommon.m Clean up white space. 2019-02-03 16:00:50 -08:00
Shaders.metal Clean up white space. 2019-02-03 16:00:50 -08:00
ShaderTypes.h Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
TexturedView.h feat(Metal): full xmb pipeline support 2018-07-03 22:32:12 -07:00
TexturedView.m Clean up white space. 2019-02-03 16:00:50 -08:00
View.h Clean up white space. 2019-02-03 16:00:50 -08:00
View.m formatting 2018-07-03 22:32:12 -07:00