Commit graph

7 commits

Author SHA1 Message Date
Eric Culp
cb5c323b54 GRAPHICS: Constify the src in setSource 2021-03-15 16:48:40 +02:00
Eric Culp
c5c5662330 GRAPHICS,SDL: Change oldSrcScale api
More bookkeeping is kept in common scaler code instead of the backend.
Plugins inheriting SourceScaler will have this functionality.

TODO: Some new functions may still be able to be combined to simplify
the API.
2021-03-15 16:48:40 +02:00
Eric Culp
3a42496719 GRAPHICS: Remove 1.5x scaler 2021-03-15 16:48:40 +02:00
Eric Culp
8030b7879c GRAPHICS/SDL: add ifdefs for disabling scalers 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
d56a7d610c GRAPHICS: add static methods for 1x and 1.5x scale 2021-03-15 16:48:40 +02:00
Eric Culp
318130a905 BACKENDS/GRAPHICS: Stops overlay from being scaled 2021-03-15 16:48:40 +02:00