An in memory cache of the OpenGL ES state. More...
#include <OgreGLES2NullStateCacheManagerImp.h>
Classes | |
struct | TextureUnitParams |
Private Types | |
typedef HashMap< GLenum, GLuint > | BindBufferMap |
typedef HashMap< GLenum, GLfloat > | TexParameterfMap |
typedef HashMap< GLenum, GLint > | TexParameteriMap |
typedef HashMap< GLuint, TextureUnitParams > | TexUnitsMap |
Private Attributes | |
BindBufferMap | mActiveBufferMap |
A map of different buffer types and the currently bound buffer for each type. More... | |
unsigned char | mActiveTextureUnit |
Stores the currently active texture unit. More... | |
GLenum | mActiveTextureUnit |
Stores the currently active texture unit. More... | |
GLenum | mBlendEquation |
Stores the current blend equation. More... | |
GLenum | mBlendFuncDest |
Stores the current blend destination function. More... | |
GLenum | mBlendFuncSource |
Stores the current blend source function. More... | |
vector< GLclampf >::type | mClearColour |
Stores the current clear colour. More... | |
GLclampf | mClearDepth |
Stores the current depth clearing colour. More... | |
vector< GLboolean >::type | mColourMask |
Stores the current colour write mask. More... | |
GLenum | mCullFace |
Stores the current face culling setting. More... | |
GLenum | mDepthFunc |
Stores the current depth test function. More... | |
GLboolean | mDepthMask |
Stores the current depth write mask. More... | |
unsigned int | mDiscardBuffers |
Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported. More... | |
vector< GLuint >::type | mEnabledVertexAttribs |
Stores the currently enabled vertex attributes. More... | |
vector< GLenum >::type | mEnableVector |
Array of each OpenGL feature that is enabled i.e. blending, depth test, etc. More... | |
GLuint | mLastBoundTexID |
Stores the last bound texture id. More... | |
GLenum | mPolygonMode |
Stores the current polygon rendering mode. More... | |
GLuint | mStencilMask |
Stores the current stencil mask. More... | |
TexUnitsMap | mTexUnitsMap |
A map of texture parameters for each texture unit. More... | |
An in memory cache of the OpenGL ES state.
An in memory cache of the OpenGL ES2 state.
Definition at line 41 of file OgreGLES2NullStateCacheManagerImp.h.
|
private |
Definition at line 44 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Definition at line 46 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Definition at line 45 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Definition at line 60 of file OgreGLES2StateCacheManagerImp.h.
Ogre::GLES2StateCacheManagerImp::GLES2StateCacheManagerImp | ( | void | ) |
Ogre::GLES2StateCacheManagerImp::~GLES2StateCacheManagerImp | ( | void | ) |
Ogre::GLES2StateCacheManagerImp::GLES2StateCacheManagerImp | ( | void | ) |
Ogre::GLES2StateCacheManagerImp::~GLES2StateCacheManagerImp | ( | void | ) |
bool Ogre::GLES2StateCacheManagerImp::activateGLTextureUnit | ( | size_t | unit | ) |
bool Ogre::GLES2StateCacheManagerImp::activateGLTextureUnit | ( | unsigned char | unit | ) |
void Ogre::GLES2StateCacheManagerImp::bindGLBuffer | ( | GLenum | target, |
GLuint | buffer, | ||
bool | force = false |
||
) |
void Ogre::GLES2StateCacheManagerImp::bindGLBuffer | ( | GLenum | target, |
GLuint | buffer, | ||
GLenum | attach = 0 , |
||
bool | force = false |
||
) |
void Ogre::GLES2StateCacheManagerImp::bindGLTexture | ( | GLenum | target, |
GLuint | texture | ||
) |
void Ogre::GLES2StateCacheManagerImp::bindGLTexture | ( | GLenum | target, |
GLuint | texture | ||
) |
void Ogre::GLES2StateCacheManagerImp::clearCache | ( | ) |
void Ogre::GLES2StateCacheManagerImp::clearCache | ( | ) |
void Ogre::GLES2StateCacheManagerImp::deleteGLBuffer | ( | GLenum | target, |
GLuint | buffer, | ||
bool | force = false |
||
) |
void Ogre::GLES2StateCacheManagerImp::deleteGLBuffer | ( | GLenum | target, |
GLuint | buffer, | ||
GLenum | attach = 0 , |
||
bool | force = false |
||
) |
GLenum Ogre::GLES2StateCacheManagerImp::getBlendEquation | ( | void | ) | const |
See GLES2StateCacheManager.getBlendEquation.
Definition at line 102 of file OgreGLES2NullStateCacheManagerImp.h.
References mBlendEquation.
GLenum Ogre::GLES2StateCacheManagerImp::getBlendEquation | ( | void | ) | const |
See GLES2StateCacheManager.getBlendEquation.
Definition at line 139 of file OgreGLES2StateCacheManagerImp.h.
GLclampf Ogre::GLES2StateCacheManagerImp::getClearDepth | ( | void | ) | const |
See GLES2StateCacheManager.getClearDepth.
Definition at line 123 of file OgreGLES2NullStateCacheManagerImp.h.
References mClearDepth.
GLclampf Ogre::GLES2StateCacheManagerImp::getClearDepth | ( | void | ) | const |
See GLES2StateCacheManager.getClearDepth.
Definition at line 160 of file OgreGLES2StateCacheManagerImp.h.
vector<GLboolean>::type& Ogre::GLES2StateCacheManagerImp::getColourMask | ( | void | ) |
See GLES2StateCacheManager.getColourMask.
Definition at line 132 of file OgreGLES2NullStateCacheManagerImp.h.
References mColourMask.
vector<GLboolean>::type& Ogre::GLES2StateCacheManagerImp::getColourMask | ( | void | ) |
See GLES2StateCacheManager.getColourMask.
Definition at line 169 of file OgreGLES2StateCacheManagerImp.h.
GLenum Ogre::GLES2StateCacheManagerImp::getCullFace | ( | void | ) | const |
See GLES2StateCacheManager.getCullFace.
Definition at line 168 of file OgreGLES2NullStateCacheManagerImp.h.
References mCullFace.
GLenum Ogre::GLES2StateCacheManagerImp::getCullFace | ( | void | ) | const |
See GLES2StateCacheManager.getCullFace.
Definition at line 205 of file OgreGLES2StateCacheManagerImp.h.
GLenum Ogre::GLES2StateCacheManagerImp::getDepthFunc | ( | void | ) | const |
See GLES2StateCacheManager.getDepthFunc.
Definition at line 117 of file OgreGLES2NullStateCacheManagerImp.h.
References mDepthFunc.
GLenum Ogre::GLES2StateCacheManagerImp::getDepthFunc | ( | void | ) | const |
See GLES2StateCacheManager.getDepthFunc.
Definition at line 154 of file OgreGLES2StateCacheManagerImp.h.
GLboolean Ogre::GLES2StateCacheManagerImp::getDepthMask | ( | void | ) | const |
See GLES2StateCacheManager.getDepthMask.
Definition at line 111 of file OgreGLES2NullStateCacheManagerImp.h.
References mDepthMask.
GLboolean Ogre::GLES2StateCacheManagerImp::getDepthMask | ( | void | ) | const |
See GLES2StateCacheManager.getDepthMask.
Definition at line 148 of file OgreGLES2StateCacheManagerImp.h.
unsigned int Ogre::GLES2StateCacheManagerImp::getDiscardBuffers | ( | void | ) | const |
See GLES2StateCacheManager.getDiscardBuffers.
Definition at line 156 of file OgreGLES2NullStateCacheManagerImp.h.
References mDiscardBuffers.
unsigned int Ogre::GLES2StateCacheManagerImp::getDiscardBuffers | ( | void | ) | const |
See GLES2StateCacheManager.getDiscardBuffers.
Definition at line 193 of file OgreGLES2StateCacheManagerImp.h.
GLenum Ogre::GLES2StateCacheManagerImp::getPolygonMode | ( | void | ) | const |
See GLES2StateCacheManager.getPolygonMode.
Definition at line 162 of file OgreGLES2NullStateCacheManagerImp.h.
References mPolygonMode.
GLenum Ogre::GLES2StateCacheManagerImp::getPolygonMode | ( | void | ) | const |
See GLES2StateCacheManager.getPolygonMode.
Definition at line 199 of file OgreGLES2StateCacheManagerImp.h.
GLuint Ogre::GLES2StateCacheManagerImp::getStencilMask | ( | void | ) | const |
See GLES2StateCacheManager.getStencilMask.
Definition at line 138 of file OgreGLES2NullStateCacheManagerImp.h.
References mStencilMask.
GLuint Ogre::GLES2StateCacheManagerImp::getStencilMask | ( | void | ) | const |
See GLES2StateCacheManager.getStencilMask.
Definition at line 175 of file OgreGLES2StateCacheManagerImp.h.
void Ogre::GLES2StateCacheManagerImp::getTexParameterfv | ( | GLenum | target, |
GLenum | pname, | ||
GLfloat * | params | ||
) |
void Ogre::GLES2StateCacheManagerImp::getTexParameterfv | ( | GLenum | target, |
GLenum | pname, | ||
GLfloat * | params | ||
) |
void Ogre::GLES2StateCacheManagerImp::initializeCache | ( | ) |
void Ogre::GLES2StateCacheManagerImp::initializeCache | ( | ) |
void Ogre::GLES2StateCacheManagerImp::invalidateStateForTexture | ( | GLuint | texture | ) |
void Ogre::GLES2StateCacheManagerImp::invalidateStateForTexture | ( | GLuint | texture | ) |
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
void Ogre::GLES2StateCacheManagerImp::setBlendEquation | ( | GLenum | eq | ) |
void Ogre::GLES2StateCacheManagerImp::setBlendEquation | ( | GLenum | eq | ) |
void Ogre::GLES2StateCacheManagerImp::setBlendFunc | ( | GLenum | source, |
GLenum | dest | ||
) |
void Ogre::GLES2StateCacheManagerImp::setBlendFunc | ( | GLenum | source, |
GLenum | dest | ||
) |
void Ogre::GLES2StateCacheManagerImp::setClearColour | ( | GLclampf | red, |
GLclampf | green, | ||
GLclampf | blue, | ||
GLclampf | alpha | ||
) |
void Ogre::GLES2StateCacheManagerImp::setClearColour | ( | GLclampf | red, |
GLclampf | green, | ||
GLclampf | blue, | ||
GLclampf | alpha | ||
) |
void Ogre::GLES2StateCacheManagerImp::setClearDepth | ( | GLclampf | depth | ) |
void Ogre::GLES2StateCacheManagerImp::setClearDepth | ( | GLclampf | depth | ) |
void Ogre::GLES2StateCacheManagerImp::setColourMask | ( | GLboolean | red, |
GLboolean | green, | ||
GLboolean | blue, | ||
GLboolean | alpha | ||
) |
void Ogre::GLES2StateCacheManagerImp::setColourMask | ( | GLboolean | red, |
GLboolean | green, | ||
GLboolean | blue, | ||
GLboolean | alpha | ||
) |
void Ogre::GLES2StateCacheManagerImp::setCullFace | ( | GLenum | face | ) |
void Ogre::GLES2StateCacheManagerImp::setCullFace | ( | GLenum | face | ) |
void Ogre::GLES2StateCacheManagerImp::setDepthFunc | ( | GLenum | func | ) |
void Ogre::GLES2StateCacheManagerImp::setDepthFunc | ( | GLenum | func | ) |
void Ogre::GLES2StateCacheManagerImp::setDepthMask | ( | GLboolean | mask | ) |
void Ogre::GLES2StateCacheManagerImp::setDepthMask | ( | GLboolean | mask | ) |
void Ogre::GLES2StateCacheManagerImp::setDisabled | ( | GLenum | flag | ) |
void Ogre::GLES2StateCacheManagerImp::setDisabled | ( | GLenum | flag | ) |
void Ogre::GLES2StateCacheManagerImp::setDiscardBuffers | ( | unsigned int | flags | ) |
See GLES2StateCacheManager.setDiscardBuffers.
Definition at line 159 of file OgreGLES2NullStateCacheManagerImp.h.
References mDiscardBuffers.
void Ogre::GLES2StateCacheManagerImp::setDiscardBuffers | ( | unsigned int | flags | ) |
See GLES2StateCacheManager.setDiscardBuffers.
Definition at line 196 of file OgreGLES2StateCacheManagerImp.h.
void Ogre::GLES2StateCacheManagerImp::setEnabled | ( | GLenum | flag | ) |
void Ogre::GLES2StateCacheManagerImp::setEnabled | ( | GLenum | flag | ) |
void Ogre::GLES2StateCacheManagerImp::setPolygonMode | ( | GLenum | mode | ) |
See GLES2StateCacheManager.setPolygonMode.
Definition at line 165 of file OgreGLES2NullStateCacheManagerImp.h.
References mPolygonMode.
void Ogre::GLES2StateCacheManagerImp::setPolygonMode | ( | GLenum | mode | ) |
See GLES2StateCacheManager.setPolygonMode.
Definition at line 202 of file OgreGLES2StateCacheManagerImp.h.
void Ogre::GLES2StateCacheManagerImp::setStencilMask | ( | GLuint | mask | ) |
void Ogre::GLES2StateCacheManagerImp::setStencilMask | ( | GLuint | mask | ) |
void Ogre::GLES2StateCacheManagerImp::setTexParameterf | ( | GLenum | target, |
GLenum | pname, | ||
GLfloat | params | ||
) |
void Ogre::GLES2StateCacheManagerImp::setTexParameterf | ( | GLenum | target, |
GLenum | pname, | ||
GLfloat | params | ||
) |
void Ogre::GLES2StateCacheManagerImp::setTexParameteri | ( | GLenum | target, |
GLenum | pname, | ||
GLint | param | ||
) |
void Ogre::GLES2StateCacheManagerImp::setTexParameteri | ( | GLenum | target, |
GLenum | pname, | ||
GLint | param | ||
) |
void Ogre::GLES2StateCacheManagerImp::setVertexAttribDisabled | ( | GLuint | attrib | ) |
void Ogre::GLES2StateCacheManagerImp::setVertexAttribDisabled | ( | GLuint | attrib | ) |
void Ogre::GLES2StateCacheManagerImp::setVertexAttribEnabled | ( | GLuint | attrib | ) |
void Ogre::GLES2StateCacheManagerImp::setVertexAttribEnabled | ( | GLuint | attrib | ) |
|
private |
A map of different buffer types and the currently bound buffer for each type.
Definition at line 68 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Stores the currently active texture unit.
Definition at line 61 of file OgreGLES2NullStateCacheManagerImp.h.
|
private |
Stores the currently active texture unit.
Definition at line 98 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Stores the current blend equation.
Definition at line 53 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getBlendEquation().
|
private |
Stores the current blend destination function.
Definition at line 88 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Stores the current blend source function.
Definition at line 86 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Stores the current clear colour.
Definition at line 45 of file OgreGLES2NullStateCacheManagerImp.h.
|
private |
Stores the current depth clearing colour.
Definition at line 65 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getClearDepth().
|
private |
Stores the current colour write mask.
Definition at line 47 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getColourMask().
|
private |
Stores the current face culling setting.
Definition at line 55 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getCullFace().
|
private |
Stores the current depth test function.
Definition at line 57 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getDepthFunc().
|
private |
Stores the current depth write mask.
Definition at line 49 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getDepthMask().
|
private |
Mask of buffers who contents can be discarded if GL_EXT_discard_framebuffer is supported.
Definition at line 63 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getDiscardBuffers(), and setDiscardBuffers().
|
private |
Stores the currently enabled vertex attributes.
Definition at line 78 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Array of each OpenGL feature that is enabled i.e. blending, depth test, etc.
Definition at line 72 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Stores the last bound texture id.
Definition at line 96 of file OgreGLES2StateCacheManagerImp.h.
|
private |
Stores the current polygon rendering mode.
Definition at line 51 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getPolygonMode(), and setPolygonMode().
|
private |
Stores the current stencil mask.
Definition at line 59 of file OgreGLES2NullStateCacheManagerImp.h.
Referenced by getStencilMask().
|
private |
A map of texture parameters for each texture unit.
Definition at line 70 of file OgreGLES2StateCacheManagerImp.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15