Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Jordi Vilalta Prat
5884f5a7ac
OPENGLES: Fix the projection matrix and the includes.
...
svn-id: r54756
2010-12-03 19:43:27 +00:00
Filippos Karapetis
5990753271
OPENGL: Fixed flawed include file logic in gltexture.h, when USE_GLES is defined (a regression from r54704)
...
svn-id: r54732
2010-12-02 09:09:53 +00:00
Filippos Karapetis
e5f2c235d3
BACKENDS: Simplify the inclusion of gl.h. SDL has already simplified it for us :)
...
svn-id: r54704
2010-12-01 15:15:42 +00:00
Filippos Karapetis
1a2b512ff0
BACKENDS: Use SDL_opengl.h instead of the nonstandard glext.h to ensure OpenGL 1.2 compatibility in Windows systems
...
svn-id: r54700
2010-12-01 14:54:13 +00:00
Travis Howell
e2282e4816
Fix mingw compile.
...
svn-id: r54696
2010-12-01 11:29:26 +00:00
Joost Peters
084ea7fc4a
OpenGL: remove unnecessary glext.h include
...
svn-id: r54695
2010-12-01 09:53:43 +00:00
Max Horn
ce119b9540
OPENGL: Fix OpenGL on Mac OS X
...
svn-id: r54545
2010-11-28 18:57:36 +00:00
Alejandro Marzini
7dbe257da8
OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for GLES). General cleanup and commenting.
...
svn-id: r51559
2010-07-31 22:54:10 +00:00
Alejandro Marzini
b89412d7e4
OPENGL: Redesign blitting system. Add basics for aspect correction.
...
Removed the extra surface in GLTexture. Now there are copies of the texture data in their original format (so engine can get the original data when lockScreen or grabOverlay is called). This copies will be updated when the engine calls a function that modifies the game screen/overlay, and the textures will be marked as dirty. When updating screen, the textures will be updated from the copies data if they are dirty.
svn-id: r51234
2010-07-24 05:54:51 +00:00
Alejandro Marzini
bbdb87a831
OPENGL: Add basic game screen drawing. Changed Overlay PixelFormat to RGBA5551.
...
svn-id: r51193
2010-07-23 06:57:23 +00:00
Alejandro Marzini
ef880dd5da
OPENGL: Add antialiasing, hotkey: ctrl+alt+f. Fixed minor bugs.
...
svn-id: r51146
2010-07-22 15:36:50 +00:00
Alejandro Marzini
302400a701
OPENGL: Implement fullscreen mode.
...
svn-id: r51049
2010-07-20 04:32:31 +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
85034dc730
Added BaseSdlGraphicsManager. Added GLTexture.
...
svn-id: r50795
2010-07-10 22:47:29 +00:00