Emulator Issues #9434
Headless framedumping doesn't work
Framedumping works by reading back from the final framebuffer with glReadPixels.
With headless, we don't have a final framebuffer.
Set up the framebuffer manager to setup an additional framebuffer at the size of the rendering resolution, and if we are framedumping, blit in to that framebuffer first, then to the "final" framebuffer so non-headless still works fine.
This will also give the advantage of framedumping at full rendering resolution instead of window resolution.
Of course this will be required if we want to properly have fifoci running on Android targets with a headless executable instead of APK.