![]() |
Qt 4.8
|
#include <qgl_p.h>
Public Functions | |
| QGLTexture (QGLContext *ctx=0, GLuint tx_id=0, GLenum tx_target=GL_TEXTURE_2D, QGLContext::BindOptions opt=QGLContext::DefaultBindOption) | |
| ~QGLTexture () | |
| bool | canBindCompressedTexture (const char *buf, int len, const char *format, bool *hasAlpha) |
| QSize | bindCompressedTexture (const QString &fileName, const char *format=0) |
| QSize | bindCompressedTexture (const char *buf, int len, const char *format=0) |
| QSize | bindCompressedTextureDDS (const char *buf, int len) |
| QSize | bindCompressedTexturePVR (const char *buf, int len) |
Public Variables | |
| QPixmapData * | boundPixmap |
| QGLContext * | context |
| GLuint | id |
| QGLContext::BindOptions | options |
| GLenum | target |
|
inline |
|
inline |
Definition at line 593 of file qgl_p.h.
Definition at line 5996 of file qgl.cpp.
Referenced by QGLPixmapData::fromData(), and QGLPixmapData::fromFile().
| QSize QGLTexture::bindCompressedTexture | ( | const char * | buf, |
| int | len, | ||
| const char * | format = 0 |
||
| ) |
Definition at line 6097 of file qgl.cpp.
| QSize QGLTexture::bindCompressedTextureDDS | ( | const char * | buf, |
| int | len | ||
| ) |
Definition at line 6138 of file qgl.cpp.
| QSize QGLTexture::bindCompressedTexturePVR | ( | const char * | buf, |
| int | len | ||
| ) |
Definition at line 6213 of file qgl.cpp.
| bool QGLTexture::canBindCompressedTexture | ( | const char * | buf, |
| int | len, | ||
| const char * | format, | ||
| bool * | hasAlpha | ||
| ) |
Definition at line 6057 of file qgl.cpp.
Referenced by QGLPixmapData::fromData(), and QGLPixmapData::fromFile().
| QPixmapData* QGLTexture::boundPixmap |
Definition at line 614 of file qgl_p.h.
Referenced by QGLTexturePool::hibernate(), and QGLTexturePool::reclaimSpace().
| QGLContext* QGLTexture::context |
| GLuint QGLTexture::id |
Definition at line 608 of file qgl_p.h.
Referenced by QGLPixmapData::bind(), QGLPixmapData::copy(), QGLPixmapData::copyBackFromRenderFbo(), QGLPixmapData::createPixmapForImage(), QGL2PaintEngineEx::drawImage(), QGL2PaintEngineEx::drawPixmap(), QGL2PaintEngineExPrivate::drawPixmapFragments(), QGLPixmapData::ensureCreated(), QGLPixmapData::fill(), QMeeGoPixmapData::fromTexture(), QMeeGoLivePixmapData::initializeThroughEGLImage(), QGLPixmapData::resize(), QGLPixmapData::toImage(), and QGLPixmapData::~QGLPixmapData().
| QGLContext::BindOptions QGLTexture::options |
Definition at line 611 of file qgl_p.h.
Referenced by QGLContextPrivate::bindTextureFromNativePixmap(), QGL2PaintEngineEx::drawPixmap(), QGL2PaintEngineExPrivate::drawPixmapFragments(), QOpenGLPaintEngine::drawTextureRect(), QOpenGLPaintEngine::drawTiledPixmap(), QGLPixmapData::ensureCreated(), QMeeGoPixmapData::fromEGLSharedImage(), QMeeGoLivePixmapData::initializeThroughEGLImage(), and QGL2PaintEngineExPrivate::updateBrushTexture().