diff options
author | Johannes Schickel | 2016-01-04 06:41:10 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:26 +0100 |
commit | f5f1b6eba0d409abcda2a3c037a177d6f6e41a2e (patch) | |
tree | 7185022bb128795f3035de8925d04d98784a1afa /backends/graphics/opengl/opengl-graphics.h | |
parent | 08553a09cfa2110d56b200bf6c69d01d5adbc6bb (diff) | |
download | scummvm-rg350-f5f1b6eba0d409abcda2a3c037a177d6f6e41a2e.tar.gz scummvm-rg350-f5f1b6eba0d409abcda2a3c037a177d6f6e41a2e.tar.bz2 scummvm-rg350-f5f1b6eba0d409abcda2a3c037a177d6f6e41a2e.zip |
OPENGL: Introduce pipeline abstraction to cleanup code.
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.h')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index 40605f0259..95ba4e7377 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -41,6 +41,7 @@ namespace OpenGL { #define USE_OSD 1 class Surface; +class Pipeline; #if !USE_FORCED_GLES class Shader; #endif @@ -303,6 +304,11 @@ private: */ void initializeGLContext(); + /** + * OpenGL pipeline used for rendering. + */ + Pipeline *_pipeline; + protected: /** * Query the address of an OpenGL function by name. |