29 #ifndef __GLES2HardwareBufferManager_H__
30 #define __GLES2HardwareBufferManager_H__
36 class GLES2StateCacheManager;
64 bool useShadowBuffer,
size_t binding,
const String& name =
"");
67 bool useShadowBuffer =
false,
const String& name =
"");
70 static GLenum getGLUsage(
unsigned int usage);
73 static GLenum getGLType(
unsigned int type);
Singleton wrapper for hardware buffer manager.
Shared pointer implementation used to share vertex buffers.
Combination of HBU_DYNAMIC, HBU_WRITE_ONLY and HBU_DISCARDABLE.
GLES2HardwareBufferManagerBase as a Singleton.
An in memory cache of the OpenGL ES state.
Shared pointer implementation used to share index buffers.
~GLES2HardwareBufferManager()
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Base definition of a hardware buffer manager.
Usage
Enums describing buffer usage; not mutually exclusive.
static GLenum getGLUsage(unsigned int usage)
Utility function to get the correct GL usage based on HBU's.
Implementation of HardwareBufferManager for OpenGL ES.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Shared pointer implementation used to share counter buffers.
static GLenum getGLType(unsigned int type)
Utility function to get the correct GL type based on VET's.
Reference-counted shared pointer, used for objects where implicit destruction is required.
GLES2HardwareBufferManager()
GLES2StateCacheManager * mStateCacheManager
GLES2StateCacheManager * getStateCacheManager()