aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/tizen
diff options
context:
space:
mode:
authorJohannes Schickel2015-12-11 23:51:21 +0100
committerJohannes Schickel2016-03-16 20:29:24 +0100
commit8f3783da0994703e9fe6fcfc666d194c9eb00865 (patch)
treec80866292bf96a43e5056570a025eafad7ca9a82 /backends/platform/tizen
parente5e234b864e75862a2de72ee6c3b8bda47f41c23 (diff)
downloadscummvm-rg350-8f3783da0994703e9fe6fcfc666d194c9eb00865.tar.gz
scummvm-rg350-8f3783da0994703e9fe6fcfc666d194c9eb00865.tar.bz2
scummvm-rg350-8f3783da0994703e9fe6fcfc666d194c9eb00865.zip
OPENGL: Add functionality to query OpenGL functions on runtime.
This can and will be used for future extension usage support. Tizen changes have been untested.
Diffstat (limited to 'backends/platform/tizen')
-rw-r--r--backends/platform/tizen/graphics.cpp4
-rw-r--r--backends/platform/tizen/graphics.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/tizen/graphics.cpp b/backends/platform/tizen/graphics.cpp
index 759c4e519d..971be460d8 100644
--- a/backends/platform/tizen/graphics.cpp
+++ b/backends/platform/tizen/graphics.cpp
@@ -206,3 +206,7 @@ bool TizenGraphicsManager::loadVideoMode(uint requestedWidth, uint requestedHeig
void TizenGraphicsManager::refreshScreen() {
eglSwapBuffers(_eglDisplay, _eglSurface);
}
+
+void *TizenGraphicsManager::getProcAddress(const char *name) const {
+ return eglGetProcAddress(name);
+}
diff --git a/backends/platform/tizen/graphics.h b/backends/platform/tizen/graphics.h
index 1522d66bbe..1798b078d8 100644
--- a/backends/platform/tizen/graphics.h
+++ b/backends/platform/tizen/graphics.h
@@ -63,6 +63,8 @@ protected:
void refreshScreen();
+ void *getProcAddress(const char *name) const;
+
const Graphics::Font *getFontOSD();
private: