#include <lltexlayer.h>
Collaboration diagram for LLTexLayerSet:
Definition at line 251 of file lltexlayer.h.
typedef std::vector<LLTexLayer *> LLTexLayerSet::layer_list_t [protected] |
Definition at line 289 of file lltexlayer.h.
LLTexLayerSet::LLTexLayerSet | ( | LLVOAvatar * | avatar | ) |
Definition at line 666 of file lltexlayer.cpp.
LLTexLayerSet::~LLTexLayerSet | ( | ) |
void LLTexLayerSet::cancelUpload | ( | ) |
Definition at line 898 of file lltexlayer.cpp.
References LLTexLayerSetBuffer::cancelUpload(), and mComposite.
Referenced by LLVOAvatar::forceBakeAllTextures(), and LLVOAvatar::setCachedBakedTexture().
void LLTexLayerSet::createComposite | ( | ) |
Definition at line 906 of file lltexlayer.cpp.
References height, mAvatar, mComposite, mHasBump, LLTexLayerSetInfo::mHeight, mInfo, LLVOAvatar::mIsSelf, LLTexLayerSetInfo::mWidth, S32, and width.
Referenced by getComposite(), requestUpdate(), requestUpload(), updateComposite(), and LLVOAvatar::updateMeshTextures().
void LLTexLayerSet::deleteCaches | ( | ) |
Definition at line 735 of file lltexlayer.cpp.
References mLayerList.
Referenced by LLVOAvatar::deleteLayerSetCaches(), and LLTexLayerSetBuffer::readBackAndUpload().
void LLTexLayerSet::destroyComposite | ( | ) |
Definition at line 922 of file lltexlayer.cpp.
References mComposite, and NULL.
Referenced by LLVOAvatar::updateMeshTextures(), and LLVOAvatar::useBakedTexture().
Definition at line 949 of file lltexlayer.cpp.
References LLDynamicTexture::getOriginX(), LLDynamicTexture::getOriginY(), i, mComposite, mLayerList, S32, and size.
Referenced by LLTexLayerSetBuffer::readBackAndUpload().
LLVOAvatar* LLTexLayerSet::getAvatar | ( | ) | [inline] |
Definition at line 269 of file lltexlayer.h.
References mAvatar.
Referenced by LLTexLayer::findNetColor(), LLTexLayer::getAlphaData(), LLTexLayerParamAlpha::getSkip(), LLTexLayerSetBuffer::needsRender(), LLTexLayerSetBuffer::readBackAndUpload(), LLTexLayerParamAlpha::render(), LLTexLayer::render(), LLTexLayer::renderAlphaMasks(), LLTexLayer::renderImageRaw(), LLTexLayerParamAlpha::setInfo(), and LLTexLayerParamAlpha::setWeight().
const LLString& LLTexLayerSet::getBodyRegion | ( | ) | [inline] |
Definition at line 280 of file lltexlayer.h.
References LLTexLayerSetInfo::mBodyRegion, and mInfo.
Referenced by LLTexLayerSetBuffer::readBackAndUpload(), and LLTexLayerSetBuffer::render().
LLTexLayerSetBuffer * LLTexLayerSet::getComposite | ( | ) |
Definition at line 943 of file lltexlayer.cpp.
References createComposite(), and mComposite.
Referenced by LLViewerJointMesh::drawShape(), LLVOAvatar::hasPendingBakedUploads(), and LLVOAvatar::updateMeshTextures().
LLTexLayerSetInfo* LLTexLayerSet::getInfo | ( | ) | const [inline] |
BOOL LLTexLayerSet::getUpdatesEnabled | ( | ) | [inline] |
Definition at line 276 of file lltexlayer.h.
References mUpdatesEnabled.
Referenced by LLVOAvatar::invalidateComposite().
BOOL LLTexLayerSet::hasBump | ( | ) | [inline] |
BOOL LLTexLayerSet::hasComposite | ( | ) | [inline] |
Definition at line 281 of file lltexlayer.h.
References mComposite, and NULL.
Referenced by LLViewerJointMesh::drawShape().
BOOL LLTexLayerSet::isBodyRegion | ( | const char * | region | ) | [inline] |
Definition at line 264 of file lltexlayer.h.
References LLTexLayerSetInfo::mBodyRegion, and mInfo.
Referenced by LLVOAvatar::loadAvatar().
BOOL LLTexLayerSet::isLocalTextureDataAvailable | ( | ) |
Definition at line 745 of file lltexlayer.cpp.
References LLVOAvatar::isLocalTextureDataAvailable(), and mAvatar.
Referenced by LLTexLayerSetBuffer::needsRender().
BOOL LLTexLayerSet::isLocalTextureDataFinal | ( | ) |
Definition at line 752 of file lltexlayer.cpp.
References LLVOAvatar::isLocalTextureDataFinal(), and mAvatar.
Referenced by LLTexLayerSetBuffer::needsRender(), and LLTexLayerSetBuffer::render().
Definition at line 758 of file lltexlayer.cpp.
References LLImageGL::bind(), f, FALSE, LLTexStaticImageList::getImageGL(), getInfo(), gl_rect_2d_simple(), gl_rect_2d_simple_tex(), glBlendFunc, glColor4f, glGetBooleanv, gTexStaticImageList, mask, mLayerList, RP_COLOR, stop_glerror, TRUE, and LLImageGL::unbindTexture().
Referenced by LLTexLayerSetBuffer::render().
Definition at line 841 of file lltexlayer.cpp.
References f, gl_rect_2d_simple(), glColor4f, glGetBooleanv, mask, mLayerList, RP_BUMP, stop_glerror, and TRUE.
Referenced by LLTexLayerSetBuffer::render().
void LLTexLayerSet::requestUpdate | ( | ) |
Definition at line 883 of file lltexlayer.cpp.
References createComposite(), mComposite, mUpdatesEnabled, and LLTexLayerSetBuffer::requestUpdate().
Referenced by LLVOAvatar::invalidateComposite(), LLVOAvatar::requestLayerSetUpdate(), LLTexLayer::requestUpdate(), and setInfo().
void LLTexLayerSet::requestUpload | ( | ) |
Definition at line 892 of file lltexlayer.cpp.
References createComposite(), mComposite, and LLTexLayerSetBuffer::requestUpload().
Referenced by LLVOAvatar::invalidateComposite(), and LLVOAvatar::requestLayerSetUploads().
Definition at line 282 of file lltexlayer.h.
References mHasBump.
Referenced by LLTexLayer::setInfo().
BOOL LLTexLayerSet::setInfo | ( | LLTexLayerSetInfo * | info | ) |
Definition at line 686 of file lltexlayer.cpp.
References FALSE, llassert, mInfo, LLTexLayerSetInfo::mLayerInfoList, mLayerList, NULL, requestUpdate(), stop_glerror, and TRUE.
Referenced by LLVOAvatar::loadAvatar().
Definition at line 931 of file lltexlayer.cpp.
References mUpdatesEnabled.
Referenced by LLVOAvatar::forceBakeAllTextures(), LLVOAvatar::setCompositeUpdatesEnabled(), LLVOAvatar::setupComposites(), and LLVOAvatar::updateMeshTextures().
void LLTexLayerSet::updateComposite | ( | ) |
Definition at line 937 of file lltexlayer.cpp.
References createComposite(), mComposite, and LLTexLayerSetBuffer::updateImmediate().
Referenced by LLVOAvatar::updateComposites().
LLVOAvatar* LLTexLayerSet::mAvatar [protected] |
Definition at line 293 of file lltexlayer.h.
Referenced by createComposite(), getAvatar(), isLocalTextureDataAvailable(), and isLocalTextureDataFinal().
LLTexLayerSetBuffer* LLTexLayerSet::mComposite [protected] |
Definition at line 291 of file lltexlayer.h.
Referenced by cancelUpload(), createComposite(), destroyComposite(), gatherAlphaMasks(), getComposite(), hasComposite(), requestUpdate(), requestUpload(), updateComposite(), and ~LLTexLayerSet().
BOOL LLTexLayerSet::mHasBump [protected] |
Definition at line 295 of file lltexlayer.h.
Referenced by createComposite(), hasBump(), and setBump().
LLTexLayerSetInfo* LLTexLayerSet::mInfo [protected] |
Definition at line 297 of file lltexlayer.h.
Referenced by createComposite(), getBodyRegion(), getInfo(), isBodyRegion(), and setInfo().
layer_list_t LLTexLayerSet::mLayerList [protected] |
Definition at line 290 of file lltexlayer.h.
Referenced by applyMorphMask(), deleteCaches(), gatherAlphaMasks(), render(), renderBump(), setInfo(), and ~LLTexLayerSet().
BOOL LLTexLayerSet::mUpdatesEnabled [protected] |
Definition at line 294 of file lltexlayer.h.
Referenced by getUpdatesEnabled(), requestUpdate(), and setUpdatesEnabled().
BOOL LLTexLayerSet::sHasCaches = FALSE [static] |
Definition at line 286 of file lltexlayer.h.
Referenced by LLVOAvatar::deleteCachedImages(), and LLTexLayerParamAlpha::render().