Added BaseSdlGraphicsManager. Added GLTexture.
svn-id: r50795
This commit is contained in:
parent
386785e2b8
commit
85034dc730
12 changed files with 465 additions and 53 deletions
|
@ -26,10 +26,9 @@
|
|||
#ifndef BACKENDS_GRAPHICS_OPENGL_H
|
||||
#define BACKENDS_GRAPHICS_OPENGL_H
|
||||
|
||||
#include "backends/graphics/opengl/gltexture.h"
|
||||
#include "backends/graphics/graphics.h"
|
||||
|
||||
#include "graphics/surface.h"
|
||||
|
||||
enum {
|
||||
GFX_NORMAL = 0,
|
||||
};
|
||||
|
@ -42,6 +41,8 @@ public:
|
|||
OpenGLGraphicsManager();
|
||||
virtual ~OpenGLGraphicsManager();
|
||||
|
||||
virtual void init();
|
||||
|
||||
virtual bool hasFeature(OSystem::Feature f);
|
||||
virtual void setFeatureState(OSystem::Feature f, bool enable);
|
||||
virtual bool getFeatureState(OSystem::Feature f);
|
||||
|
@ -91,7 +92,17 @@ public:
|
|||
virtual void displayMessageOnOSD(const char *msg);
|
||||
|
||||
protected:
|
||||
GLTexture* _gameTexture;
|
||||
GLTexture* _overlayTexture;
|
||||
GLTexture* _mouseTexture;
|
||||
|
||||
|
||||
Graphics::Surface _lockedScreen;
|
||||
|
||||
virtual void internUpdateScreen();
|
||||
virtual bool loadGFXMode();
|
||||
virtual void unloadGFXMode();
|
||||
virtual bool hotswapGFXMode();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue