aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/sdl
AgeCommit message (Collapse)Author
2010-07-30SDL/OPENGL: Add ability to switch between SDL and OpenGL graphics managers.Alejandro Marzini
OSystem_SDL will create a merged list of all graphics modes from SDL and OpenGL. When the user changes the graphics mode in options and restarts ScummVM should switch to that graphics mode in the corresponding graphics manager. svn-id: r51493
2010-07-30OSYSTEM: Add resetGraphicsScale() method.Alejandro Marzini
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-27OPENGL: Implement aspect ratio support and toggling. Improve fullscreen ↵Alejandro Marzini
switching. Fix cursor scaling bug. Now the hotkey Ctrl-Alt-Enter will switch between all available fullscreen modes. Alt-Enter will only switch to the best mode available, and exit fullscreen mode if already on it. The different aspect ratios can be switched with Ctrl-Alt-A. The normal mode will stretch the contents to the screen, while other modes will stretch only one dimension to the screen size, and maintain the aspect ratio for the other dimension. svn-id: r51346
2010-07-26Formatted spaces.Alejandro Marzini
svn-id: r51300
2010-07-26OPENGL: Add OSD message.Alejandro Marzini
svn-id: r51295
2010-07-19SDL: Hack to handle special SDL events.Alejandro Marzini
svn-id: r51015
2010-07-16Added basic cursor drawing.Alejandro Marzini
svn-id: r50954
2010-07-15Fixed doing OpenGL calls before a graphical context was created.Alejandro Marzini
svn-id: r50905
2010-07-15Silence gcc warnings.Matthew Hoops
svn-id: r50902
2010-07-15Replaced the extra SDL functions added to GraphicsManager with an ↵Alejandro Marzini
EventObserver in SdlGraphicsManager. svn-id: r50900
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-07-11Fix compile on Mac OS X.Matthew Hoops
svn-id: r50801
2010-07-11Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public ↵Alejandro Marzini
SDL graphics manager functions to graphics manager (Allowing OpenGLSdlGraphicsMaanger to be used with other SDL managers easily). Removed BaseSdlGraphicsManager. Implemented in the opengl manager basic screen functions. svn-id: r50796
2010-07-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795
2010-07-05Cleanup and documentation.Alejandro Marzini
svn-id: r50667
2010-06-30Modularized GP2XWIZ backend.Alejandro Marzini
svn-id: r50514
2010-06-16Fixed some disabled code that was with problems after modularization.Alejandro Marzini
svn-id: r49899
2010-06-15Renamed abstract Manager files.Alejandro Marzini
svn-id: r49677
2010-06-11Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now ↵Alejandro Marzini
subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged. svn-id: r49590
2010-06-11Added missing virtual functions in abstract class GraphicsManager.Alejandro Marzini
svn-id: r49589
2010-06-09Added directives for avoiding compilation of sdl managers on platforms that ↵Alejandro Marzini
don't use them (Other platforms may also need to be added later) svn-id: r49531
2010-06-08Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure ↵Alejandro Marzini
virtual class GraphicsManager. svn-id: r49528
2010-06-08Merged from trunk.Alejandro Marzini
svn-id: r49499
2010-06-07Added constructor, destructor. Made some variables and methods public. ↵Alejandro Marzini
Removed toggleMouseGrab (now in events). Added feature methods. Fixed missing code for displayMessageOnOSD. svn-id: r49472
2010-06-05Created SdlGraphicsManager.Alejandro Marzini
svn-id: r49444