![]() |
Qt 4.8
|
#include <qgltexturepool_p.h>
Public Functions | |
| bool | createPermanentTexture (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data) |
| GLuint | createTexture (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, QGLTexture *texture) |
| void | detachTexture (QGLTexture *texture) |
| void | hibernate () |
| QGLTexturePool () | |
| bool | reclaimSpace (GLint internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, QGLTexture *data) |
| void | useTexture (QGLTexture *texture) |
| virtual | ~QGLTexturePool () |
Static Public Functions | |
| static QGLTexturePool * | instance () |
Protected Functions | |
| void | moveToHeadOfLRU (QGLTexture *texture) |
| void | removeFromLRU (QGLTexture *texture) |
| QGLTexture * | textureLRU () |
Properties | |
| QScopedPointer< QGLTexturePoolPrivate > | d_ptr |
Definition at line 64 of file qgltexturepool_p.h.
| QGLTexturePool::QGLTexturePool | ( | ) |
Definition at line 61 of file qgltexturepool.cpp.
Referenced by instance().
|
virtual |
Definition at line 66 of file qgltexturepool.cpp.
| bool QGLTexturePool::createPermanentTexture | ( | GLuint | texture, |
| GLenum | target, | ||
| GLint | level, | ||
| GLint | internalformat, | ||
| GLsizei | width, | ||
| GLsizei | height, | ||
| GLenum | format, | ||
| GLenum | type, | ||
| const GLvoid * | data | ||
| ) |
Definition at line 106 of file qgltexturepool.cpp.
| GLuint QGLTexturePool::createTexture | ( | GLenum | target, |
| GLint | level, | ||
| GLint | internalformat, | ||
| GLsizei | width, | ||
| GLsizei | height, | ||
| GLenum | format, | ||
| GLenum | type, | ||
| QGLTexture * | texture | ||
| ) |
Definition at line 77 of file qgltexturepool.cpp.
| void QGLTexturePool::detachTexture | ( | QGLTexture * | texture | ) |
Definition at line 139 of file qgltexturepool.cpp.
| void QGLTexturePool::hibernate | ( | ) |
Definition at line 180 of file qgltexturepool.cpp.
Referenced by QGLGraphicsSystem::createWindowSurface().
|
static |
Definition at line 70 of file qgltexturepool.cpp.
Referenced by QGLGraphicsSystem::createWindowSurface().
|
protected |
Definition at line 200 of file qgltexturepool.cpp.
Referenced by createTexture(), reclaimSpace(), and useTexture().
| bool QGLTexturePool::reclaimSpace | ( | GLint | internalformat, |
| GLsizei | width, | ||
| GLsizei | height, | ||
| GLenum | format, | ||
| GLenum | type, | ||
| QGLTexture * | data | ||
| ) |
Definition at line 145 of file qgltexturepool.cpp.
Referenced by createPermanentTexture(), and createTexture().
|
protected |
Definition at line 218 of file qgltexturepool.cpp.
Referenced by detachTexture(), moveToHeadOfLRU(), and reclaimSpace().
|
protected |
Definition at line 234 of file qgltexturepool.cpp.
Referenced by reclaimSpace().
| void QGLTexturePool::useTexture | ( | QGLTexture * | texture | ) |
Definition at line 133 of file qgltexturepool.cpp.
|
private |
Definition at line 136 of file qgltexturepool_p.h.