#include <lltexlayer.h>
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 661 of file lltexlayer.cpp.
LLTexLayerSet::~LLTexLayerSet | ( | ) |
LLTexLayerSetInfo* LLTexLayerSet::getInfo | ( | ) | const [inline] |
Definition at line 258 of file lltexlayer.h.
References mInfo.
Referenced by render().
BOOL LLTexLayerSet::setInfo | ( | LLTexLayerSetInfo * | info | ) |
Definition at line 681 of file lltexlayer.cpp.
References FALSE, llassert, mInfo, LLTexLayerSetInfo::mLayerInfoList, mLayerList, NULL, requestUpdate(), LLTexLayer::setInfo(), stop_glerror, and TRUE.
Referenced by LLVOAvatar::loadAvatar().
Definition at line 753 of file lltexlayer.cpp.
References LLImageGL::bind(), LLGLImmediate::blendFunc(), LLGLImmediate::color4f(), FALSE, LLGLImmediate::flush(), LLTexStaticImageList::getImageGL(), getInfo(), LLTexLayer::getRenderPass(), gGL, gl_rect_2d_simple(), gl_rect_2d_simple_tex(), gTexStaticImageList, mLayerList, LLTexLayer::render(), RP_COLOR, stop_glerror, TRUE, and LLImageGL::unbindTexture().
Referenced by LLTexLayerSetBuffer::render().
Definition at line 818 of file lltexlayer.cpp.
References LLGLImmediate::color4f(), LLTexLayer::getRenderPass(), gGL, gl_rect_2d_simple(), mLayerList, LLTexLayer::render(), RP_BUMP, stop_glerror, and TRUE.
Referenced by LLTexLayerSetBuffer::render().
BOOL LLTexLayerSet::isBodyRegion | ( | const char * | region | ) | [inline] |
Definition at line 264 of file lltexlayer.h.
References LLTexLayerSetInfo::mBodyRegion, and mInfo.
Referenced by LLVOAvatar::loadAvatar().
LLTexLayerSetBuffer * LLTexLayerSet::getComposite | ( | ) |
Definition at line 909 of file lltexlayer.cpp.
References createComposite(), and mComposite.
Referenced by LLViewerJointMesh::drawShape(), LLVOAvatar::hasPendingBakedUploads(), and LLVOAvatar::updateMeshTextures().
void LLTexLayerSet::requestUpdate | ( | ) |
Definition at line 849 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 858 of file lltexlayer.cpp.
References createComposite(), mComposite, and LLTexLayerSetBuffer::requestUpload().
Referenced by LLVOAvatar::invalidateComposite(), and LLVOAvatar::requestLayerSetUploads().
void LLTexLayerSet::cancelUpload | ( | ) |
Definition at line 864 of file lltexlayer.cpp.
References LLTexLayerSetBuffer::cancelUpload(), and mComposite.
Referenced by LLVOAvatar::forceBakeAllTextures(), and LLVOAvatar::setCachedBakedTexture().
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(), LLTexLayer::setInfo(), and LLTexLayerParamAlpha::setWeight().
void LLTexLayerSet::updateComposite | ( | ) |
Definition at line 903 of file lltexlayer.cpp.
References createComposite(), mComposite, and LLTexLayerSetBuffer::updateImmediate().
Referenced by LLVOAvatar::updateComposites().
BOOL LLTexLayerSet::isLocalTextureDataAvailable | ( | ) |
Definition at line 740 of file lltexlayer.cpp.
References LLVOAvatar::isLocalTextureDataAvailable(), and mAvatar.
Referenced by LLTexLayerSetBuffer::needsRender().
BOOL LLTexLayerSet::isLocalTextureDataFinal | ( | ) |
Definition at line 747 of file lltexlayer.cpp.
References LLVOAvatar::isLocalTextureDataFinal(), and mAvatar.
Referenced by LLTexLayerSetBuffer::needsRender(), and LLTexLayerSetBuffer::render().
void LLTexLayerSet::createComposite | ( | ) |
Definition at line 872 of file lltexlayer.cpp.
References mAvatar, mComposite, mHasBump, LLTexLayerSetInfo::mHeight, mInfo, LLVOAvatar::mIsSelf, LLTexLayerSetInfo::mWidth, and S32.
Referenced by getComposite(), requestUpdate(), requestUpload(), updateComposite(), and LLVOAvatar::updateMeshTextures().
void LLTexLayerSet::destroyComposite | ( | ) |
Definition at line 888 of file lltexlayer.cpp.
References mComposite, and NULL.
Referenced by LLVOAvatar::updateMeshTextures(), and LLVOAvatar::useBakedTexture().
void LLTexLayerSet::setUpdatesEnabled | ( | BOOL | b | ) |
Definition at line 897 of file lltexlayer.cpp.
References mUpdatesEnabled.
Referenced by LLVOAvatar::forceBakeAllTextures(), LLVOAvatar::setCompositeUpdatesEnabled(), LLVOAvatar::setupComposites(), and LLVOAvatar::updateMeshTextures().
BOOL LLTexLayerSet::getUpdatesEnabled | ( | ) | [inline] |
Definition at line 276 of file lltexlayer.h.
References mUpdatesEnabled.
Referenced by LLVOAvatar::invalidateComposite().
void LLTexLayerSet::deleteCaches | ( | ) |
Definition at line 730 of file lltexlayer.cpp.
References LLTexLayer::deleteCaches(), and mLayerList.
Referenced by LLVOAvatar::deleteLayerSetCaches(), and LLTexLayerSetBuffer::readBackAndUpload().
Definition at line 915 of file lltexlayer.cpp.
References LLTexLayer::findNetColor(), LLTexLayer::getAlphaData(), LLDynamicTexture::getOriginX(), LLDynamicTexture::getOriginY(), LLTexLayer::hasAlphaParams(), i, LLTexLayer::invalidateMorphMasks(), mComposite, mLayerList, LLTexLayer::renderAlphaMasks(), and S32.
Referenced by LLTexLayerSetBuffer::readBackAndUpload().
Definition at line 947 of file lltexlayer.cpp.
References LLTexLayer::applyMorphMask(), and mLayerList.
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().
BOOL LLTexLayerSet::hasComposite | ( | ) | [inline] |
Definition at line 281 of file lltexlayer.h.
References mComposite, and NULL.
Referenced by LLViewerJointMesh::drawShape().
void LLTexLayerSet::setBump | ( | BOOL | b | ) | [inline] |
Definition at line 282 of file lltexlayer.h.
References mHasBump.
Referenced by LLTexLayer::setInfo().
BOOL LLTexLayerSet::hasBump | ( | ) | [inline] |
BOOL LLTexLayerSet::sHasCaches = FALSE [static] |
Definition at line 286 of file lltexlayer.h.
Referenced by LLVOAvatar::deleteCachedImages(), and LLTexLayerParamAlpha::render().
layer_list_t LLTexLayerSet::mLayerList [protected] |
Definition at line 290 of file lltexlayer.h.
Referenced by applyMorphMask(), deleteCaches(), gatherAlphaMasks(), render(), renderBump(), setInfo(), and ~LLTexLayerSet().
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().
LLVOAvatar* LLTexLayerSet::mAvatar [protected] |
Definition at line 293 of file lltexlayer.h.
Referenced by createComposite(), getAvatar(), isLocalTextureDataAvailable(), and isLocalTextureDataFinal().
BOOL LLTexLayerSet::mUpdatesEnabled [protected] |
Definition at line 294 of file lltexlayer.h.
Referenced by getUpdatesEnabled(), requestUpdate(), and setUpdatesEnabled().
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().