#include <llface.h>
Definition at line 61 of file llface.h.
enum LLFace::EMasks |
LLFace::LLFace | ( | LLDrawable * | drawablep, | |
LLViewerObject * | objp | |||
) | [inline] |
LLFace::~LLFace | ( | ) | [inline] |
void LLFace::initClass | ( | ) | [static] |
Definition at line 198 of file llface.cpp.
Referenced by idle_startup().
const LLMatrix4& LLFace::getWorldMatrix | ( | ) | const [inline] |
const LLMatrix4 & LLFace::getRenderMatrix | ( | ) | const |
Definition at line 1234 of file llface.cpp.
References mDrawablep.
Referenced by getPositionAgent(), renderElements(), renderForSelect(), renderSelectedUV(), and updateCenterAgent().
U32 LLFace::getIndicesCount | ( | ) | const [inline] |
Definition at line 83 of file llface.h.
References mIndicesCount.
Referenced by LLGeometryManager::addGeometryCount(), LLParticlePartition::addGeometryCount(), LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), printDebugInfo(), pushVerts(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), renderOctree(), renderSelectedUV(), LLVOWater::updateGeometry(), LLVOGround::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOSky::updateReflectionGeometry(), and verify().
S32 LLFace::getIndicesStart | ( | ) | const [inline] |
Definition at line 84 of file llface.h.
References mIndicesIndex.
Referenced by LLParticlePartition::getGeometry(), pushVerts(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), renderOctree(), and renderSelectedUV().
U16 LLFace::getGeomCount | ( | ) | const [inline] |
Definition at line 85 of file llface.h.
References mGeomCount.
Referenced by LLGeometryManager::addGeometryCount(), LLParticlePartition::addGeometryCount(), LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), LLFace::CompareTextureAndGeomCount::operator()(), pushVerts(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), LLDrawPoolWater::render(), LLDrawPoolWLSky::renderHeavenlyBodies(), LLDrawPoolSky::renderHeavenlyBody(), LLDrawPoolWater::renderReflection(), LLDrawPoolSky::renderSkyCubeFace(), LLDrawPoolSky::renderSunHalo(), LLVOWater::updateGeometry(), LLVOGround::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), and LLVOSky::updateReflectionGeometry().
U16 LLFace::getGeomIndex | ( | ) | const [inline] |
Definition at line 86 of file llface.h.
References mGeomIndex.
Referenced by LLVOSurfacePatch::getGeometry(), LLParticlePartition::getGeometry(), LLVOGrass::getGeometry(), LLVOClouds::getGeometry(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), and LLVOAvatar::updateMeshData().
U16 LLFace::getGeomStart | ( | ) | const [inline] |
Definition at line 87 of file llface.h.
References mGeomIndex.
Referenced by printDebugInfo(), pushVerts(), and verify().
LLViewerImage* LLFace::getTexture | ( | ) | const [inline] |
Definition at line 88 of file llface.h.
References mTexture.
Referenced by calc_shame(), LLParticlePartition::getGeometry(), LLFace::CompareTextureAndTime::operator()(), LLFace::CompareTextureAndLOD::operator()(), LLFace::CompareTextureAndGeomCount::operator()(), LLFace::CompareBatchBreaker::operator()(), LLFace::CompareTexture::operator()(), printDebugInfo(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), renderForSelect(), LLDrawPoolWLSky::renderHeavenlyBodies(), LLDrawPoolSky::renderHeavenlyBody(), LLDrawPoolSky::renderSunHalo(), and LLVOVolume::updateTextures().
void LLFace::setTexture | ( | LLViewerImage * | tex | ) | [inline] |
Definition at line 89 of file llface.h.
References mTexture.
Referenced by LLDrawable::addFace(), LLVOGrass::plantBlades(), LLVOVolume::regenFaces(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), and LLVOClouds::updateGeometry().
LLXformMatrix* LLFace::getXform | ( | ) | const [inline] |
BOOL LLFace::hasGeometry | ( | ) | const [inline] |
Definition at line 91 of file llface.h.
References mGeomCount.
Referenced by LLGeometryManager::addGeometryCount(), LLParticlePartition::addGeometryCount(), LLVOClouds::getGeometry(), LLVolumeGeometryManager::rebuildGeom(), LLDrawable::shiftPos(), and LLPipeline::stateSort().
LLVector3 LLFace::getPositionAgent | ( | ) | const |
Definition at line 1302 of file llface.cpp.
References getRenderMatrix(), mCenterAgent, mCenterLocal, and mDrawablep.
Referenced by LLVOVolume::getTextureVirtualSize().
U32 LLFace::getState | ( | ) | const [inline] |
Definition at line 94 of file llface.h.
References mState.
Referenced by printDebugInfo().
void LLFace::setState | ( | U32 | state | ) | [inline] |
Definition at line 95 of file llface.h.
References mState.
Referenced by LLDrawable::addFace(), getGeometryVolume(), LLVOGrass::plantBlades(), LLVolumeGeometryManager::rebuildGeom(), setFaceColor(), LLViewerJointAttachment::setupDrawable(), LLVOVolume::updateFaceFlags(), LLVOTextBubble::updateGeometry(), and LLVOPartGroup::updateGeometry().
void LLFace::clearState | ( | U32 | state | ) | [inline] |
Definition at line 96 of file llface.h.
References mState.
Referenced by getGeometryVolume(), unsetFaceColor(), LLVOVolume::updateFaceFlags(), and LLVOPartGroup::updateGeometry().
Definition at line 97 of file llface.h.
References FALSE, mState, and TRUE.
Referenced by LLParticlePartition::getGeometry(), getGeometryVolume(), getRenderColor(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), renderElements(), renderForSelect(), and renderSelectedUV().
void LLFace::setVirtualSize | ( | F32 | size | ) | [inline] |
Definition at line 98 of file llface.h.
References mVSize.
Referenced by LLVOPartGroup::updateGeometry(), and LLVOVolume::updateTextures().
void LLFace::setPixelArea | ( | F32 | area | ) | [inline] |
Definition at line 99 of file llface.h.
References mPixelArea.
Referenced by LLVOVolume::getTextureVirtualSize(), and LLVOVolume::updateTextures().
F32 LLFace::getVirtualSize | ( | ) | const [inline] |
Definition at line 100 of file llface.h.
References mVSize.
Referenced by LLVOVolume::animateTextures(), LLVOVolume::getBinRadius(), LLParticlePartition::getGeometry(), getGeometryVolume(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), and LLVOVolume::updateTextures().
F32 LLFace::getPixelArea | ( | ) | const [inline] |
Definition at line 101 of file llface.h.
References mPixelArea.
Referenced by renderTexturePriority(), and LLVOVolume::updateTextures().
void LLFace::bindTexture | ( | S32 | stage = 0 |
) | const [inline] |
Definition at line 102 of file llface.h.
References LLViewerImage::bindTexture(), and mTexture.
Referenced by LLFacePool::drawLoopSetTex(), LLDrawPoolWater::render(), and LLDrawPoolWater::shade().
void LLFace::renderSetColor | ( | ) | const |
Definition at line 1213 of file llface.cpp.
References getRenderColor(), LLColor4::mV, and LLFacePool::LLOverrideFaceColor::sOverrideFaceColor.
Definition at line 1239 of file llface.cpp.
References getRenderMatrix(), GLOBAL, isState(), pushVertices(), and S32.
Referenced by renderIndexed().
S32 LLFace::renderIndexed | ( | ) |
Definition at line 1258 of file llface.cpp.
References LLDrawPool::getVertexDataMask(), LLPointer< Type >::isNull(), mDrawablep, mDrawPoolp, and NULL.
Referenced by LLFacePool::drawLoop(), LLFacePool::drawLoopSetTex(), LLDrawPoolWater::render(), LLDrawPoolGround::render(), LLVOAvatar::renderFootShadows(), LLDrawPoolWLSky::renderHeavenlyBodies(), LLDrawPoolSky::renderHeavenlyBody(), LLDrawPoolTerrain::renderOwnership(), LLDrawPoolWater::renderReflection(), LLDrawPoolSky::renderSkyCubeFace(), LLDrawPoolSky::renderSunHalo(), and LLDrawPoolWater::shade().
Definition at line 1268 of file llface.cpp.
References LLPointer< Type >::isNull(), mVertexBuffer, and renderElements().
Definition at line 1223 of file llface.cpp.
References LLPipeline::addTrianglesDrawn(), gPipeline, mGeomCount, mGeomIndex, mIndicesCount, mIndicesIndex, mVertexBuffer, and LLVertexBuffer::TRIANGLES.
Referenced by renderElements().
void LLFace::setWorldMatrix | ( | const LLMatrix4 & | mat | ) |
const LLTextureEntry * LLFace::getTextureEntry | ( | ) | const [inline] |
Definition at line 111 of file llface.h.
References mTEOffset, and mVObjp.
Referenced by LLVOVolume::animateTextures(), calc_shame(), getGeometryVolume(), getRenderColor(), LLFace::CompareBatchBreaker::operator()(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), renderForSelect(), and LLVOVolume::updateTextures().
LLDrawPool * LLFace::getPool | ( | ) | const [inline] |
Definition at line 113 of file llface.h.
References mDrawPoolp.
Referenced by LLViewerJointMesh::drawShape(), printDebugInfo(), LLPipeline::renderForSelect(), renderForSelect(), LLPipeline::stateSort(), LLVOTextBubble::updateGeometry(), LLVOAvatar::updateLOD(), LLViewerJointMesh::uploadJointMatrices(), and LLFacePool::verify().
U32 LLFace::getPoolType | ( | ) | const [inline] |
Definition at line 114 of file llface.h.
References mPoolType.
Referenced by calc_shame(), LLVOVolume::getBinRadius(), getGeometryVolume(), LLVolumeGeometryManager::rebuildGeom(), renderForSelect(), LLDrawable::updateDistance(), and LLVOVolume::updateTextures().
LLDrawable * LLFace::getDrawable | ( | ) | const [inline] |
Definition at line 115 of file llface.h.
References mDrawablep.
Referenced by LLDrawPoolTerrain::dirtyTextures(), LLDrawPoolAvatar::getDebugTexture(), printDebugInfo(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolTerrain::renderForSelect(), LLDrawPoolAvatar::renderForSelect(), LLPipeline::renderHighlights(), and LLDrawPoolTree::renderTree().
LLViewerObject * LLFace::getViewerObject | ( | ) | const [inline] |
Definition at line 116 of file llface.h.
References mVObjp.
Referenced by LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), printDebugInfo(), LLVolumeGeometryManager::registerFace(), LLViewerObjectList::removeDrawable(), LLViewerObjectList::renderObjectsForSelect(), and LLDrawPoolWater::shade().
S32 LLFace::getLOD | ( | ) | const [inline] |
Definition at line 117 of file llface.h.
References mVObjp, and LLPointer< Type >::notNull().
Referenced by LLFace::CompareTextureAndLOD::operator()().
LLVertexBuffer* LLFace::getVertexBuffer | ( | ) | const [inline] |
void LLFace::setPoolType | ( | U32 | type | ) | [inline] |
Definition at line 119 of file llface.h.
References mPoolType.
Referenced by LLDrawable::addFace(), LLParticlePartition::getGeometry(), and LLVolumeGeometryManager::rebuildGeom().
S32 LLFace::getTEOffset | ( | ) | [inline] |
Definition at line 120 of file llface.h.
References mTEOffset.
Referenced by LLParticlePartition::getGeometry(), and LLVolumeGeometryManager::rebuildGeom().
void LLFace::setViewerObject | ( | LLViewerObject * | object | ) |
Definition at line 1195 of file llface.cpp.
References mVObjp.
Referenced by LLVOVolume::regenFaces(), and LLVOPartGroup::updateGeometry().
void LLFace::setPool | ( | LLFacePool * | pool, | |
LLViewerImage * | texturep | |||
) |
Definition at line 207 of file llface.cpp.
References LLFacePool::addFace(), gPipeline, llendl, llerrs, LLPipeline::markRebuild(), mDrawablep, mDrawPoolp, mGeomIndex, mTexture, LLMemType::MTYPE_DRAWABLE, LLDrawable::REBUILD_ALL, LLFacePool::removeFace(), and TRUE.
Referenced by LLDrawable::addFace().
void LLFace::setDrawable | ( | LLDrawable * | drawable | ) |
Definition at line 258 of file llface.cpp.
References mDrawablep, LLDrawable::mXform, and mXform.
Referenced by init(), and LLDrawable::mergeFaces().
void LLFace::setTEOffset | ( | const S32 | te_offset | ) |
Definition at line 241 of file llface.cpp.
References mTEOffset.
Referenced by LLDrawable::addFace(), LLVOGrass::plantBlades(), LLVOVolume::regenFaces(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), and LLVOClouds::updateGeometry().
void LLFace::setFaceColor | ( | const LLColor4 & | color | ) |
Definition at line 247 of file llface.cpp.
References mFaceColor, setState(), and USE_FACE_COLOR.
Referenced by LLVOClouds::getGeometry(), LLSprite::updateFace(), LLVOPartGroup::updateGeometry(), LLVOGround::updateGeometry(), LLVOClouds::updateGeometry(), and LLVOSky::updateReflectionGeometry().
void LLFace::unsetFaceColor | ( | ) |
Definition at line 253 of file llface.cpp.
References clearState(), and USE_FACE_COLOR.
const LLColor4& LLFace::getFaceColor | ( | ) | const [inline] |
Definition at line 131 of file llface.h.
References mFaceColor.
Referenced by LLDrawPoolWater::renderReflection().
const LLColor4 & LLFace::getRenderColor | ( | ) | const |
Definition at line 1200 of file llface.cpp.
References LLTextureEntry::getColor(), getTextureEntry(), isState(), mFaceColor, USE_FACE_COLOR, and LLColor4::white.
Referenced by LLVOAvatar::renderFootShadows(), and renderSetColor().
BOOL LLFace::getGeometryVolume | ( | const LLVolume & | volume, | |
const S32 & | f, | |||
const LLMatrix4 & | mat_vert, | |||
const LLMatrix3 & | mat_normal, | |||
const U16 & | index_offset | |||
) |
Definition at line 763 of file llface.cpp.
References BE_BRIGHTNESS, BE_DARKNESS, BE_NO_BUMP, clearState(), cylindricalProjection(), FALSE, LLTextureEntry::getBumpmap(), LLTextureEntry::getColor(), LLSky::getMoonDirection(), getPoolType(), LLTextureEntry::getRotation(), LLTextureEntry::getScale(), LLTextureEntry::getShiny(), LLTextureEntry::getTexGen(), getTextureEntry(), getVirtualSize(), LLVolume::getVolumeFace(), gFrameTimeSeconds, GLOBAL, gSky, i, isState(), llendl, llmax(), llwarns, LLVolumeFace::mCenter, mDrawablep, mGeomCount, mGeomIndex, MIN_TEX_ANIM_SIZE, LLVolumeFace::mIndices, mIndicesCount, mIndicesIndex, mLastGeomCount, mLastGeomIndex, mLastIndicesCount, mLastIndicesIndex, mLastMoveTime, mLastUpdateTime, mLastVertexBuffer, LLTextureEntry::mOffsetS, LLTextureEntry::mOffsetT, LLTextureEntry::mScaleS, LLTextureEntry::mScaleT, LLVOVolume::mTexAnimMode, mTexExtents, mTexture, mTextureMatrix, LLVector2::mV, LLVector3::mV, LLColor4U::mV, mVertexBuffer, LLVolumeFace::mVertices, mVObjp, LLSky::mVOSkyp, LLVector3::normVec(), LLPointer< Type >::notNull(), planarProjection(), LLDrawPool::POOL_ALPHA, r, LLDrawable::REBUILD_ALL, LLDrawable::REBUILD_COLOR, LLDrawable::REBUILD_POSITION, LLDrawable::REBUILD_TCOORD, LLDrawable::REBUILD_VOLUME, S32, LLVector3::scaleVec(), LLMatrix3::setRows(), setState(), LLVector2::setVec(), LLVector3::setVec(), sphericalProjection(), LLPipeline::sRenderBump, tut::tc(), LLTextureEntry::TEX_GEN_CYLINDRICAL, LLTextureEntry::TEX_GEN_DEFAULT, LLTextureEntry::TEX_GEN_PLANAR, LLTextureEntry::TEX_GEN_SPHERICAL, TEXTURE_ANIM, TRUE, VZ, and xform().
Referenced by LLVolumeGeometryManager::rebuildGeom().
U16 LLFace::getGeometryAvatar | ( | LLStrider< LLVector3 > & | vertices, | |
LLStrider< LLVector3 > & | normals, | |||
LLStrider< LLVector2 > & | texCoords, | |||
LLStrider< F32 > & | vertex_weights, | |||
LLStrider< LLVector4 > & | clothing_weights | |||
) |
Definition at line 278 of file llface.cpp.
References mGeomIndex, LLMemType::MTYPE_DRAWABLE, mVertexBuffer, and LLPointer< Type >::notNull().
Referenced by LLViewerJointMesh::updateFaceData().
U16 LLFace::getGeometry | ( | LLStrider< LLVector3 > & | vertices, | |
LLStrider< LLVector3 > & | normals, | |||
LLStrider< LLVector2 > & | texCoords, | |||
LLStrider< U16 > & | indices | |||
) |
Definition at line 299 of file llface.cpp.
References mGeomIndex, mIndicesIndex, LLMemType::MTYPE_DRAWABLE, mVertexBuffer, LLPointer< Type >::notNull(), LLVertexBuffer::TYPE_NORMAL, and LLVertexBuffer::TYPE_TEXCOORD.
Referenced by LLSprite::updateFace(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOSky::updateGeometry(), LLVOGround::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOSky::updateReflectionGeometry(), and LLVOSky::updateSunHaloGeometry().
Definition at line 264 of file llface.cpp.
References mGeomCount, mIndicesCount, mLastVertexBuffer, mVertexBuffer, and NULL.
Referenced by LLVOTree::createDrawable(), LLVOGrass::plantBlades(), LLVOAvatar::releaseMeshData(), LLSprite::updateFace(), LLVOVolume::updateFaceSize(), LLVOTextBubble::updateFaceSize(), LLVOSurfacePatch::updateFaceSize(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOSky::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOGround::updateGeometry(), LLVOClouds::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOGrass::updateLOD(), LLVOAvatar::updateMeshData(), LLVOSky::updateReflectionGeometry(), LLVOAvatar::updateShadowFaces(), and LLVOSky::updateSunHaloGeometry().
BOOL LLFace::genVolumeBBoxes | ( | const LLVolume & | volume, | |
S32 | f, | |||
const LLMatrix4 & | mat, | |||
const LLMatrix3 & | inv_trans_mat, | |||
BOOL | global_volume = FALSE | |||
) |
Definition at line 668 of file llface.cpp.
References LLMatrix3::getFwdRow(), LLMatrix3::getLeftRow(), LLVolume::getNumVolumeFaces(), LLMatrix3::getUpRow(), LLVolume::getVolumeFace(), i, j, mCenterLocal, mDrawablep, mExtents, LLVolumeFace::mExtents, mLastVertexBuffer, LLMemType::MTYPE_DRAWABLE, LLVector3::mV, mVertexBuffer, LLVector3::normVec(), NULL, LLDrawable::REBUILD_POSITION, LLDrawable::REBUILD_VOLUME, LLVector3::scaleVec(), LLMatrix3::setRows(), TRUE, and updateCenterAgent().
Referenced by LLVOVolume::genBBoxes().
void LLFace::init | ( | LLDrawable * | drawablep, | |
LLViewerObject * | objp | |||
) |
Definition at line 141 of file llface.cpp.
References LLXform::getPosition(), LLDrawable::getPositionAgent(), gFrameTimeSeconds, GLOBAL, mCenterAgent, mCenterLocal, mDistance, mDrawPoolp, mFaceColor, mGeomCount, mGeomIndex, mIndicesCount, mIndicesIndex, mLastGeomCount, mLastGeomIndex, mLastIndicesCount, mLastIndicesIndex, mLastMoveTime, mLastUpdateTime, mLastVertexBuffer, mPixelArea, mPoolType, mReferenceIndex, mState, mTEOffset, mTexture, mTextureMatrix, mVertexBuffer, mVObjp, mVSize, NULL, and setDrawable().
Referenced by LLFace().
void LLFace::destroy | ( | ) |
Definition at line 178 of file llface.cpp.
References mDrawablep, mDrawPoolp, mTextureMatrix, mVObjp, NULL, and LLFacePool::removeFace().
Referenced by ~LLFace().
void LLFace::update | ( | ) |
void LLFace::updateCenterAgent | ( | ) |
Definition at line 322 of file llface.cpp.
References getRenderMatrix(), mCenterAgent, mCenterLocal, and mDrawablep.
Referenced by genVolumeBBoxes(), and LLDrawable::moveUpdatePipeline().
Definition at line 447 of file llface.cpp.
References LLGLImmediate::begin(), bias(), LLViewerImage::bindTexture(), LLGLImmediate::blendFunc(), LLGLImmediate::color4fv(), LLGLImmediate::end(), LLViewerImageList::getImageFromFile(), getIndicesCount(), getIndicesStart(), getRenderMatrix(), gGL, gImageList, GLOBAL, i, isState(), llassert, llendl, llerrs, mDrawPoolp, mGeomCount, mGeomIndex, mIndicesCount, LLVector3::mV, LLVector2::mV, S32, sSafeRenderSelect, tut::tc(), LLGLImmediate::texCoord2fv(), LLVertexBuffer::TRIANGLES, TRUE, LLGLImmediate::vertex3fv(), and LLColor4::white.
Referenced by LLPipeline::renderFaceForUVSelect().
void LLFace::renderForSelect | ( | U32 | data_mask = LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD |
) |
Definition at line 334 of file llface.cpp.
References LLViewerImage::bind(), LLGLState::checkClientArrays(), LLSpatialGroup::GEOM_DIRTY, LLTextureEntry::getColor(), getPool(), getPoolType(), getRenderMatrix(), getTexture(), getTextureEntry(), GLOBAL, gPickFaces, LLPointer< Type >::isNull(), isState(), LLSpatialGroup::isState(), mDrawablep, mIndicesCount, mIndicesIndex, mTEOffset, LLColor4::mV, LLColor4U::mV, mVertexBuffer, mVObjp, LLDrawPool::POOL_ALPHA, S32, LLVertexBuffer::TRIANGLES, LLImageGL::unbindTexture(), and VALPHA.
Referenced by LLPipeline::renderForSelect(), and LLDrawPoolTerrain::renderForSelect().
Definition at line 412 of file llface.cpp.
References LLViewerImage::bindTexture(), LLGLState::checkClientArrays(), LLSpatialGroup::GEOM_DIRTY, LLPointer< Type >::isNull(), LLVertexBuffer::MAP_NORMAL, LLVertexBuffer::MAP_TEXCOORD, LLVertexBuffer::MAP_VERTEX, mDrawablep, mGeomCount, mIndicesCount, mIndicesIndex, LLColor4::mV, mVertexBuffer, NULL, and LLVertexBuffer::TRIANGLES.
Referenced by LLPipeline::renderHighlights().
F32 LLFace::getKey | ( | ) | const [inline] |
S32 LLFace::getReferenceIndex | ( | ) | const [inline] |
Definition at line 174 of file llface.h.
References mReferenceIndex.
Referenced by LLFacePool::addFaceReference(), and LLFacePool::removeFaceReference().
void LLFace::setReferenceIndex | ( | const S32 | index | ) | [inline] |
Definition at line 175 of file llface.h.
References mReferenceIndex.
Referenced by LLFacePool::addFaceReference(), and LLFacePool::removeFaceReference().
Definition at line 1140 of file llface.cpp.
References FALSE, getGeomStart(), getIndicesCount(), i, LL_MAX_INDICES_COUNT, llendl, llinfos, llwarns, mGeomCount, mGeomIndex, mIndicesIndex, mVertexBuffer, printDebugInfo(), S32, and TRUE.
Referenced by LLFacePool::verify().
void LLFace::printDebugInfo | ( | ) | const |
Definition at line 569 of file llface.cpp.
References LLImageGL::getComponents(), getDrawable(), getGeomStart(), getIndicesCount(), getPool(), getState(), getTexture(), getViewerObject(), i, llendl, llinfos, mGeomCount, mGeomIndex, LLViewerObject::mID, mIndicesCount, mIndicesIndex, LLFacePool::mReferences, LLPrimitive::pCodeToString(), LLFacePool::printDebugInfo(), and S32.
Referenced by verify(), and LLFacePool::verify().
void LLFace::setGeomIndex | ( | U16 | idx | ) | [inline] |
Definition at line 180 of file llface.h.
References mGeomIndex.
Referenced by LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), LLSprite::updateFace(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOSky::updateGeometry(), LLVOGround::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOAvatar::updateMeshData(), LLVOSky::updateReflectionGeometry(), and LLVOSky::updateSunHaloGeometry().
void LLFace::setIndicesIndex | ( | S32 | idx | ) | [inline] |
Definition at line 181 of file llface.h.
References mIndicesIndex.
Referenced by LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), LLSprite::updateFace(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOSky::updateGeometry(), LLVOGround::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOAvatar::updateMeshData(), LLVOSky::updateReflectionGeometry(), and LLVOSky::updateSunHaloGeometry().
friend class LLGeometryManager [friend] |
friend class LLVolumeGeometryManager [friend] |
Definition at line 186 of file llface.h.
Referenced by LLParticlePartition::addGeometryCount(), genVolumeBBoxes(), LLVOClouds::getGeometry(), getPositionAgent(), init(), LLVOGrass::plantBlades(), LLDrawPoolWater::render(), renderPoints(), updateCenterAgent(), LLDrawable::updateDistance(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOPartGroup::updateGeometry(), and LLVOClouds::updateGeometry().
Definition at line 187 of file llface.h.
Referenced by LLDrawPoolClouds::enqueue(), getPositionAgent(), init(), LLDrawable::shiftPos(), updateCenterAgent(), LLVOSurfacePatch::updateEastGeometry(), LLSprite::updateFace(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOSky::updateGeometry(), LLVOSurfacePatch::updateMainGeometry(), LLVOSurfacePatch::updateNorthGeometry(), and LLVOSky::updateReflectionGeometry().
Definition at line 188 of file llface.h.
Referenced by LLVOVolume::genBBoxes(), genVolumeBBoxes(), LLVOVolume::getTextureVirtualSize(), renderBoundingBox(), renderTexturePriority(), LLDrawable::shiftPos(), LLDrawable::updateDistance(), and LLVOVolume::updateTextures().
Definition at line 189 of file llface.h.
Referenced by getGeometryVolume(), and LLVOVolume::getTextureVirtualSize().
Definition at line 190 of file llface.h.
Referenced by LLParticlePartition::addGeometryCount(), LLDrawPoolClouds::enqueue(), getKey(), init(), LLFace::CompareDistanceGreater::operator()(), LLDrawPoolWater::render(), and LLDrawable::updateDistance().
Definition at line 191 of file llface.h.
Referenced by LLGeometryManager::addGeometryCount(), LLVOSky::createDummyVertexBuffer(), LLSpatialGroup::destroyGL(), LLViewerJointMesh::drawShape(), genVolumeBBoxes(), getColors(), LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), getGeometry(), getGeometryAvatar(), getGeometryVolume(), getIndices(), getVertexBuffer(), init(), LLVOGrass::plantBlades(), pushVertices(), pushVerts(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), renderForSelect(), renderIndexed(), renderOctree(), renderSelected(), LLDrawPoolTree::renderTree(), LLPipeline::resetVertexBuffers(), setSize(), LLDrawable::shiftPos(), LLVOSky::updateDummyVertexBuffer(), LLSprite::updateFace(), LLViewerJointMesh::updateFaceData(), LLVOWater::updateGeometry(), LLVOTree::updateGeometry(), LLVOSky::updateGeometry(), LLVOGround::updateGeometry(), LLViewerJointMesh::updateGeometry(), LLViewerJointMesh::updateGeometryOriginal(), LLViewerJointMesh::updateGeometryVectorized(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOAvatar::updateLOD(), LLVOAvatar::updateMeshData(), LLVOSky::updateReflectionGeometry(), LLVOSky::updateSunHaloGeometry(), and verify().
Definition at line 192 of file llface.h.
Referenced by LLGeometryManager::addGeometryCount(), LLSpatialGroup::destroyGL(), genVolumeBBoxes(), getGeometryVolume(), init(), LLVolumeGeometryManager::rebuildGeom(), LLPipeline::resetVertexBuffers(), setSize(), and LLDrawable::shiftPos().
Definition at line 193 of file llface.h.
Referenced by getGeometryVolume(), init(), LLFace::CompareTextureAndTime::operator()(), LLVolumeGeometryManager::rebuildGeom(), and renderOctree().
Definition at line 194 of file llface.h.
Referenced by getGeometryVolume(), init(), and renderOctree().
Definition at line 195 of file llface.h.
Referenced by LLVOVolume::animateTextures(), calc_shame(), destroy(), getGeometryVolume(), init(), LLVolumeGeometryManager::registerFace(), and LLVOVolume::updateTextures().
U32 LLFace::mState [protected] |
Definition at line 201 of file llface.h.
Referenced by clearState(), getState(), init(), isState(), and setState().
LLFacePool* LLFace::mDrawPoolp [protected] |
Definition at line 202 of file llface.h.
Referenced by destroy(), getPool(), init(), renderIndexed(), renderSelectedUV(), and setPool().
U32 LLFace::mPoolType [protected] |
LLColor4 LLFace::mFaceColor [protected] |
Definition at line 204 of file llface.h.
Referenced by getFaceColor(), getRenderColor(), init(), and setFaceColor().
U16 LLFace::mGeomCount [protected] |
Definition at line 206 of file llface.h.
Referenced by getColors(), getGeomCount(), getGeometryVolume(), hasGeometry(), init(), printDebugInfo(), pushVertices(), LLVolumeGeometryManager::rebuildGeom(), renderSelected(), renderSelectedUV(), setSize(), and verify().
U16 LLFace::mGeomIndex [protected] |
Definition at line 207 of file llface.h.
Referenced by getColors(), getGeometry(), getGeometryAvatar(), getGeometryVolume(), getGeomIndex(), getGeomStart(), init(), printDebugInfo(), pushVertices(), LLVolumeGeometryManager::rebuildGeom(), renderSelectedUV(), setGeomIndex(), setPool(), and verify().
U32 LLFace::mIndicesCount [protected] |
Definition at line 208 of file llface.h.
Referenced by getGeometryVolume(), getIndicesCount(), init(), printDebugInfo(), pushVertices(), LLVolumeGeometryManager::rebuildGeom(), renderForSelect(), renderSelected(), renderSelectedUV(), and setSize().
U32 LLFace::mIndicesIndex [protected] |
Definition at line 209 of file llface.h.
Referenced by getGeometry(), getGeometryVolume(), getIndices(), getIndicesStart(), init(), printDebugInfo(), pushVertices(), LLVolumeGeometryManager::rebuildGeom(), renderForSelect(), renderSelected(), setIndicesIndex(), and verify().
U16 LLFace::mLastGeomCount [protected] |
U16 LLFace::mLastGeomIndex [protected] |
U32 LLFace::mLastIndicesCount [protected] |
U32 LLFace::mLastIndicesIndex [protected] |
LLXformMatrix* LLFace::mXform [protected] |
Definition at line 217 of file llface.h.
Referenced by getWorldMatrix(), getXform(), and setDrawable().
LLPointer<LLViewerImage> LLFace::mTexture [protected] |
Definition at line 218 of file llface.h.
Referenced by bindTexture(), getGeometryVolume(), getTexture(), init(), setPool(), and setTexture().
LLPointer<LLDrawable> LLFace::mDrawablep [protected] |
Definition at line 219 of file llface.h.
Referenced by destroy(), genVolumeBBoxes(), getDrawable(), getGeometryVolume(), getPositionAgent(), getRenderMatrix(), renderForSelect(), renderIndexed(), renderSelected(), setDrawable(), setPool(), and updateCenterAgent().
LLPointer<LLViewerObject> LLFace::mVObjp [protected] |
Definition at line 220 of file llface.h.
Referenced by destroy(), getGeometryVolume(), getLOD(), getTextureEntry(), getViewerObject(), getWorldMatrix(), init(), renderForSelect(), and setViewerObject().
S32 LLFace::mTEOffset [protected] |
Definition at line 221 of file llface.h.
Referenced by getTEOffset(), getTextureEntry(), init(), renderForSelect(), and setTEOffset().
S32 LLFace::mReferenceIndex [protected] |
Definition at line 223 of file llface.h.
Referenced by getReferenceIndex(), init(), and setReferenceIndex().
F32 LLFace::mVSize [protected] |
Definition at line 224 of file llface.h.
Referenced by getVirtualSize(), init(), and setVirtualSize().
F32 LLFace::mPixelArea [protected] |
Definition at line 225 of file llface.h.
Referenced by LLGeometryManager::addGeometryCount(), getPixelArea(), init(), LLVolumeGeometryManager::rebuildGeom(), and setPixelArea().
BOOL LLFace::sSafeRenderSelect = TRUE [static, protected] |