28 #ifndef _CEGUIOpenGL3Renderer_h_
29 #define _CEGUIOpenGL3Renderer_h_
31 #include "RendererBase.h"
36 class OpenGL3ShaderManager;
37 class OpenGL3StateChangeWrapper;
65 static OpenGL3Renderer& bootstrapSystem(
const int abi = CEGUI_VERSION_ABI);
90 const int abi = CEGUI_VERSION_ABI);
107 static void destroySystem();
137 const int abi = CEGUI_VERSION_ABI);
166 GLint getShaderStandardPositionLoc();
178 GLint getShaderStandardTexCoordLoc();
189 GLint getShaderStandardColourLoc();
199 GLint getShaderStandardMatrixUniformLoc();
212 void beginRendering();
214 Sizef getAdjustedTextureSize(
const Sizef& sz)
const;
215 bool isS3TCSupported()
const;
216 void setupRenderingBlendMode(
const BlendMode mode,
217 const bool force =
false);
223 void initialiseRendererIDString();
248 void initialiseOpenGLShaders();
249 void initialiseGLExtensions();
258 void initialiseTextureTargetFactory();
261 void setupExtraStates();
266 GLint d_shaderStandardPosLoc;
268 GLint d_shaderStandardTexCoordLoc;
270 GLint d_shaderStandardColourLoc;
272 GLint d_shaderStandardMatrixLoc;
277 bool d_s3tcSupported;