Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Cameron Cawley
a21961516a
GRAPHICS: Split ScalerPluginObject into two classes
2021-11-23 23:32:58 +01: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
d91e970f4e
GRAPHICS: Fix error in dotmatrix scaler initialization
2021-03-15 16:48:40 +02:00
Eric Culp
c7e874e2cd
GRAPHICS: Add 32bpp support to dotmatrix scaler
2021-03-15 16:48:40 +02:00
Eric Culp
c8bcb3912f
SDL/GRAPHICS: remove disableScaling() hack from scaler plugins
2021-03-15 16:48:40 +02:00
Eric Culp
9d2eca9383
GRAPHICS: remove 1x scaling for non-normal scalers
...
Scalers that fell back on the Normal1x scaler no longer support 1x
scaling
2021-03-15 16:48:40 +02:00
Eric Culp
45ad2a4882
GRAPHICS: add PrettyName to scaler api for gui
2021-03-15 16:48:40 +02:00
Eric Culp
70426d5e74
GRAPHICS: add getFactors() for scaler plugins
2021-03-15 16:48:40 +02:00
Eric Culp
d56a7d610c
GRAPHICS: add static methods for 1x and 1.5x scale
2021-03-15 16:48:40 +02:00
Eric Culp
a54ea85641
GRAPHICS: fix dotmatrix inconsistencies
...
Now it uses the x and y coordinates to produce
the same pixels in the destination surface.
2021-03-15 16:48:40 +02:00
Eric Culp
b70a04214b
GRAPHICS/BASE: adds Dotmatrix scaler plugin
2021-03-15 16:48:40 +02:00