diff options
author | Johannes Schickel | 2013-08-19 02:10:43 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-10-19 22:17:42 +0200 |
commit | 20e4a7f0ce86bc93511643e4943b29044c84263f (patch) | |
tree | 4a86e49ff722a3aae4d4dbdea082400efd29db9c /backends/platform/tizen/graphics.h | |
parent | decc013e53ebf2a7c83e599ed676bfec27ade14f (diff) | |
download | scummvm-rg350-20e4a7f0ce86bc93511643e4943b29044c84263f.tar.gz scummvm-rg350-20e4a7f0ce86bc93511643e4943b29044c84263f.tar.bz2 scummvm-rg350-20e4a7f0ce86bc93511643e4943b29044c84263f.zip |
TIZEN: Adapt to new OpenGL code.
Thanks to Chris Warren-Smith for testing this a bit.
Diffstat (limited to 'backends/platform/tizen/graphics.h')
-rw-r--r-- | backends/platform/tizen/graphics.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/backends/platform/tizen/graphics.h b/backends/platform/tizen/graphics.h index 27e5a6aaeb..1ed8a7c653 100644 --- a/backends/platform/tizen/graphics.h +++ b/backends/platform/tizen/graphics.h @@ -39,28 +39,29 @@ using namespace Tizen::Graphics; using namespace Tizen::Graphics::Opengl; using namespace Tizen::App; -class TizenGraphicsManager : public OpenGLGraphicsManager { +class TizenGraphicsManager : public OpenGL::OpenGLGraphicsManager { public: TizenGraphicsManager(TizenAppForm *appForm); virtual ~TizenGraphicsManager(); Common::List<Graphics::PixelFormat> getSupportedFormats() const; bool hasFeature(OSystem::Feature f); - void updateScreen(); void setFeatureState(OSystem::Feature f, bool enable); + void updateScreen(); + void setReady(); bool isReady() { return !_initState; } - const Graphics::Font *getFontOSD(); + bool moveMouse(int16 &x, int16 &y); -private: - void internUpdateScreen(); - bool loadGFXMode(); - void loadTextures(); - void unloadGFXMode(); +protected: void setInternalMousePosition(int x, int y) {} - void showSplash(); + bool loadVideoMode(uint requestedWidth, uint requestedHeight, const Graphics::PixelFormat &format); + + const Graphics::Font *getFontOSD(); + +private: bool loadEgl(); TizenAppForm *_appForm; EGLDisplay _eglDisplay; |