30 #ifndef __GLESTexture_H__
31 #define __GLESTexture_H__
51 void createRenderTexture();
56 GLenum getGLESTextureTarget(
void)
const;
65 void createInternalResourcesImpl(
void);
67 void prepareImpl(
void);
69 void unprepareImpl(
void);
73 void freeInternalResourcesImpl(
void);
80 void _createSurfaceList();
96 typedef std::vector<HardwarePixelBufferSharedPtr>
SurfaceList;
138 if (pRep == static_cast<GLESTexture*>(r.
getPointer()))
158 assert(r.
isNull() &&
"RHS must be null if it has no mutex!");
167 if (pRep == static_cast<GLESTexture*>(r.
getPointer()))
185 assert(r.
isNull() &&
"RHS must be null if it has no mutex!");
LoadedImages mLoadedImages
Vector of images that were pulled from disk by prepareLoad but have yet to be pushed into texture mem...
GLESTexturePtr & operator=(const TexturePtr &r)
Operator used to convert a TexturePtr to a GLESTexturePtr.
#define OGRE_MUTEX_CONDITIONAL(name)
SharedPtr< std::vector< Image > > LoadedImages
Used to hold images between calls to prepare and load.
Interface describing a manual resource loader.
GLESTexturePtr & operator=(const ResourcePtr &r)
Operator used to convert a ResourcePtr to a GLESTexturePtr.
Specialisation of SharedPtr to allow SharedPtr to be assigned to TexturePtr.
Shared pointer implementation used to share pixel buffers.
unsigned long long int ResourceHandle
#define OGRE_LOCK_MUTEX(name)
GLESTexturePtr(GLESTexture *rep)
Specialisation of SharedPtr to allow SharedPtr to be assigned to GLESTexturePtr.
Defines a generic resource handler.
unsigned int * useCountPointer() const
Reference-counted shared pointer, used for objects where implicit destruction is required.
std::vector< HardwarePixelBufferSharedPtr > SurfaceList
Vector of pointers to subsurfaces.
Abstract class representing a Texture resource.
#define OGRE_COPY_AUTO_SHARED_MUTEX(from)
GLESTexturePtr(const ResourcePtr &r)
GLESTexturePtr(const TexturePtr &r)
GLESTexturePtr(const GLESTexturePtr &r)