Project

General

Profile

Actions

Emulator Issues #9434

open

Headless framedumping doesn't work

Added by Sonicadvance1 almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

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.

No data to display

Actions

Also available in: Atom PDF