Commit Graph
28 Commits
Author SHA1 Message Date
Bastien Bouclet 0802bbd8ee OSYSTEM: Remove the API allowing to draw to the OSD surface directly 2016-09-13 20:41:26 +02:00
Alexander Tkachev 1b9987ddc9 GUI: Add getOSDFormat() and make OSD 32 bpp 2016-08-24 16:07:55 +06:00
Alexander Tkachev 2a15b8b280 GUI: Add clearOSD() method
So one can erase everything from OSD and then blit something on it.
2016-08-24 16:07:55 +06:00
Alexander Tkachev 7ff1f91808 GUI: Add copyRectToOSD()
I was lazy to implement that in OpenGLGraphicsManager and I'm not sure
it's implemented correctly in SurfaceSdlGraphicsManager, but it works
for me.
2016-08-24 16:07:55 +06:00
Johannes Schickel 767f0d8ca9 BACKENDS: Take advantage of Surface::getPixels. 2013-08-03 04:02:54 +02:00
Johannes Schickel 55afab4d68 BACKENDS: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 04:02:49 +02:00
Eugene Sandulenko 2fa17c44ed JANITORIAL: Remove SVN keywords 2011-08-06 11:30:47 +01:00
Max Horn fce7f90a94 BACKENDS: Shuffle backends class hierarchy and module initialization 2011-06-08 14:29:22 +02:00
Max Horn d670b4bb56 BACKENDS: Fix BaseBackend::initBackend() (ouch) 2011-06-08 14:22:00 +02:00
Max Horn 0b7f475e35 BACKENDS: Add OSystem::resetGraphicsScale() default implementation 2011-06-08 12:10:49 +02:00
Max Horn c81e94b252 BACKENDS: Unify EventManager setup 2011-06-06 16:13:57 +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
Max Horn afb06b51cc BACKENDS: Unify AudioCD manager instantiation 2011-06-06 15:02:33 +02:00
Pawel Kolodziejski a87d33845a SAMSUNGTV: revert code of result some previous commit 2011-05-25 19:40:55 +02:00
Max Horn 39076ef972 BUILD: Rename UNIX #define to POSIX 2011-05-25 13:23:03 +02:00
Pawel Kolodziejski 944e0be209 SAMSUNGTV: update port 2011-05-23 18:11:40 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
dhewg 8add05f9b3 BASEBACKEND: Remove resetGraphicsScale() hack
All backends that derive from BaseBackend are consoles and/or portables
without any connection from graphics modes to scalers.
The default implementation of resetGraphicsScale() is now a noop, which
seems correct for all current backends.
This fixes unwanted mode changes since 93fdcbfa.
2011-02-26 10:55:27 +01:00
Max Horn 82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Alejandro Marzini 9daa1c7f93 OSYSTEM: Add resetGraphicsScale() method.
This fixes a hack for resetting the graphics scale to x1 when starting games that have a large screen size. The SDL graphics manager should now scale back to x1 without changing the current scaler in use, as well as the OpenGL graphics manager.

svn-id: r51492
2010-07-30 03:06:57 +00:00
Alejandro Marzini e1ef3cd9fc Renamed getAudioCD to getAudioCDManager.
svn-id: r49678
2010-06-15 04:13:12 +00:00
Alejandro Marzini e991cd8c53 - Revised abstract AudioCDManager.
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.

svn-id: r49548
2010-06-09 20:09:57 +00:00
Alejandro Marzini 16c559a095 Added again base-backend. Started sdl backend refatoring, file, mutex and timer subsystems created.
svn-id: r49305
2010-05-29 01:56:34 +00:00
Alejandro Marzini 6b3d268e23 Created base virtual classes for backends subsystems.
Removed base-backend, it won't be needed anymore.

svn-id: r49284
2010-05-28 05:03:32 +00:00
Willem Jan Palenstijn ecaa7a3fe7 Fix compilation on unix
svn-id: r45778
2009-11-09 15:13:59 +00:00
Paweł Kołodziejski 4c2491df3b added support for samsung tv
svn-id: r45777
2009-11-09 14:43:05 +00:00
Johannes Schickel 5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Max Horn c69ebfd798 Moved default implementations for various OSystem methods into a new class BaseBackend
svn-id: r36135
2009-01-30 03:35:47 +00:00