![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qopengltexture_p.h>
Static Public Member Functions | |
static int | mipLevelSize (int mipLevel, int baseLevelSize) |
Definition at line 40 of file qopengltexture_p.h.
QOpenGLTexturePrivate::QOpenGLTexturePrivate | ( | QOpenGLTexture::Target | textureTarget, |
QOpenGLTexture * | qq ) |
Definition at line 22 of file qopengltexture.cpp.
QOpenGLTexturePrivate::~QOpenGLTexturePrivate | ( | ) |
Definition at line 102 of file qopengltexture.cpp.
References destroy().
void QOpenGLTexturePrivate::allocateImmutableStorage | ( | ) |
Definition at line 1233 of file qopengltexture.cpp.
References storageAllocated.
Referenced by allocateStorage().
void QOpenGLTexturePrivate::allocateMutableStorage | ( | QOpenGLTexture::PixelFormat | pixelFormat, |
QOpenGLTexture::PixelType | pixelType ) |
Definition at line 1082 of file qopengltexture.cpp.
References mipLevels, and storageAllocated.
void QOpenGLTexturePrivate::allocateStorage | ( | QOpenGLTexture::PixelFormat | pixelFormat, |
QOpenGLTexture::PixelType | pixelType ) |
Definition at line 472 of file qopengltexture.cpp.
References allocateImmutableStorage(), evaluateMipLevels(), isUsingImmutableStorage(), and mipLevels.
void QOpenGLTexturePrivate::bind | ( | ) |
Definition at line 211 of file qopengltexture.cpp.
void QOpenGLTexturePrivate::bind | ( | uint | unit, |
QOpenGLTexture::TextureUnitReset | reset = QOpenGLTexture::DontResetTextureUnit ) |
Definition at line 216 of file qopengltexture.cpp.
bool QOpenGLTexturePrivate::create | ( | ) |
Definition at line 124 of file qopengltexture.cpp.
References context, functions, and initializeOpenGLFunctions().
QOpenGLTexture * QOpenGLTexturePrivate::createTextureView | ( | QOpenGLTexture::Target | target, |
QOpenGLTexture::TextureFormat | viewFormat, | ||
int | minimumMipmapLevel, | ||
int | maximumMipmapLevel, | ||
int | minimumLayer, | ||
int | maximumLayer ) const |
Definition at line 1836 of file qopengltexture.cpp.
void QOpenGLTexturePrivate::destroy | ( | ) |
Definition at line 153 of file qopengltexture.cpp.
References autoGenerateMipMaps, baseLevel, context, faces, fixedSamplePositions, functions, layers, levelOfDetailBias, maxAnisotropy, maxLevel, maxLevelOfDetail, minLevelOfDetail, mipLevels, requestedMipLevels, samples, storageAllocated, texFuncs, and textureView.
Referenced by ~QOpenGLTexturePrivate().
int QOpenGLTexturePrivate::evaluateMipLevels | ( | ) | const |
Definition at line 268 of file qopengltexture.cpp.
References maximumMipLevelCount(), and requestedMipLevels.
Referenced by allocateStorage().
void QOpenGLTexturePrivate::initializeOpenGLFunctions | ( | ) |
Definition at line 107 of file qopengltexture.cpp.
References QOpenGLTextureHelper::QOpenGLTextureHelper(), context, and texFuncs.
Referenced by create().
bool QOpenGLTexturePrivate::isBound | ( | ) | const |
Definition at line 247 of file qopengltexture.cpp.
bool QOpenGLTexturePrivate::isBound | ( | uint | unit | ) | const |
Definition at line 254 of file qopengltexture.cpp.
bool QOpenGLTexturePrivate::isUsingImmutableStorage | ( | ) | const |
Definition at line 461 of file qopengltexture.cpp.
Referenced by allocateStorage(), and setCompressedData().
|
inline |
Definition at line 87 of file qopengltexture_p.h.
References dimensions.
Referenced by evaluateMipLevels().
|
inlinestatic |
Definition at line 92 of file qopengltexture_p.h.
void QOpenGLTexturePrivate::release | ( | ) |
Definition at line 229 of file qopengltexture.cpp.
void QOpenGLTexturePrivate::release | ( | uint | unit, |
QOpenGLTexture::TextureUnitReset | reset = QOpenGLTexture::DontResetTextureUnit ) |
Definition at line 234 of file qopengltexture.cpp.
void QOpenGLTexturePrivate::resetFuncs | ( | QOpenGLTextureHelper * | funcs | ) |
void QOpenGLTexturePrivate::setCompressedData | ( | int | mipLevel, |
int | layer, | ||
int | layerCount, | ||
QOpenGLTexture::CubeMapFace | cubeFace, | ||
int | dataSize, | ||
const void * | data, | ||
const QOpenGLPixelTransferOptions *const | options ) |
Definition at line 1547 of file qopengltexture.cpp.
References autoGenerateMipMaps, isUsingImmutableStorage(), and mipLevels.
void QOpenGLTexturePrivate::setData | ( | int | mipLevel, |
int | layer, | ||
int | layerCount, | ||
QOpenGLTexture::CubeMapFace | cubeFace, | ||
QOpenGLTexture::PixelFormat | sourceFormat, | ||
QOpenGLTexture::PixelType | sourceType, | ||
const void * | data, | ||
const QOpenGLPixelTransferOptions *const | options ) |
Definition at line 1327 of file qopengltexture.cpp.
References autoGenerateMipMaps, and mipLevels.
void QOpenGLTexturePrivate::setData | ( | int | xOffset, |
int | yOffset, | ||
int | zOffset, | ||
int | width, | ||
int | height, | ||
int | depth, | ||
int | mipLevel, | ||
int | layer, | ||
int | layerCount, | ||
QOpenGLTexture::CubeMapFace | cubeFace, | ||
QOpenGLTexture::PixelFormat | sourceFormat, | ||
QOpenGLTexture::PixelType | sourceType, | ||
const void * | data, | ||
const QOpenGLPixelTransferOptions *const | options ) |
Definition at line 1431 of file qopengltexture.cpp.
References autoGenerateMipMaps, and mipLevels.
void QOpenGLTexturePrivate::setWrapMode | ( | QOpenGLTexture::CoordinateDirection | direction, |
QOpenGLTexture::WrapMode | mode ) |
Definition at line 1717 of file qopengltexture.cpp.
void QOpenGLTexturePrivate::setWrapMode | ( | QOpenGLTexture::WrapMode | mode | ) |
Definition at line 1686 of file qopengltexture.cpp.
QOpenGLTexture::WrapMode QOpenGLTexturePrivate::wrapMode | ( | QOpenGLTexture::CoordinateDirection | direction | ) | const |
Definition at line 1781 of file qopengltexture.cpp.
bool QOpenGLTexturePrivate::autoGenerateMipMaps |
Definition at line 133 of file qopengltexture_p.h.
Referenced by destroy(), setCompressedData(), setData(), and setData().
int QOpenGLTexturePrivate::baseLevel |
Definition at line 115 of file qopengltexture_p.h.
Referenced by destroy().
QOpenGLTexture::BindingTarget QOpenGLTexturePrivate::bindingTarget |
Definition at line 102 of file qopengltexture_p.h.
QVariantList QOpenGLTexturePrivate::borderColor |
Definition at line 127 of file qopengltexture_p.h.
QOpenGLTexture::ComparisonFunction QOpenGLTexturePrivate::comparisonFunction |
Definition at line 120 of file qopengltexture_p.h.
QOpenGLTexture::ComparisonMode QOpenGLTexturePrivate::comparisonMode |
Definition at line 121 of file qopengltexture_p.h.
QOpenGLContext* QOpenGLTexturePrivate::context |
Definition at line 100 of file qopengltexture_p.h.
Referenced by testing.tools.safetynet_job.JobRun::_BuildRunMetadata(), testing.tools.safetynet_job.JobRun::_IncrementalRun(), testing.tools.safetynet_job.JobRun::_WriteCheckpoint(), testing.tools.safetynet_job.JobRun::_WriteRawJson(), create(), destroy(), initializeOpenGLFunctions(), and testing.tools.safetynet_job.JobRun::Run().
QOpenGLTexture::DepthStencilMode QOpenGLTexturePrivate::depthStencilMode |
Definition at line 119 of file qopengltexture_p.h.
int QOpenGLTexturePrivate::dimensions[3] |
Definition at line 106 of file qopengltexture_p.h.
Referenced by maximumMipLevelCount(), and QOpenGLTexture::operator<<.
int QOpenGLTexturePrivate::faces |
Definition at line 110 of file qopengltexture_p.h.
Referenced by destroy(), and QOpenGLTexture::operator<<.
QOpenGLTexture::Features QOpenGLTexturePrivate::features |
Definition at line 139 of file qopengltexture_p.h.
Referenced by testing.tools.test_runner._PerProcessConfig::InitializeFeatures().
bool QOpenGLTexturePrivate::fixedSamplePositions |
Definition at line 113 of file qopengltexture_p.h.
Referenced by destroy(), and QOpenGLTexture::operator<<.
QOpenGLTexture::TextureFormat QOpenGLTexturePrivate::format |
Definition at line 104 of file qopengltexture_p.h.
QOpenGLTexture::TextureFormatClass QOpenGLTexturePrivate::formatClass |
Definition at line 105 of file qopengltexture_p.h.
QOpenGLFunctions* QOpenGLTexturePrivate::functions |
int QOpenGLTexturePrivate::layers |
Definition at line 109 of file qopengltexture_p.h.
Referenced by destroy(), and QOpenGLTexture::operator<<.
float QOpenGLTexturePrivate::levelOfDetailBias |
Definition at line 130 of file qopengltexture_p.h.
Referenced by destroy().
QOpenGLTexture::Filter QOpenGLTexturePrivate::magFilter |
Definition at line 124 of file qopengltexture_p.h.
float QOpenGLTexturePrivate::maxAnisotropy |
Definition at line 125 of file qopengltexture_p.h.
Referenced by destroy().
int QOpenGLTexturePrivate::maxLevel |
Definition at line 116 of file qopengltexture_p.h.
Referenced by destroy().
float QOpenGLTexturePrivate::maxLevelOfDetail |
Definition at line 129 of file qopengltexture_p.h.
Referenced by destroy().
QOpenGLTexture::Filter QOpenGLTexturePrivate::minFilter |
Definition at line 123 of file qopengltexture_p.h.
float QOpenGLTexturePrivate::minLevelOfDetail |
Definition at line 128 of file qopengltexture_p.h.
Referenced by destroy().
int QOpenGLTexturePrivate::mipLevels |
Definition at line 108 of file qopengltexture_p.h.
Referenced by allocateMutableStorage(), allocateStorage(), destroy(), setCompressedData(), setData(), and setData().
QOpenGLTexture* QOpenGLTexturePrivate::q_ptr |
Definition at line 99 of file qopengltexture_p.h.
int QOpenGLTexturePrivate::requestedMipLevels |
Definition at line 107 of file qopengltexture_p.h.
Referenced by destroy(), evaluateMipLevels(), and QOpenGLTexture::operator<<.
int QOpenGLTexturePrivate::samples |
Definition at line 112 of file qopengltexture_p.h.
Referenced by destroy(), and QOpenGLTexture::operator<<.
bool QOpenGLTexturePrivate::storageAllocated |
Definition at line 134 of file qopengltexture_p.h.
Referenced by allocateImmutableStorage(), allocateMutableStorage(), and destroy().
QOpenGLTexture::SwizzleValue QOpenGLTexturePrivate::swizzleMask[4] |
Definition at line 118 of file qopengltexture_p.h.
QOpenGLTexture::Target QOpenGLTexturePrivate::target |
Definition at line 101 of file qopengltexture_p.h.
QOpenGLTextureHelper* QOpenGLTexturePrivate::texFuncs |
Definition at line 136 of file qopengltexture_p.h.
Referenced by bind(), destroy(), initializeOpenGLFunctions(), isBound(), and release().
GLuint QOpenGLTexturePrivate::textureId |
Definition at line 103 of file qopengltexture_p.h.
bool QOpenGLTexturePrivate::textureView |
Definition at line 132 of file qopengltexture_p.h.
Referenced by destroy().
QOpenGLTexture::WrapMode QOpenGLTexturePrivate::wrapModes[3] |
Definition at line 126 of file qopengltexture_p.h.