@ironic all of your posts give such a headache lol But at least we move forward
But if i want to sum up what you wrote :
- we need to keep the 4:3 ratio for consoles
- it's only worth with integer scale
- The integer scale resolution is the same for any console, but must be calculated according to the screen resolution :
- 1080p : 1280x960
- 5:4 (DMT 35 1280x1024) : 1280x960 too
- 720p : 960x720
I guess that sets it for consoles ?
If so, here are the margins left for each mode :
- 1080p : top/bottom : 60px, left/right : 320px
- 1280x1024 : top/bottom : 32px, left/right : 0px
- 720p: top/bottom : 0px, left/right : 160px
1080p has space left everywhere
720p just has 160px left on left as well as on right => we can't let retroarch shrink a 1080p overlay
1280x1024 as 32px left on top as well as on bottom => worthless
What about arcade (forget NeoGeo) ? Looks like those rules fail as we can't set a generic viewport : Mame handles the real resolution of games, and nothing is stretched to 4:3 unless forced or native ? That would mean a per game viewport
One more thing : i thought PP and IntegerScale are the same ... but no ? PP is when we strictly respect the original resolution without stretching it to fit 4:3 ?