An in memory cache of the OpenGL ES state. More...
#include <OgreGLESNullStateCacheManagerImp.h>

Classes | |
| struct | TextureUnitParams |
Private Types | |
| typedef HashMap< GLuint, GLuint > | GLBindingMap |
| typedef HashMap< GLenum, GLint > | TexParameteriMap |
| typedef HashMap< GLuint, TextureUnitParams > | TexUnitsMap |
Private Attributes | |
| GLBindingMap | mActiveBufferMap |
| A map of different buffer types and the currently bound buffer for each type. More... | |
| GLBindingMap | mActiveTextureMap |
| A map of different texture types and the currently bound texture for each type. More... | |
| unsigned char | mActiveTextureUnit |
| Stores the currently active texture unit. More... | |
| GLenum | mBlendEquation |
| Stores the current blend equation. More... | |
| GLenum | mBlendFuncDest |
| GLenum | mBlendFuncSrc |
| Stores the current blend 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< GLenum >::type | mEnableVector |
| Array of each OpenGL feature that is enabled i.e. blending, depth test, etc. More... | |
| GLuint | mLastBoundedTexID |
| Stores the last bounded 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.
Definition at line 41 of file OgreGLESNullStateCacheManagerImp.h.
|
private |
Definition at line 44 of file OgreGLESStateCacheManagerImp.h.
|
private |
Definition at line 45 of file OgreGLESStateCacheManagerImp.h.
|
private |
Definition at line 57 of file OgreGLESStateCacheManagerImp.h.
| Ogre::GLESStateCacheManagerImp::GLESStateCacheManagerImp | ( | void | ) |
| Ogre::GLESStateCacheManagerImp::~GLESStateCacheManagerImp | ( | void | ) |
| Ogre::GLESStateCacheManagerImp::GLESStateCacheManagerImp | ( | void | ) |
| Ogre::GLESStateCacheManagerImp::~GLESStateCacheManagerImp | ( | void | ) |
| bool Ogre::GLESStateCacheManagerImp::activateGLTextureUnit | ( | unsigned char | unit | ) |
| bool Ogre::GLESStateCacheManagerImp::activateGLTextureUnit | ( | unsigned char | unit | ) |
| void Ogre::GLESStateCacheManagerImp::bindGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| GLenum | attach = 0, |
||
| bool | force = false |
||
| ) |
| void Ogre::GLESStateCacheManagerImp::bindGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| GLenum | attach = 0, |
||
| bool | force = false |
||
| ) |
| void Ogre::GLESStateCacheManagerImp::bindGLTexture | ( | GLenum | target, |
| GLuint | texture | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::bindGLTexture | ( | GLenum | target, |
| GLuint | texture | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::clearCache | ( | ) |
| void Ogre::GLESStateCacheManagerImp::clearCache | ( | ) |
| void Ogre::GLESStateCacheManagerImp::deleteGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| GLenum | attach = 0, |
||
| bool | force = false |
||
| ) |
| void Ogre::GLESStateCacheManagerImp::deleteGLBuffer | ( | GLenum | target, |
| GLuint | buffer, | ||
| GLenum | attach = 0, |
||
| bool | force = false |
||
| ) |
| GLenum Ogre::GLESStateCacheManagerImp::getBlendEquation | ( | void | ) | const |
See GLESStateCacheManager.getBlendEquation.
Definition at line 93 of file OgreGLESNullStateCacheManagerImp.h.
References mBlendEquation.
| GLenum Ogre::GLESStateCacheManagerImp::getBlendEquation | ( | void | ) | const |
See GLESStateCacheManager.getBlendEquation.
Definition at line 126 of file OgreGLESStateCacheManagerImp.h.
| GLclampf Ogre::GLESStateCacheManagerImp::getClearDepth | ( | void | ) | const |
See GLESStateCacheManager.getClearDepth.
Definition at line 114 of file OgreGLESNullStateCacheManagerImp.h.
References mClearDepth.
| GLclampf Ogre::GLESStateCacheManagerImp::getClearDepth | ( | void | ) | const |
See GLESStateCacheManager.getClearDepth.
Definition at line 147 of file OgreGLESStateCacheManagerImp.h.
| vector<GLboolean>::type& Ogre::GLESStateCacheManagerImp::getColourMask | ( | void | ) |
See GLESStateCacheManager.getColourMask.
Definition at line 123 of file OgreGLESNullStateCacheManagerImp.h.
References mColourMask.
| vector<GLboolean>::type& Ogre::GLESStateCacheManagerImp::getColourMask | ( | void | ) |
See GLESStateCacheManager.getColourMask.
Definition at line 156 of file OgreGLESStateCacheManagerImp.h.
| GLenum Ogre::GLESStateCacheManagerImp::getCullFace | ( | void | ) | const |
See GLESStateCacheManager.getCullFace.
Definition at line 153 of file OgreGLESNullStateCacheManagerImp.h.
References mCullFace.
| GLenum Ogre::GLESStateCacheManagerImp::getCullFace | ( | void | ) | const |
See GLESStateCacheManager.getCullFace.
Definition at line 186 of file OgreGLESStateCacheManagerImp.h.
| GLenum Ogre::GLESStateCacheManagerImp::getDepthFunc | ( | void | ) | const |
See GLESStateCacheManager.getDepthFunc.
Definition at line 108 of file OgreGLESNullStateCacheManagerImp.h.
References mDepthFunc.
| GLenum Ogre::GLESStateCacheManagerImp::getDepthFunc | ( | void | ) | const |
See GLESStateCacheManager.getDepthFunc.
Definition at line 141 of file OgreGLESStateCacheManagerImp.h.
| GLboolean Ogre::GLESStateCacheManagerImp::getDepthMask | ( | void | ) | const |
See GLESStateCacheManager.getDepthMask.
Definition at line 102 of file OgreGLESNullStateCacheManagerImp.h.
References mDepthMask.
| GLboolean Ogre::GLESStateCacheManagerImp::getDepthMask | ( | void | ) | const |
See GLESStateCacheManager.getDepthMask.
Definition at line 135 of file OgreGLESStateCacheManagerImp.h.
| unsigned int Ogre::GLESStateCacheManagerImp::getDiscardBuffers | ( | void | ) | const |
See GLESStateCacheManager.getDiscardBuffers.
Definition at line 141 of file OgreGLESNullStateCacheManagerImp.h.
References mDiscardBuffers.
| unsigned int Ogre::GLESStateCacheManagerImp::getDiscardBuffers | ( | void | ) | const |
See GLESStateCacheManager.getDiscardBuffers.
Definition at line 174 of file OgreGLESStateCacheManagerImp.h.
| GLenum Ogre::GLESStateCacheManagerImp::getPolygonMode | ( | void | ) | const |
See GLESStateCacheManager.getPolygonMode.
Definition at line 147 of file OgreGLESNullStateCacheManagerImp.h.
References mPolygonMode.
| GLenum Ogre::GLESStateCacheManagerImp::getPolygonMode | ( | void | ) | const |
See GLESStateCacheManager.getPolygonMode.
Definition at line 180 of file OgreGLESStateCacheManagerImp.h.
| GLuint Ogre::GLESStateCacheManagerImp::getStencilMask | ( | void | ) | const |
See GLESStateCacheManager.getStencilMask.
Definition at line 129 of file OgreGLESNullStateCacheManagerImp.h.
References mStencilMask.
| GLuint Ogre::GLESStateCacheManagerImp::getStencilMask | ( | void | ) | const |
See GLESStateCacheManager.getStencilMask.
Definition at line 162 of file OgreGLESStateCacheManagerImp.h.
| void Ogre::GLESStateCacheManagerImp::initializeCache | ( | ) |
| void Ogre::GLESStateCacheManagerImp::initializeCache | ( | ) |
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
| void Ogre::GLESStateCacheManagerImp::setBlendEquation | ( | GLenum | eq | ) |
| void Ogre::GLESStateCacheManagerImp::setBlendEquation | ( | GLenum | eq | ) |
| void Ogre::GLESStateCacheManagerImp::setBlendFunc | ( | GLenum | source, |
| GLenum | dest | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setBlendFunc | ( | GLenum | source, |
| GLenum | dest | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setClearColour | ( | GLclampf | red, |
| GLclampf | green, | ||
| GLclampf | blue, | ||
| GLclampf | alpha | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setClearColour | ( | GLclampf | red, |
| GLclampf | green, | ||
| GLclampf | blue, | ||
| GLclampf | alpha | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setClearDepth | ( | GLclampf | depth | ) |
| void Ogre::GLESStateCacheManagerImp::setClearDepth | ( | GLclampf | depth | ) |
| void Ogre::GLESStateCacheManagerImp::setColourMask | ( | GLboolean | red, |
| GLboolean | green, | ||
| GLboolean | blue, | ||
| GLboolean | alpha | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setColourMask | ( | GLboolean | red, |
| GLboolean | green, | ||
| GLboolean | blue, | ||
| GLboolean | alpha | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setCullFace | ( | GLenum | face | ) |
| void Ogre::GLESStateCacheManagerImp::setCullFace | ( | GLenum | face | ) |
| void Ogre::GLESStateCacheManagerImp::setDepthFunc | ( | GLenum | func | ) |
| void Ogre::GLESStateCacheManagerImp::setDepthFunc | ( | GLenum | func | ) |
| void Ogre::GLESStateCacheManagerImp::setDepthMask | ( | GLboolean | mask | ) |
| void Ogre::GLESStateCacheManagerImp::setDepthMask | ( | GLboolean | mask | ) |
| void Ogre::GLESStateCacheManagerImp::setDisabled | ( | GLenum | flag | ) |
| void Ogre::GLESStateCacheManagerImp::setDisabled | ( | GLenum | flag | ) |
| void Ogre::GLESStateCacheManagerImp::setDiscardBuffers | ( | unsigned int | flags | ) |
See GLESStateCacheManager.setDiscardBuffers.
Definition at line 144 of file OgreGLESNullStateCacheManagerImp.h.
References mDiscardBuffers.
| void Ogre::GLESStateCacheManagerImp::setDiscardBuffers | ( | unsigned int | flags | ) |
See GLESStateCacheManager.setDiscardBuffers.
Definition at line 177 of file OgreGLESStateCacheManagerImp.h.
| void Ogre::GLESStateCacheManagerImp::setEnabled | ( | GLenum | flag | ) |
| void Ogre::GLESStateCacheManagerImp::setEnabled | ( | GLenum | flag | ) |
| void Ogre::GLESStateCacheManagerImp::setPolygonMode | ( | GLenum | mode | ) |
See GLESStateCacheManager.setPolygonMode.
Definition at line 150 of file OgreGLESNullStateCacheManagerImp.h.
References mPolygonMode.
| void Ogre::GLESStateCacheManagerImp::setPolygonMode | ( | GLenum | mode | ) |
See GLESStateCacheManager.setPolygonMode.
Definition at line 183 of file OgreGLESStateCacheManagerImp.h.
| void Ogre::GLESStateCacheManagerImp::setStencilMask | ( | GLuint | mask | ) |
| void Ogre::GLESStateCacheManagerImp::setStencilMask | ( | GLuint | mask | ) |
| void Ogre::GLESStateCacheManagerImp::setTexParameteri | ( | GLenum | target, |
| GLenum | pname, | ||
| GLint | param | ||
| ) |
| void Ogre::GLESStateCacheManagerImp::setTexParameteri | ( | GLenum | target, |
| GLenum | pname, | ||
| GLint | param | ||
| ) |
|
private |
A map of different buffer types and the currently bound buffer for each type.
Definition at line 65 of file OgreGLESStateCacheManagerImp.h.
|
private |
A map of different texture types and the currently bound texture for each type.
Definition at line 67 of file OgreGLESStateCacheManagerImp.h.
|
private |
Stores the currently active texture unit.
Definition at line 61 of file OgreGLESNullStateCacheManagerImp.h.
|
private |
Stores the current blend equation.
Definition at line 53 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getBlendEquation().
|
private |
Definition at line 84 of file OgreGLESStateCacheManagerImp.h.
|
private |
Stores the current blend function.
Definition at line 83 of file OgreGLESStateCacheManagerImp.h.
|
private |
Stores the current clear colour.
Definition at line 45 of file OgreGLESNullStateCacheManagerImp.h.
|
private |
Stores the current depth clearing colour.
Definition at line 65 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getClearDepth().
|
private |
Stores the current colour write mask.
Definition at line 47 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getColourMask().
|
private |
Stores the current face culling setting.
Definition at line 55 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getCullFace().
|
private |
Stores the current depth test function.
Definition at line 57 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getDepthFunc().
|
private |
Stores the current depth write mask.
Definition at line 49 of file OgreGLESNullStateCacheManagerImp.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 OgreGLESNullStateCacheManagerImp.h.
Referenced by getDiscardBuffers(), and setDiscardBuffers().
|
private |
Array of each OpenGL feature that is enabled i.e. blending, depth test, etc.
Definition at line 71 of file OgreGLESStateCacheManagerImp.h.
|
private |
Stores the last bounded texture id.
Definition at line 86 of file OgreGLESStateCacheManagerImp.h.
|
private |
Stores the current polygon rendering mode.
Definition at line 51 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getPolygonMode(), and setPolygonMode().
|
private |
Stores the current stencil mask.
Definition at line 59 of file OgreGLESNullStateCacheManagerImp.h.
Referenced by getStencilMask().
|
private |
A map of texture parameters for each texture unit.
Definition at line 69 of file OgreGLESStateCacheManagerImp.h.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri Feb 15 2019 14:33:40