diff options
author | Alejandro Marzini | 2010-07-10 22:47:29 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-07-10 22:47:29 +0000 |
commit | 85034dc730148dab3eb85b47be3f3984337e9484 (patch) | |
tree | b2877f92e3738fcf79956a91d17f1beabca6dcad /backends/graphics/opengl/opengl-graphics.cpp | |
parent | 386785e2b85b066398122d747117f97dbbb4896a (diff) | |
download | scummvm-rg350-85034dc730148dab3eb85b47be3f3984337e9484.tar.gz scummvm-rg350-85034dc730148dab3eb85b47be3f3984337e9484.tar.bz2 scummvm-rg350-85034dc730148dab3eb85b47be3f3984337e9484.zip |
Added BaseSdlGraphicsManager. Added GLTexture.
svn-id: r50795
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.cpp')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index bd1d6c22ff..fd3824b394 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -24,15 +24,21 @@ */ #include "backends/graphics/opengl/opengl-graphics.h" +#include "common/mutex.h" -OpenGLGraphicsManager::OpenGLGraphicsManager() { - +OpenGLGraphicsManager::OpenGLGraphicsManager() + : + _gameTexture(0), _overlayTexture(0), _mouseTexture(0) { } OpenGLGraphicsManager::~OpenGLGraphicsManager() { } +void OpenGLGraphicsManager::init() { + +} + // // Feature // @@ -63,7 +69,7 @@ const OSystem::GraphicsMode *OpenGLGraphicsManager::getSupportedGraphicsModes() } int OpenGLGraphicsManager::getDefaultGraphicsMode() const { - return 0; + return GFX_NORMAL; } bool OpenGLGraphicsManager::setGraphicsMode(int mode) { @@ -226,3 +232,23 @@ void OpenGLGraphicsManager::disableCursorPalette(bool disable) { void OpenGLGraphicsManager::displayMessageOnOSD(const char *msg) { } + +// +// Intern +// + +void OpenGLGraphicsManager::internUpdateScreen() { + +} + +bool OpenGLGraphicsManager::loadGFXMode() { + return false; +} + +void OpenGLGraphicsManager::unloadGFXMode() { + +} + +bool OpenGLGraphicsManager::hotswapGFXMode() { + return false; +} |