From f5f1b6eba0d409abcda2a3c037a177d6f6e41a2e Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 4 Jan 2016 06:41:10 +0100 Subject: OPENGL: Introduce pipeline abstraction to cleanup code. --- backends/graphics/opengl/opengl-graphics.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'backends/graphics/opengl/opengl-graphics.h') 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. -- cgit v1.2.3