Bastien Bouclet
5b927c06f1
SDL: Ony perform framebuffer detection once on startup
2016-07-14 12:04:06 +02:00
Bastien Bouclet
2141277df9
SDL: Detect the desktop resolution earlier
...
So that nothing has a chance to change it beforehand.
2016-07-14 12:04:05 +02:00
Bastien Bouclet
287f97228f
BACKENDS: Make suggestSideTextures go through GraphicsManager
2016-07-14 12:02:55 +02:00
Bastien Bouclet
911e0e3915
BACKENDS: Remove launcherInitSize from GraphicsManager
2016-07-14 12:02:55 +02:00
Bastien Bouclet
52f2dfc869
SDL: Split the GraphicsManager into Surface and OpenGL
2016-07-14 12:02:51 +02:00
Matthew Hoops
55a87c59b6
BACKENDS: Use a virtual function for creating the SDL audio CD manager
2016-03-13 13:53:40 +01:00
Dries Harnie
8fc79af213
SYSTEM: Add side textures as a System feature
2015-08-17 13:25:46 +02:00
Pawel Kolodziejski
4fe80cd669
ALL: synced with ScummVM
2015-04-19 07:43:34 +02:00
Johannes Schickel
3f22c12c56
SDL: Handle icon setup in SdlWindow.
2015-02-16 01:25:22 +01:00
Johannes Schickel
627d766325
SDL: Add basic abstraction class for the SDL window.
2015-02-16 01:03:29 +01:00
Bastien Bouclet
7829d97ae5
SDL: Render the overlay when using OpenGL with shaders
2014-07-09 19:47:39 +02:00
Pawel Kolodziejski
8759900b6a
ALL: synced with ScummVM
2014-04-05 18:18:42 +02:00
Johannes Schickel
63304ee9ec
SDL: Make GPL headers consistent in themselves.
2014-02-18 02:39:38 +01:00
Pawel Kolodziejski
b22d441a00
ALL: synced with scummvm
2013-12-08 13:25:24 +01:00
Johannes Schickel
c323dedf3c
SDL: Fix default graphics mode for switchable case.
...
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns
the index in the table returned by getSupportedGraphicsModes. Now the correct
ID is searched and then used.
2013-10-23 22:59:09 +02:00
Johannes Schickel
38543f772c
SDL: Make setupGraphicsModes non-virtual.
...
The logic of switching the managers is pretty much fixed at the same level
and cannot be easily overwritten.
2013-10-23 22:58:57 +02:00
Johannes Schickel
4080a7a3f6
SDL: Get rid of _glModesCount.
2013-10-23 22:58:50 +02:00
Johannes Schickel
c5e2b5158c
SDL: Get rid of loop in OSystem_SDL::setGraphicsMode.
2013-10-23 22:58:46 +02:00
Johannes Schickel
e91300f70c
SDL: Clean up graphics mode handling for OpenGL backend.
...
Instead of custom memory management Common::Array is used now.
2013-10-23 22:58:42 +02:00
Johannes Schickel
5ce830b976
SDL: Add a OpenGL SDL backend and hook it into the SDL backend.
...
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL
creation has been adapted since it uses a different constructor now.
2013-10-19 22:14:24 +02:00
Johannes Schickel
8a6e57cba1
BACKENDS: Remove OpenGL and OpenGL SDL backend.
...
This breaks our Tizen port.
2013-10-05 00:20:02 +02:00
Pawel Kolodziejski
068ff94d20
ALL: synced with ScummVM
2013-07-07 15:29:33 +02:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Pawel Kolodziejski
e856559777
ALL: sync with scummvm
2012-04-17 15:07:08 +02:00
Tarek Soliman
477c1b9a87
KEYMAPPER: HardwareInputSet now has defaults
...
Ports can add additional special keys.
SDL no longer carries the static tables.
Default behavior unchanged: HardwareInputSet() still gives an empty one.
2012-02-28 06:45:35 -06:00
Tarek Soliman
6afac4e01e
KEYMAPPER: Rename HardwareKey to HardwareInput
2012-02-27 13:00:56 -06:00
Pawel Kolodziejski
bc71f3f583
synced with scummvm
2012-02-22 17:21:09 +01:00
Johannes Schickel
57e3388197
SDL: Get rid of unneeded forwards.
2012-02-13 01:25:25 +01:00
Johannes Schickel
d811240a9d
ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled.
2012-02-13 01:20:02 +01:00
Tarek Soliman
52da780fbc
KEYMAPPER: Refactor HardwareKeySet generation
2012-02-12 13:28:13 -06:00
Pawe Koodziejski
a5479cfe83
sync with scummvm
2012-01-06 22:56:21 +01: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
Pawel Kolodziejski
5bf4f9316b
sync with scummvm dated 03 july 2011
2011-07-20 06:58:19 +02:00
Littleboy
9614834548
BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled
2011-06-16 14:23:28 -04:00
Littleboy
71e457783e
BACKENDS: Add generic TaskbarManager class to handle taskbar integration
2011-06-16 10:26:51 -04:00
Pawel Kolodziejski
7329a5d164
ALL: sync with scummvm
2011-06-09 11:17:15 +02:00
Max Horn
fce7f90a94
BACKENDS: Shuffle backends class hierarchy and module initialization
2011-06-08 14:29:22 +02:00
Max Horn
c847522422
BACKENDS: Add OSystem::getDefaultConfigFileName
...
This is used to provide default implementations for createConfigWriteStream
and createConfigReadStream, which can be used by most backends.
Note that backends can still override createConfigRead/WriteStream;
this could be useful if settings on some port are not stored in a
regular file (think 'Windows registry', for a hypothetical example).
2011-06-06 15:30:21 +02:00
Pawel Kolodziejski
356c9c8c07
sync with scummvm
2011-05-18 23:33:39 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Pawel Kolodziejski
99ee683308
cleanup headers
2011-04-16 14:08:33 +02:00
Pawel Kolodziejski
0640dcf2c7
synced with scummvm to 2011-Apr-13
2011-04-14 12:41:26 +02:00
Pawel Kolodziejski
be1b3ab884
synced with scummvm svn rev 50000
2011-04-11 02:28:51 +02:00
Pawel Kolodziejski
e3a475ff7b
synced with scummvm rev svn 49000
2011-04-10 21:59:04 +02:00
Johannes Schickel
39aad6ece7
SDL: Move createLogFile implementions to the OSystem_SDL subclasses.
...
svn-id: r54581
2010-11-29 18:30:23 +00:00
Max Horn
4e0e406181
SDL: Move #include <SDL.h> into a special wrapper file
...
svn-id: r54572
2010-11-29 16:16:50 +00:00
Max Horn
8f37f6634c
SDL: Merge deinit() into OSystem_SDL destructor and overload fatalError
...
svn-id: r54526
2010-11-28 15:44:34 +00:00
Max Horn
7760077cf5
Merging the gsoc2010-opengl branch
...
svn-id: r54518
2010-11-28 14:56:31 +00:00
Johannes Schickel
1ad63b431e
BACKEND: Switch OSystem::getSystemLanguage return type to Common::String.
...
This is done as discussed on -devel.
svn-id: r54516
2010-11-28 02:12:33 +00:00
Johannes Schickel
425f284050
SDL: Hook up file logger to log on UNIX-like systems.
...
As discussed on -devel this always logs to ~/.scummvm/logs/scummvm.log.
svn-id: r54489
2010-11-26 00:51:42 +00:00