Join GitHub today
RetroPlayer: Zero-copy support #14149
Zero-copy allows the core to render directly into video memory, avoiding the extra bandwidth cost incurred by an additional memory copy on the CPU.
Zero-copy support is opt-in for the core by calling the
Motivation and Context
Needed to fully enable zero-copy after GBM rendering was added in #14079.
How Has This Been Tested?
Tested with https://github.com/kodi-game/game.libretro.vram-test, a sample add-on that renders a checkerboard pattern to a zero-copy buffer.
Screenshots (if appropriate):
VRAM Test add-on:
Types of change