libdragon icon indicating copy to clipboard operation
libdragon copied to clipboard

Add borders and aspect ratio support to resolution_t

Open SpookyIluha opened this issue 1 year ago • 1 comments

With this PR, there's now a way to tell libdragon to have no borders in the output (useful for emulators and modern TV's)

Also with this PR users can add hardware VI borders around the framebuffer to midigate overscan on most CRT TV's Borders scale the image down instead of cropping it, so that the framebuffer is fully visible.

There's also now an aspect ratio setting which can be used to achieve letterbox widescreen.

With this PR NTSC/PAL/M-PAL systems and monitors should output identical pictures.

SpookyIluha avatar Sep 17 '23 11:09 SpookyIluha

I'm working on this with @SpookyIluha, we are testing many edge cases. Putting back to draft status for now

rasky avatar Sep 28 '23 20:09 rasky