27 #ifndef _CEGUIOpenGL3Renderer_h_
28 #define _CEGUIOpenGL3Renderer_h_
30 #include "RendererBase.h"
35 class OpenGL3ShaderManager;
36 class OpenGL3StateChangeWrapper;
64 static OpenGL3Renderer& bootstrapSystem(
const int abi = CEGUI_VERSION_ABI);
89 const int abi = CEGUI_VERSION_ABI);
106 static void destroySystem();
136 const int abi = CEGUI_VERSION_ABI);
165 GLint getShaderStandardPositionLoc();
177 GLint getShaderStandardTexCoordLoc();
188 GLint getShaderStandardColourLoc();
198 GLint getShaderStandardMatrixUniformLoc();
211 void beginRendering();
213 Sizef getAdjustedTextureSize(
const Sizef& sz)
const;
214 bool isS3TCSupported()
const;
215 void setupRenderingBlendMode(
const BlendMode mode,
216 const bool force =
false);
222 void initialiseRendererIDString();
247 void initialiseOpenGLShaders();
248 void initialiseGLExtensions();
257 void initialiseTextureTargetFactory();
260 void setupExtraStates();
265 GLint d_shaderStandardPosLoc;
267 GLint d_shaderStandardTexCoordLoc;
269 GLint d_shaderStandardColourLoc;
271 GLint d_shaderStandardMatrixLoc;
276 bool d_s3tcSupported;