Commit Graph
137148 Commits
Author SHA1 Message Date
Eric Culp 3baf738de8 SDL: change gfx_mode legacy names in game domains 2021-03-15 16:48:40 +02:00
Eric Culp 8b00ee4873 GRAPHICS: added 4x scaling to normal scaler plugin 2021-03-15 16:48:40 +02:00
Eric Culp 2809ada459 SDL: legacy names for scalers corrected
Old names are recognized and they will be replaced in the new config
2021-03-15 16:48:40 +02:00
Eric Culp 4bdd8860be SDL: remove statically initialized object 2021-03-15 16:48:40 +02:00
Eric Culp fa3f6321a2 SDL: remove unused variable 2021-03-15 16:48:40 +02:00
Eric Culp 277c9a3a6b SDL: add const to legacy names table 2021-03-15 16:48:40 +02:00
Eric Culp 9091be08ea SDL: fix formatting 2021-03-15 16:48:40 +02:00
Eric Culp bc03b567bb GRAPHICS: fix formatting 2021-03-15 16:48:40 +02:00
Eric Culp a55f51d01a SDL: add table for old gfxmode strings 2021-03-15 16:48:40 +02:00
Eric Culp c65e0146dd SDL: remove unused table for cursor scaling 2021-03-15 16:48:40 +02:00
Eric Culp e6fac85afe SDL: scaler plugins use graphics modes 2021-03-15 16:48:40 +02:00
Eric Culp a434253f7f SDL: Generate graphics modes from plugins
This currently does not work since the modes are queried before
plugins are loaded.
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 64f3e5191a SDL: add convertSDLPixelFormat 2021-03-15 16:48:40 +02:00
Eric Culp 0fe3419349 SDL: cache value of extraPixels() from scaler 2021-03-15 16:48:40 +02:00
Eric Culp aff49f3e2e SDL: mouse uses scaler plugins 2021-03-15 16:48:40 +02:00
Eric Culp c802ab3b60 GRAPHICS: add setFactor to scalerplugins 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 d350e2c7a8 SDL: use maxExtraPixels from ScalerMan 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 f015c0f835 SDL: use correct x and y for scale function 2021-03-15 16:48:40 +02:00
Eric Culp 76d4a5425c SDL: pass correct PixelFormat to scaler initialize 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
Eric Culp 6320ea772e GRAPHICS: small formatting change in HQPlugin 2021-03-15 16:48:40 +02:00
Eric Culp 8c9cb22734 GRAPHICS/SDL/BASE: fix scaler declarations
mainly adding const and using uint instead of int
2021-03-15 16:48:40 +02:00
Eric Culp 9402e2b43f SDL: clarifies code 2021-03-15 16:48:40 +02:00
Eric Culp ca1754c047 GRAPHICS/BASE: add maxExtraPixels() to ScalerMan 2021-03-15 16:48:40 +02:00
Eric Culp 489d361d18 GRAPHICS: fix formatting to conform to guidelines 2021-03-15 16:48:40 +02:00
Eric Culp a0299cf5d2 GRAPHICS: fixes the value of extraPixels for 2xsai 2021-03-15 16:48:40 +02:00
Eric Culp e69ec141aa BACKEND: fixes a bug related to AR correction 2021-03-15 16:48:40 +02:00
Eric Culp ef2b057eef GRAPHICS: adds 2xsai as scaler plugin 2021-03-15 16:48:40 +02:00
Eric Culp 83a8abda70 GRAPHICS: add support for hq scaler plugin 2021-03-15 16:48:40 +02:00
Eric Culp bdb12c8733 SDL: add support for additional scaler plugins
This enables scalers to be switched and uses api calls in a way
compatible with more scalers.
2021-03-15 16:48:40 +02:00
Eric Culp 0d103d01c4 GRAPHICS: adds comments for scalers and clean up 2021-03-15 16:48:40 +02:00
Eric Culp 739c75c869 BACKEND: fixes some errors from changing modes 2021-03-15 16:48:40 +02:00
Eric Culp 60c430d6e5 GRAPHICS: adds additinoal methods to scaler api 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
Eric Culp 202f4efdee GRAPHICS: Changes name of normal plugin to be consistant 2021-03-15 16:48:40 +02:00
Eric Culp 29466870e8 BACKENDS: Changes scaler code to use plugin.
Much of the existing scaler code still exists and interferes.
This will have bugs
2021-03-15 16:48:40 +02:00
Eric Culp 7bcc1f0b13 GRAPHICS: Adds a nearest neighbor plugin
It's not used yet, but it compiles and is managed by the plugin manager.
2021-03-15 16:48:40 +02:00
Eric Culp a3af191753 GRAPHICS/BASE: Adds definitions for scaler plugins
This includes a class for plugin implementations to inherit from and
code necessary for plugin managers to use scalers
2021-03-15 16:48:40 +02:00
Cameron Cawley 26e2a9711f GPH/DINGUX: Remove downscaling support 2021-03-15 16:48:40 +02:00
Cameron Cawley c8dcb9105f SDL: Temporarily remove code for handling scaler hotkeys 2021-03-15 16:48:40 +02:00
Cameron Cawley a38103fb23 IOS7: Remove scaler code 2021-03-15 16:48:40 +02:00
Le Philousophe 75833aba29 COMMON: Don't use unavailable macros in unicode-bidi.h
Use Fribidi ones directly in implementation and tag the constructor as
"private"
Fix a warning on Common::CodePage
2021-03-15 16:29:28 +02:00
Orgad Shaneh 9585cc8fcf GLK: Fix compilation
This amends commit bedba56f24.
2021-03-15 14:14:47 +00:00
Orgad Shaneh 51bcbd2fa4 MOHAWK: Fix Clang warning
warning: definition of implicit copy assignment operator for 'LBValue' is deprecated because it has a user-declared copy constructor
2021-03-15 13:25:40 +00:00
Orgad Shaneh ce5b27f82f TINYGL: Implement a real operator=
With logic similar to the copy ctor.
2021-03-15 13:25:01 +00:00
Orgad Shaneh 2aba99819a COMMON: Remove explicit ctors and copy assignment operator
They're equivalent to the implicit ones anyway.
2021-03-15 13:24:33 +00:00