Add output type texturepp for pixel-perfect scaling
The new output type `texturepp' was added, which implements pixel-perfect scaling using SDL's hardware-accelerated texture output. In pixel-pefect mode, each original pixel is displayed as a rectangle m by n pixels, so that m:n yields a reasonably good approximation of the pixel aspect ratio (PAR) of the emulated graphical mode while using as much screen space as possible. The balance between the precision of aspect ratio and the utilisation of screen space is specified as the `parweight' parameter to pp_getscale() and is currently hard-coded in sdlmain.cpp. This implementation emulatates pixel-perfect mode as a special case of nearest-neighbor interpolation when the horisontal and vertical scaling factors are integers.
This commit is contained in:
parent
83f625178a
commit
d1be65b105
10 changed files with 398 additions and 39 deletions
|
@ -641,6 +641,7 @@ src/libs/zmbv/Makefile
|
|||
src/libs/gui_tk/Makefile
|
||||
src/libs/decoders/Makefile
|
||||
src/libs/nuked/Makefile
|
||||
src/libs/ppscale/Makefile
|
||||
src/misc/Makefile
|
||||
src/shell/Makefile
|
||||
src/platform/Makefile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue