#include <llspatialpartition.h>
Inheritance diagram for LLVolumeGeometryManager:
Public Member Functions | |
virtual | ~LLVolumeGeometryManager () |
virtual void | rebuildGeom (LLSpatialGroup *group) |
virtual void | getGeometry (LLSpatialGroup *group) |
void | registerFace (LLSpatialGroup *group, LLFace *facep, U32 type) |
Definition at line 441 of file llspatialpartition.h.
virtual LLVolumeGeometryManager::~LLVolumeGeometryManager | ( | ) | [inline, virtual] |
Definition at line 444 of file llspatialpartition.h.
void LLVolumeGeometryManager::getGeometry | ( | LLSpatialGroup * | group | ) | [virtual] |
Implements LLGeometryManager.
Reimplemented in LLVolumePartition, and LLVolumeBridge.
Definition at line 2167 of file llvovolume.cpp.
Referenced by LLVolumeBridge::getGeometry(), and LLVolumePartition::getGeometry().
void LLVolumeGeometryManager::rebuildGeom | ( | LLSpatialGroup * | group | ) | [virtual] |
Implements LLGeometryManager.
Reimplemented in LLVolumePartition, and LLVolumeBridge.
Definition at line 2172 of file llvovolume.cpp.
References LLVertexBuffer::allocateBuffer(), LLSpatialGroup::ALPHA_DIRTY, LLSpatialGroup::changeLOD(), LLSpatialGroup::clearDrawMap(), LLSpatialGroup::clearState(), LLGeometryManager::createVertexBuffer(), face, FALSE, FORCE_CULL_AREA, LLDrawable::FORCE_INVISIBLE, FORCE_SIMPLE_RENDER_AREA, LLFastTimer::FTM_REBUILD_VBO, LLFastTimer::FTM_REBUILD_VOLUME_VB, LLFace::FULLBRIGHT, LLSpatialGroup::GEOM_DIRTY, LLTextureEntry::getBumpmap(), LLVertexBuffer::getColorStrider(), LLSpatialGroup::getData(), LLFace::getGeomCount(), LLVertexBuffer::getIndexStrider(), LLFace::getIndicesCount(), LLVOVolume::getIsLight(), LLVertexBuffer::getNormalStrider(), LLPrimitive::getNumTEs(), LLSpatialGroup::getParent(), LLPipeline::getPoolTypeFromTE(), LLImageGL::getPrimaryFormat(), LLVOVolume::getRelativeXform(), LLVOVolume::getRelativeXformInvTrans(), LLTextureEntry::getShiny(), LLVertexBuffer::getTexCoord2Strider(), LLVertexBuffer::getTexCoordStrider(), LLFace::getTexture(), LLFace::getTextureEntry(), LLVertexBuffer::getUsage(), LLVertexBuffer::getVertexStrider(), LLPrimitive::getVolume(), LLDrawable::getVOVolume(), gFrameTimeSeconds, gPipeline, LLFace::hasGeometry(), i, indices, LLVOVolume::isHUDAttachment(), LLPointer< Type >::isNull(), LLSpatialGroup::isState(), LLVertexBuffer::markClean(), LLVertexBuffer::markDirty(), LLSpatialGroup::MATRIX_DIRTY, LLSpatialGroup::mBufferMap, LLSpatialGroup::mBufferUsage, LLSpatialPartition::mBufferUsage, LLSpatialGroup::mBuilt, LLSpatialGroup::mDistance, LLTextureAnim::mFace, LLGeometryManager::mFaceList, LLSpatialPartition::mImageEnabled, LLSpatialGroup::mIndexCount, LLSpatialGroup::mLastUpdateDistance, LLSpatialGroup::mLastUpdateTime, LLFace::mLastUpdateTime, LLSpatialGroup::mLastUpdateViewAngle, LLFace::mLastVertexBuffer, LLFace::mPixelArea, LLSpatialGroup::mReflectionMap, LLSpatialGroup::mSpatialPartition, LLVOVolume::mTexAnimMode, LLVOVolume::mTextureAnimp, LLSpatialGroup::mVertexBuffer, LLFace::mVertexBuffer, LLSpatialGroup::mVertexCount, LLSpatialPartition::mVertexDataMask, LLSpatialGroup::mViewAngle, NULL, LLRenderPass::PASS_ALPHA, LLRenderPass::PASS_BUMP, LLRenderPass::PASS_FULLBRIGHT, LLRenderPass::PASS_GLOW, LLRenderPass::PASS_INVISIBLE, LLRenderPass::PASS_SHINY, LLRenderPass::PASS_SIMPLE, LLDrawPool::POOL_ALPHA, LLDrawPool::POOL_SIMPLE, LLDrawable::REBUILD_ALL, LLDrawable::REBUILD_VOLUME, registerFace(), LLVertexBuffer::resizeBuffer(), S32, LLVertexBuffer::sEnableVBOs, LLFace::setPoolType(), LLFace::setState(), LLPipeline::sRenderGlow, stop_glerror, LLFace::TEXTURE_ANIM, TRUE, type, and LLVOVolume::updateTextures().
Referenced by LLVolumeBridge::rebuildGeom(), and LLVolumePartition::rebuildGeom().
void LLVolumeGeometryManager::registerFace | ( | LLSpatialGroup * | group, | |
LLFace * | facep, | |||
U32 | type | |||
) |
Definition at line 2082 of file llvovolume.cpp.
References count, end, FALSE, LLFace::FULLBRIGHT, LLTextureEntry::getBumpmap(), LLFace::getGeomCount(), LLFace::getGeomIndex(), LLFace::getIndicesCount(), LLFace::getIndicesStart(), LLVOVolume::getLightColor(), LLFace::getRenderColor(), LLFace::getTexture(), LLFace::getTextureEntry(), LLFace::getViewerObject(), LLFace::getVirtualSize(), gGLManager, gHideSelectedObjects, LLViewerObject::isSelected(), LLFace::isState(), llmax(), LLViewerObject::mDrawable, LLSpatialGroup::mDrawMap, LLGLManager::mGLMaxIndexRange, LLGLManager::mGLMaxVertexRange, LLSpatialGroup::mReflectionMap, LLFace::mTextureMatrix, LLMemType::MTYPE_SPACE_PARTITION, LLColor4::mV, LLColor3::mV, LLFace::mVertexBuffer, NULL, LLRenderPass::PASS_ALPHA, LLRenderPass::PASS_BUMP, LLRenderPass::PASS_FULLBRIGHT, LLRenderPass::PASS_GLOW, LLRenderPass::PASS_SHINY, S32, start, LLFace::TEXTURE_ANIM, and validate_draw_info().
Referenced by rebuildGeom().