Commit Graph

280 Commits

Author SHA1 Message Date
Alejandro Marzini
9ef2fc4744 Fixed doing OpenGL calls before a graphical context was created.
svn-id: r50905
2010-07-15 04:01:41 +00:00
Alejandro Marzini
d677ba5a11 Replaced nextHigher2, so CHAR_BIT define is not needed.
svn-id: r50904
2010-07-15 02:49:59 +00:00
Matthew Hoops
69bf70d693 Silence gcc warnings.
svn-id: r50902
2010-07-15 01:48:28 +00:00
Alejandro Marzini
f53028d4a2 Replaced the extra SDL functions added to GraphicsManager with an EventObserver in SdlGraphicsManager.
svn-id: r50900
2010-07-15 01:21:20 +00:00
Alejandro Marzini
84ceae9328 Check if USE_OPENGL is defined for compiling OpenGL code.
svn-id: r50842
2010-07-13 05:38:10 +00:00
Alejandro Marzini
609e08d5db Merged from trunk, from Rev 49499 to HEAD
svn-id: r50840
2010-07-13 04:31:15 +00:00
Alejandro Marzini
8b6a670391 OpenGL manager: Implemented PixelFormat functions. Implemented GFX methods. Changed how GLTexture determines its format.
svn-id: r50811
2010-07-12 06:00:19 +00:00
Matthew Hoops
a1161feed2 Fix compile on Mac OS X.
svn-id: r50801
2010-07-11 16:11:28 +00:00
Alejandro Marzini
4dca7c7e02 Moved getGraphicsManager() from OSystem_SDL to ModularBackend. Moved public 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-11 04:32:24 +00:00
Alejandro Marzini
85034dc730 Added BaseSdlGraphicsManager. Added GLTexture.
svn-id: r50795
2010-07-10 22:47:29 +00:00
Alejandro Marzini
386785e2b8 Added OpenGLSDLGraphicsManager.
svn-id: r50768
2010-07-09 19:45:56 +00:00
Alejandro Marzini
8b6d49ce42 Implemented CHECK_GL_ERROR macro for debugging OpenGL calls.
svn-id: r50731
2010-07-07 01:05:32 +00:00
Alejandro Marzini
30136589f0 Base class for OpenGL graphics manager.
svn-id: r50668
2010-07-05 03:21:48 +00:00
Alejandro Marzini
3c607ef289 Cleanup and documentation.
svn-id: r50667
2010-07-05 01:10:29 +00:00
Alejandro Marzini
a35db656d3 Modularized GP2X backend. Renamed GP2XWIZSdlEventManager to GP2XSdlEventManager, and added GP2X code.
svn-id: r50542
2010-07-01 06:07:24 +00:00
Alejandro Marzini
c174d5327b Modularized GP2XWIZ backend.
svn-id: r50514
2010-06-30 04:46:55 +00:00
Alejandro Marzini
fd77e4b09c Modularized Linuxmoto port.
svn-id: r50474
2010-06-29 01:08:36 +00:00
Alejandro Marzini
62ac3982aa Modularized Symbian port.
svn-id: r50356
2010-06-26 23:05:37 +00:00
Alejandro Marzini
99c0f82608 Fixed some disabled code that was with problems after modularization.
svn-id: r49899
2010-06-16 04:34:44 +00:00
Alejandro Marzini
54377bbb30 Adapted null backend to ModularBackend.
svn-id: r49681
2010-06-15 05:53:15 +00:00
Alejandro Marzini
6a52a168ee Renamed abstract Manager files.
svn-id: r49677
2010-06-15 03:49:20 +00:00
Alejandro Marzini
e81fb60d34 Add Common::EventSource inheritance for ModularBackend. OSystem_SDL now subclass from ModularBackend insteand of BaseBackend. Added forceFullRedraw() to SdlGraphicsManager and removed _modeChanged.
svn-id: r49590
2010-06-11 02:50:25 +00:00
Alejandro Marzini
11e8ac61d1 Added missing virtual functions in abstract class GraphicsManager.
svn-id: r49589
2010-06-11 01:55:59 +00:00
Alejandro Marzini
7840aa1966 Added directives for avoiding compilation of sdl managers on platforms that don't use them (Other platforms may also need to be added later)
svn-id: r49531
2010-06-09 05:29:14 +00:00
Alejandro Marzini
4fe0b4e1ad Renamed and moved DefaultGraphicsManager to NullGraphicsManager. Added pure virtual class GraphicsManager.
svn-id: r49528
2010-06-08 23:44:05 +00:00
Alejandro Marzini
7ea78b1036 Merged from trunk.
svn-id: r49499
2010-06-08 03:31:27 +00:00
Alejandro Marzini
280c18f96e Added constructor, destructor. Made some variables and methods public. Removed toggleMouseGrab (now in events). Added feature methods. Fixed missing code for displayMessageOnOSD.
svn-id: r49472
2010-06-07 03:14:42 +00:00
Alejandro Marzini
eee8e6960e Removed setGraphicsMode(const char *name), as it is on OSystem already.
svn-id: r49471
2010-06-07 03:04:58 +00:00
Alejandro Marzini
ada0e211f6 Created SdlGraphicsManager.
svn-id: r49444
2010-06-05 22:45:36 +00:00
Alejandro Marzini
5277842cc8 Created DefaultGraphicsManager.
svn-id: r49420
2010-06-04 02:55:17 +00:00