- Start partial refactor of sdlmain.cpp output code
- Move general definitions into sdlmain.h (incomplete)
- Move little part of OpenGL output related code out
- Move almost all of surface output related code out
- Generalize xBRZ postscaling operations into their own respective function to reuse
- Bugfix: commits 3a8d77f and ebdfc33 break intentional output window fill-in for xBRZ
- Minor: non-ppl runs can be done without granularity based loop, adjusted
- TODO: continue factoring out output code
- TODO: SDL2 build is probably not xBRZ-capable now
- TODO: see what can be used instead of ppl taskgroups for other platforms, xBRZ is too slow without parallel processing
- TODO: adjust other build configurations to include new source files / headers
- Create early initialization function for xBRZ because sdlmain needs xBRZ parameters rather early, on GUI_Startup
- Make separate condition for disabling internal render scaling with xBRZ to facilitate easier reconfiguration
- Implement online xBRZ parameters reconfiguration along with other scaler parameters, reset GFX on scaler change from xBRZ and back
- When reconfiguring output online, don't forget about aspect correction offload flag
- OUTPUT: Offload aspect ratio correction for Direct3D and OpenGL output modes from render code (these modes do it themselves)
- xBRZ: Also offload it when xBRZ scaler is enabled (xBRZ does not like line duplication and can do correction itself)
- OUTPUT: Store source aspect ratio translation parameters under 'sdl' structure, this may be used eventually for non-square pixel monitors aspect ratio correction
- xBRZ: Make sure xBRZ scaler honors aspect ratio correction flag in 'surface' mode of operation and controls aspect ratio correction offload when enabling/disabling itself
- xBRZ: Factor out scaling factor setup into its own function
- xBRZ: Fix up duplicated code path breaking 'surface' output
- MAIN: Split 'overlay' mode defaulting from primary 'if' set, making it simply choosing D3D/OGL/surface before primary 'if' goes
- DOC: README.xbrz
- DOC: clarify that SDL structure is initialized to zero in code comment, initialize defaults after memset()