22 #ifndef GRAPHICS_OPENGL_CONTEXT_H 23 #define GRAPHICS_OPENGL_CONTEXT_H 25 #include "common/singleton.h" 137 int getGLSLVersion()
const;
143 #define OpenGLContext OpenGL::Context::instance() bool framebufferObjectSupported
Definition: context.h:91
int glslVersion
Definition: context.h:70
void initialize(ContextType contextType)
bool textureMirrorRepeatSupported
Definition: context.h:124
ContextType type
Definition: context.h:59
unsigned int textureLookupPrecision
Definition: context.h:130
bool bgraSupported
Definition: context.h:103
int maxTextureSize
Definition: context.h:73
bool multitextureSupported
Definition: context.h:88
bool textureEdgeClampSupported
Definition: context.h:118
bool framebufferObjectMultisampleSupported
Definition: context.h:94
int majorVersion
Definition: context.h:67
bool packedDepthStencilSupported
Definition: context.h:109
Definition: renderbuffer.h:27
bool textureMaxLevelSupported
Definition: context.h:127
bool packedPixelsSupported
Definition: context.h:106
int multisampleMaxSamples
Definition: context.h:100
bool OESDepth24
Definition: context.h:115
bool textureBorderClampSupported
Definition: context.h:121
bool NPOTSupported
Definition: context.h:76
bool isGLVersionOrHigher(int major, int minor) const
Definition: context.h:62
bool shadersSupported
Definition: context.h:82
bool enginesShadersSupported
Definition: context.h:85
bool unpackSubImageSupported
Definition: context.h:112
Definition: singleton.h:42
bool imagingSupported
Definition: context.h:79