I am developing my first core: to expose AppleWin in RetroArch.
One thing which I have not been able to solve is correct video rendering. In the SDL version, I combine these 3 calls and I get a pretty good performance (including a Pi3):
SDL_UpdateTexture
SDL_RenderCopyEx
SDL_RenderPresent
The emulator draws to a video buffer and the 3 calls above do the job.
In libretro I have replaced with a single call to video_cb()
.
The most important question is: how do I tell libretro to flip my image vertically? In the same way I do it in SDL_RenderCopyEx
?
I know I could rework the emulator to draw in the correct way, but at this moment is not possible (I am trying to reuse the original AppleWin code without modifications to ease periodic merge).