Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Le Philousophe
bdf012d016
GPH: Don't call DownscaleSdlGraphicsManager anymore
...
They are gone.
2021-03-16 16:01:38 +02:00
Cameron Cawley
26e2a9711f
GPH/DINGUX: Remove downscaling support
2021-03-15 16:48:40 +02:00
Cameron Cawley
d6a02740a8
GPH/DINGUX: Unify the downscaling code
2020-03-27 22:50:41 +01:00
Cameron Cawley
153576f0b5
BACKENDS: Move implementations of hasFeature into the relevant OSystem subclasses
2020-03-27 22:50:41 +01:00
Cameron Cawley
a5b6a577de
SDL: Remove unnecessary overrides of setFeatureState() and getFeatureState()
2020-03-27 22:50:41 +01:00
Cameron Cawley
205175c4e5
SDL: Don't allow switching to and from fullscreen if it isn't supported
2020-03-27 22:50:41 +01:00
Cameron Cawley
d205578d4d
SDL: Add a separate function for setting the hardware size
2020-03-16 01:30:05 +02:00
Cameron Cawley
76d73419c0
GPH/LINUXMOTO: Fix drawing the mouse cursor
2020-03-09 13:47:34 +01:00
Cameron Cawley
8ae0be4ae3
GPH: Remove unused variable
2019-11-23 18:42:04 +00:00
Cameron Cawley
a2110d36f9
BACKENDS: Unify formatting between the GPH, Dingux and LinuxMoto backends
2019-11-23 18:40:43 +00:00
sluicebox
be0304d9d6
GPH: Implement horizontal shake
2019-11-20 11:13:03 -08:00
D G Turner
cac14ad699
GPH: Fix Compilation Breakage from Screen Shake API Changes
...
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 12:21:32 +00:00
Cameron Cawley
1feb86ee97
BACKENDS: Handle screen shaking in WindowedGraphicsManager
2019-08-15 02:01:21 +03:00
Cameron Cawley
9b6461122e
SDL: Move selecting the required ScalerProc into a separate function
2019-08-11 14:27:52 +03:00
Cameron Cawley
c21090ea03
BACKENDS: Simplify setGraphicsMode on GPH, Dingux and LinuxMoto
2019-04-07 20:52:39 +03:00
Thierry Crozat
3b542cea53
SURFACESDL: Respect filtering setting when performing aspect ratio correction
2018-10-24 23:34:41 +02:00
Colin Snover
a5bc89102e
ALL: Remove obsolete register keyword
...
The register keyword was deprecated from the C++11 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809 >,
and removed from the C++17 standard,
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340 >, so
cannot exist in a well-formed C++17 program.
It has never done anything in GCC
<https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html >
and because of the way it is specified in the standard, it is “as
meaningful as whitespace”
<http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859 >.
The one remaining use of the register keyword is in the DS backend,
where it is used to create a local register variable using the
non-standard GCC Extended Asm feature.
Closes gh-1079.
2017-12-03 20:27:42 -06:00
Colin Snover
4263a78aa0
GPH: Replace usage of old SurfaceSdlGraphicsManager APIs
2017-10-15 16:18:10 -05:00
Colin Snover
4757c24c68
BACKENDS: Fix up graphics manager ports with const & override where appropriate
2017-10-15 13:24:21 -05:00
Colin Snover
20bd289ebe
BACKENDS: Remove references to old normal1xScaler transaction property from ports
2017-10-07 15:25:47 -05:00
Bastien Bouclet
05bc82b622
SDL: Switch the surface renderer to use small surfaces for OSD drawing
2016-09-13 20:33:42 +02:00
Eugene Sandulenko
57ae1cb89d
GPH: Fix OSD performance when OSD is not drawn
2016-09-03 21:30:40 +02:00
Eugene Sandulenko
58096d909f
GPH: Fix formatting
2016-09-03 10:18:47 +02:00
Eugene Sandulenko
2d39f75b7d
GPH: Attempt to fix OSD
2016-09-02 23:57:13 +02:00
Johannes Schickel
627d766325
SDL: Add basic abstraction class for the SDL window.
2015-02-16 01:03:29 +01:00
Johannes Schickel
96564e95b4
GPH: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
David-John Willis
4b4ce9dc6b
GPH: Add extra call to SDL_ShowCursor(SDL_DISABLE).
...
* This is needed on the hacked SDL on the GP2X after any
call to SDL_SetVideoMode. It does not impact other GPH devices.
2012-07-31 18:59:36 +01:00
David-John Willis
d83764f055
GPH: Fix accidental commit.
...
* I did not mean to commit any of the GPH backend with the OP stuff. Cleanup of this backend will follow later.
2012-07-24 10:12:54 +01:00
David-John Willis
45354676eb
OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode.
...
* Fixes a bug that can occur on load.
2012-07-24 10:08:58 +01:00
Johannes Schickel
223794fb38
ALL: Make use of defined() for the preprocessor consistent.
...
This does not change the use of defined for some NDS source files, since they
seem to be (based on?) third party code.
2012-03-17 22:02:44 +01:00
David-John Willis
6269dcdd3c
GPH: Cleanup the format of code to match our Code Formatting Conventions.
...
* No functional changes.
2011-10-03 13:43:42 +01:00
David-John Willis
fc551cf1ad
GPH: Cleanup loadGFXMode().
2011-10-03 12:37:46 +01:00
Johannes Schickel
a72ab2f448
BACKENDS: Fix compilation.
2011-08-09 14:56:38 +02:00
Johannes Schickel
04ab0e58b4
SDL: Take advantage of SdlGraphicsManager.
...
This gets rid of the hacks, where SdlEventSource added events with custom type
numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager.
Furthermore it get rids of the uninituitive and hard to trace way of assigning
the proper mouse coordinates to mouse related events. Formerly it passed the
real screen coordinates through the even dispatching api to the graphics
manager (at least hopefully ;-) and let that handle creating a new event with
the proper coordinates. Now instead SdlEventSource handles the proper
coordinate setup itself.
Since this is a behavior change and I can not test all the SDL based small
devices ports this commit might break compilation for them and more serve it
might also break mouse position behavior. If any of that occurs I am sorry
about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
0630a88a04
SDL: Let SDL based graphics managers inherit from SdlGraphicsManager.
...
This also adapts port I can not test (not even the compilation). So if this
breaks anything I am sorry about it.
2011-08-09 00:03:11 +02:00
Johannes Schickel
80b336f796
SDL: Replace some SdlGraphicsManager uses with SurfaceSdlGraphicsManager.
2011-06-19 20:20:13 +02:00
Johannes Schickel
1c21232416
SDL: Rename SdlGraphicsManager to SurfaceSdlGraphicsManager to reflect its purpose.
...
Hopefully I catched all uses of the old name in our ports...
2011-06-19 20:10:21 +02:00
David-John Willis
64b8587507
GPH: Cleanup and some WIP refactoring.
2011-06-11 17:07:08 +01:00
Max Horn
91b889e2d3
COMMON: Rename kFeatureCursorHasPalette -> kFeatureCursorPalette
2011-06-04 11:55:56 +02:00
Max Horn
73396954c9
GPH: Change fprintf to debug
2011-05-03 14:34:59 +02:00
Ori Avtalion
4d485fc741
BACKENDS: Fix compilation for various backends
...
Affects:
* PS2
* GPH
* ELF
* MOTO
* IPHONE
* N64
* DINGUX
* WINCE
* PSP
2011-04-28 23:24:06 +03:00
David-John Willis
6f1c7cf30a
GPH: Change backend to mask backend code to GPH_DEVICE.
...
* This is mainly to make it easy to drop the old GP2X into the
same codebase (I really have no desire to manage 2 sets of 99.9%
identical code ;)).
* Code paths for just one of the supported devices can be runtime
worked out or just defined for that device.
mount.sh: Fixed some small errors# ../../../../scummvm.gph
2011-04-11 18:22:58 +01:00
David-John Willis
cf8dcf4549
GPH: Cleanup GPH backend and adapt to newer modular backend model.
2011-03-24 21:24:05 +00:00