Commit graph

7 commits

Author SHA1 Message Date
Johannes Schickel
5df18f7d86 GRAPHICS: Take advantage of ColorMasks::PixelType in scaler code. 2021-03-15 16:48:40 +02:00
Johannes Schickel
6942dba3da GRAPHICS: Let each scaler handle 1x scaling. 2021-03-15 16:48:40 +02:00
Eric Culp
4c967c5fbc GRAPHICS,SDL: Revision to scaler API
oldSrcScale() is now unified with scale(). Use enableSource(bool enable)
to switch functionality. Partial screen updates are also posible because
of this.

initialize() had its prototype changes although it is functionally the
same.

setSource() no longer has a type parameter, removing support for
multiple source surfaces. They weren't useful anyway.

useOldSrc() was renamed to useOldSource() to conform to the names of
other functions.
2021-03-15 16:48:40 +02:00
Eric Culp
9ed7fde732 GRAPHICS: Capitalized pixel in template parameters 2021-03-15 16:48:40 +02:00
Eric Culp
4a69e136d2 GRAPHICS: Add 32bpp support for TV scaler 2021-03-15 16:48:40 +02:00
Eric Culp
c2639a9ff6 GRAPHICS: Fix formatting in template 2021-03-15 16:48:40 +02:00
Eric Culp
a3a9736754 GRAPHICS: Add TV scaler plugin 2021-03-15 16:48:40 +02:00