#include <pipeline.h>
Collaboration diagram for LLPipeline:
Definition at line 69 of file pipeline.h.
typedef std::set< Light, Light::compare > LLPipeline::light_set_t [protected] |
Definition at line 448 of file pipeline.h.
typedef std::set<LLDrawPool*, compare_pools > LLPipeline::pool_set_t [protected] |
Definition at line 491 of file pipeline.h.
anonymous enum |
PARTITION_VOLUME | |
PARTITION_BRIDGE | |
PARTITION_HUD | |
PARTITION_TERRAIN | |
PARTITION_WATER | |
PARTITION_TREE | |
PARTITION_PARTICLE | |
PARTITION_CLOUD | |
PARTITION_GRASS | |
PARTITION_NONE | |
NUM_PARTITIONS |
Definition at line 322 of file pipeline.h.
Definition at line 277 of file pipeline.h.
Definition at line 300 of file pipeline.h.
RENDER_FEATURE_LOCAL_LIGHTING | |
RENDER_FEATURE_OBJECT_BUMP | |
RENDER_FEATURE_AVATAR_BUMP | |
RENDER_FEATURE_RIPPLE_WATER |
Definition at line 291 of file pipeline.h.
Definition at line 254 of file pipeline.h.
LLPipeline::LLPipeline | ( | ) |
Definition at line 185 of file pipeline.cpp.
References mCubeDepth, mCubeFrameBuffer, and mFramebuffer.
LLPipeline::~LLPipeline | ( | ) |
Definition at line 258 of file pipeline.cpp.
U32 LLPipeline::addObject | ( | LLViewerObject * | obj | ) |
Definition at line 725 of file pipeline.cpp.
References LLViewerObject::createDrawable(), LLXform::getParent(), gNoRender, llassert, markRebuild(), LLMemType::MTYPE_DRAWABLE, NULL, LLDrawable::REBUILD_ALL, LLViewerObject::setDrawableParent(), and TRUE.
Referenced by LLSky::init(), LLSurface::initTextures(), LLViewerPartGroup::LLViewerPartGroup(), process_kill_object(), LLViewerObjectList::processUpdateCore(), LLViewerObject::processUpdateMessage(), LLSurfacePatch::setSurface(), LLCloudGroup::updatePuffs(), and LLWorld::updateWaterObjects().
void LLPipeline::addPool | ( | LLDrawPool * | poolp | ) |
Definition at line 668 of file pipeline.cpp.
References addToQuickLookup(), mPools, and LLMemType::MTYPE_PIPELINE.
Referenced by getPool().
void LLPipeline::addToQuickLookup | ( | LLDrawPool * | new_poolp | ) | [private] |
Definition at line 2566 of file pipeline.cpp.
References LLDrawPool::getTexture(), LLDrawPool::getType(), llassert, llendl, llwarns, mAlphaPool, mAlphaPoolPostWater, mBumpPool, mGlowPool, mGroundPool, mSimplePool, mSkyPool, mStarsPool, mTerrainPools, mTreePools, LLMemType::MTYPE_PIPELINE, mWaterPool, LLDrawPool::POOL_ALPHA, LLDrawPool::POOL_ALPHA_POST_WATER, LLDrawPool::POOL_AVATAR, LLDrawPool::POOL_BUMP, LLDrawPool::POOL_GLOW, LLDrawPool::POOL_GROUND, LLDrawPool::POOL_SIMPLE, LLDrawPool::POOL_SKY, LLDrawPool::POOL_STARS, LLDrawPool::POOL_TERRAIN, LLDrawPool::POOL_TREE, and LLDrawPool::POOL_WATER.
Referenced by addPool().
void LLPipeline::allocDrawable | ( | LLViewerObject * | obj | ) |
Definition at line 675 of file pipeline.cpp.
References f, LLDrawable::FORCE_INVISIBLE, LLXform::getScale(), LLViewerObject::isOrphaned(), LLViewerObject::mDrawable, LLMemType::MTYPE_DRAWABLE, LLDrawable::mVObjp, LLDrawable::setRadius(), LLDrawable::setState(), TRUE, and LLDrawable::updateXform().
Referenced by LLVOWater::createDrawable(), LLVOVolume::createDrawable(), LLVOTree::createDrawable(), LLVOTextBubble::createDrawable(), LLVOSurfacePatch::createDrawable(), LLVOStars::createDrawable(), LLVOSky::createDrawable(), LLVOPartGroup::createDrawable(), LLVOGround::createDrawable(), LLVOGrass::createDrawable(), LLVOClouds::createDrawable(), and LLVOAvatar::createDrawable().
void LLPipeline::bindScreenToTexture | ( | ) |
Definition at line 4131 of file pipeline.cpp.
References gGLViewport, gImageList, glCopyTexSubImage2D, glGetTexLevelParameteriv, mScreenScale, mScreenTex, LLVector2::mV, nhpo2(), NULL, LLImageGL::sBoundTextureMemory, and LLViewerImageList::updateMaxResidentTexMem().
Referenced by renderGeom(), and LLDrawPoolWater::shade().
Definition at line 4040 of file pipeline.cpp.
References apply_cube_face_rotation(), LLCubeMap::bind(), depth, f, glBlendFunc, glClear, glColor4f, glGetBooleanv, glPopMatrix, glRotatef, i, j, mask, render_cube_map(), S32, and x.
Referenced by LLSpatialPartition::processImagery().
Definition at line 2904 of file pipeline.cpp.
References calc_light_dist(), LLDrawable::clearState(), LLPipeline::Light::dist, f, LLPipeline::Light::fade, gAgent, LLCoordFrame::getOrigin(), LLAgent::getPositionAgent(), LLDrawable::getVOVolume(), gFrameIntervalSeconds, LLDrawable::isState(), LLDrawable::LIGHT, light, LIGHT_FADE_TIME, LIGHT_MAX_RADIUS, mLightingDetail, mLights, mNearbyLights, LLDrawable::NEARBY_LIGHT, S32, LLViewerJoystick::sOverrideCamera, and sSkipUpdate.
Referenced by generateReflectionMap(), and renderGeom().
Definition at line 908 of file pipeline.cpp.
References f, LLCoordFrame::getOrigin(), LLVector3::magVec(), LLDrawable::sCurPixelAngle, and size.
Referenced by LLSpatialPartition::calcPixelArea(), LLVOVolume::getTextureVirtualSize(), and LLSpatialBridge::setVisible().
BOOL LLPipeline::canUseVertexShaders | ( | ) |
Definition at line 428 of file pipeline.cpp.
References FALSE, gFeatureManagerp, gGLManager, LLFeatureList::isFeatureAvailable(), LLGLManager::mHasFragmentShader, LLGLManager::mHasVertexShader, mVertexShadersLoaded, and TRUE.
Referenced by LLPanelDisplay3::refreshEnabledState(), and LLShaderMgr::setShaders().
void LLPipeline::cleanup | ( | ) |
Definition at line 263 of file pipeline.cpp.
References clearRenderMap(), i, LLDrawPool::isFacePool(), llendl, llwarns, mActiveGroups, mAlphaGroups, mAlphaPool, mAlphaPoolPostWater, mAlphaSizzleImagep, mBloomImage2p, mBloomImagep, mBumpPool, mDrawableGroups, mFaceSelectImagep, mGlowPool, mGroundPool, mMovedBridge, mObjectPartition, mOccludedBridge, mPools, mSimplePool, mSkyPool, mStarsPool, mTerrainPool, mTerrainPools, mTreePools, mVisibleBridge, mVisibleGroups, mVisibleList, mWaterPool, NULL, NUM_PARTITIONS, releaseGLBuffers(), removeFromQuickLookup(), and S32.
Referenced by LLViewerWindow::~LLViewerWindow().
void LLPipeline::clearRenderMap | ( | ) |
Definition at line 3733 of file pipeline.cpp.
References i, mRenderMap, and LLRenderPass::NUM_RENDER_TYPES.
Referenced by cleanup(), destroyGL(), and postSort().
void LLPipeline::destroyGL | ( | ) |
Definition at line 344 of file pipeline.cpp.
References clearRenderMap(), mActiveGroups, mAlphaGroups, mDrawableGroups, mHighlightFaces, mOccludedBridge, mVisibleBridge, mVisibleGroups, mVisibleList, releaseGLBuffers(), resetVertexBuffers(), stop_glerror, and unloadShaders().
Referenced by LLViewerWindow::stopGL().
void LLPipeline::dirtyPoolObjectTextures | ( | const std::set< LLViewerImage * > & | textures | ) |
Definition at line 527 of file pipeline.cpp.
References i, mObjectPartition, mPools, and LLOctreeTraveler< T >::traverse().
Referenced by LLViewerImageList::updateImages().
void LLPipeline::disableLights | ( | ) |
Definition at line 3243 of file pipeline.cpp.
References enableLights(), f, and glColor4f.
Referenced by display(), display_startup(), LLSpatialPartition::doOcclusion(), LLTexLayer::render(), LLDrawPoolWater::render(), LLDrawPoolTerrain::render(), LLDrawPoolStars::render(), LLDrawPoolSky::render(), LLDrawPoolGround::render(), render_hud_elements(), render_ui_and_swap(), LLSpatialPartition::renderDebug(), renderForSelect(), renderHighlights(), and LLDrawPoolWater::renderShaderSimple().
Definition at line 1018 of file pipeline.cpp.
References glMultMatrixf, glPopMatrix, hasRenderType(), i, mObjectPartition, mOccludedBridge, mVisibleBridge, and sUseOcclusion.
Referenced by renderGeom().
Definition at line 3152 of file pipeline.cpp.
References LLColor4::black, LLSky::getTotalAmbientColor(), glDisable, glEnable, gSky, i, mHWLightColors, mLightingDetail, mLightMask, LLColor4::mV, and S32.
Referenced by disableLights(), enableLightsAvatar(), enableLightsAvatarEdit(), enableLightsDynamic(), enableLightsFullbright(), and enableLightsStatic().
Definition at line 3215 of file pipeline.cpp.
References enableLights(), FALSE, mask, and setupAvatarLights().
Referenced by LLImagePreviewSculpted::render(), and LLDrawPoolAvatar::renderAvatars().
Definition at line 3222 of file pipeline.cpp.
References enableLights(), f, mask, LLColor4::mV, setupAvatarLights(), and TRUE.
Referenced by LLDrawPoolAvatar::renderAvatars().
Definition at line 3205 of file pipeline.cpp.
References enableLights(), f, glColor4f, mask, and mLightingDetail.
Referenced by LLFace::enableLights(), LLDrawPoolAvatar::endFootShadow(), LLDrawPoolTree::render(), LLDrawPoolTerrain::render(), LLDrawPoolSimple::render(), LLDrawPoolAlpha::render(), and LLDrawPoolAlpha::renderGroupAlpha().
Definition at line 3231 of file pipeline.cpp.
References enableLights(), f, glColor4f, mask, mLightingDetail, and LLColor4::mV.
Referenced by LLDrawPoolAvatar::beginFootShadow(), LLFace::enableLights(), LLDrawPoolSimple::render(), LLDrawPoolGlow::render(), LLDrawPoolClouds::render(), LLDrawPoolAlpha::render(), and LLDrawPoolAlpha::renderGroupAlpha().
Definition at line 3190 of file pipeline.cpp.
References enableLights(), f, glColor4f, mask, mLightingDetail, and mLightMovingMask.
Referenced by LLFace::enableLights(), and LLDrawPoolTerrain::render().
Definition at line 451 of file pipeline.cpp.
LLDrawPool * LLPipeline::findPool | ( | const U32 | pool_type, | |
LLViewerImage * | tex0 = NULL | |||
) |
Get a draw pool from pool type (POOL_SIMPLE, POOL_MEDIA) and texture.
Definition at line 551 of file pipeline.cpp.
References get_if_there(), llassert, llendl, llerrs, mAlphaPool, mAlphaPoolPostWater, mBumpPool, mGlowPool, mGroundPool, mSimplePool, mSkyPool, mStarsPool, mTerrainPools, mTreePools, mWaterPool, NULL, LLDrawPool::POOL_ALPHA, LLDrawPool::POOL_ALPHA_POST_WATER, LLDrawPool::POOL_AVATAR, LLDrawPool::POOL_BUMP, LLDrawPool::POOL_GLOW, LLDrawPool::POOL_GROUND, LLDrawPool::POOL_SIMPLE, LLDrawPool::POOL_SKY, LLDrawPool::POOL_STARS, LLDrawPool::POOL_TERRAIN, LLDrawPool::POOL_TREE, and LLDrawPool::POOL_WATER.
Referenced by getPool(), LLDrawPoolTerrain::~LLDrawPoolTerrain(), and LLSurface::~LLSurface().
void LLPipeline::findReferences | ( | LLDrawable * | drawablep | ) |
Definition at line 3308 of file pipeline.cpp.
References count, LLViewerObjectList::findReferences(), gObjectList, llendl, llinfos, mActiveQ, mBuildQ1, mBuildQ2, mLights, mMovedList, mRetexturedList, mShiftList, mVisibleList, and S32.
void LLPipeline::forAllDrawables | ( | LLSpatialGroup::sg_vector_t & | groups, | |
void(*)(LLDrawable *) | func | |||
) |
void LLPipeline::forAllVisibleDrawables | ( | void(*)(LLDrawable *) | func | ) |
Definition at line 1486 of file pipeline.cpp.
References forAllDrawables(), mActiveGroups, mDrawableGroups, and mVisibleGroups.
Referenced by postSort().
Definition at line 3831 of file pipeline.cpp.
References apply_cube_face_rotation(), LLCubeMap::bind(), calcNearbyLights(), LLCubeMap::disable(), f, FALSE, gCamera, LLCamera::getFar(), LLCubeMap::getGLName(), LLCoordFrame::getOrigin(), getRenderTypeMask(), glClear, glGetTexLevelParameteriv, glPopMatrix, glTranslatef, gPipeline, gShinyOrigin, hasRenderDebugFeatureMask(), i, mCubeDepth, mCubeFrameBuffer, LLVector3::mV, NULL, LLDrawPool::POOL_ALPHA_POST_WATER, RENDER_DEBUG_FEATURE_UI, RENDER_TYPE_ALPHA, RENDER_TYPE_BUMP, RENDER_TYPE_CLOUDS, RENDER_TYPE_GLOW, RENDER_TYPE_GRASS, RENDER_TYPE_GROUND, RENDER_TYPE_SIMPLE, RENDER_TYPE_SKY, RENDER_TYPE_TERRAIN, RENDER_TYPE_TREE, RENDER_TYPE_VOLUME, RENDER_TYPE_WATER, renderGeom(), resetDrawOrders(), S32, LLCoordFrame::setOrigin(), setRenderTypeMask(), LLVector4::setVec(), LLDrawPoolWater::sSkipScreenCopy, sSkipUpdate, stateSort(), sUseOcclusion, toggleRenderDebugFeature(), TRUE, updateCull(), and LLViewerCamera::updateFrustumPlanes().
Referenced by LLSpatialPartition::processImagery().
S32 LLPipeline::getLightCount | ( | ) | const [inline] |
S32 LLPipeline::getLightingDetail | ( | ) | const [inline] |
Definition at line 133 of file pipeline.h.
References mLightingDetail.
Referenced by LLVOSurfacePatch::calcColor(), LLVOVolume::calcLightAtPoint(), markRelight(), LLDrawPoolTerrain::renderFull4TUShader(), LLShaderMgr::setShaders(), and LLDrawable::updateLighting().
S32 LLPipeline::getMaxLightingDetail | ( | ) | const |
LLDrawPool * LLPipeline::getPool | ( | const U32 | pool_type, | |
LLViewerImage * | tex0 = NULL | |||
) |
Get a draw pool for faces of the appropriate type and texture. Create if necessary.
Definition at line 613 of file pipeline.cpp.
References addPool(), LLDrawPool::createPool(), findPool(), and LLMemType::MTYPE_PIPELINE.
Referenced by LLVOWater::createDrawable(), LLVOTree::createDrawable(), LLVOStars::createDrawable(), LLVOSky::createDrawable(), LLVOGround::createDrawable(), LLVOAvatar::createDrawable(), LLVOSurfacePatch::getPool(), getPoolFromTE(), init(), LLVOWater::updateGeometry(), LLVOSky::updateGeometry(), and LLVOGround::updateGeometry().
LLDrawPool * LLPipeline::getPoolFromTE | ( | const LLTextureEntry * | te, | |
LLViewerImage * | te_image | |||
) | [static] |
Figures out draw pool type from texture entry. Creates pool if necessary.
Definition at line 630 of file pipeline.cpp.
References getPool(), getPoolTypeFromTE(), gPipeline, LLMemType::MTYPE_PIPELINE, and type.
U32 LLPipeline::getPoolTypeFromTE | ( | const LLTextureEntry * | te, | |
LLViewerImage * | imagep | |||
) | [static] |
Definition at line 638 of file pipeline.cpp.
References LLTextureEntry::getBumpmap(), LLTextureEntry::getColor(), LLImageGL::getComponents(), LLTextureEntry::getShiny(), LLMemType::MTYPE_PIPELINE, LLColor4::mV, LLDrawPool::POOL_ALPHA, LLDrawPool::POOL_BUMP, and LLDrawPool::POOL_SIMPLE.
Referenced by LLDrawable::addFace(), LLFace::getGeometryVolume(), getPoolFromTE(), and LLVolumeGeometryManager::rebuildGeom().
Definition at line 3704 of file pipeline.cpp.
References sRenderProcessBeacons.
Referenced by LLDebugText::update().
Definition at line 3680 of file pipeline.cpp.
References sRenderBeacons.
Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().
Definition at line 3698 of file pipeline.cpp.
References sRenderHighlight.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3644 of file pipeline.cpp.
References sRenderParticleBeacons.
Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().
Definition at line 3626 of file pipeline.cpp.
References sRenderPhysicalBeacons.
Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().
Definition at line 3590 of file pipeline.cpp.
References sRenderScriptedBeacons.
Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().
Definition at line 3608 of file pipeline.cpp.
References sRenderScriptedTouchBeacons.
Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().
Definition at line 3662 of file pipeline.cpp.
References sRenderSoundBeacons.
Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().
U32 LLPipeline::getRenderTypeMask | ( | ) | const [inline] |
Definition at line 200 of file pipeline.h.
References mRenderTypeMask.
Referenced by display(), and generateReflectionMap().
LLSpatialPartition * LLPipeline::getSpatialPartition | ( | U32 | index | ) |
LLSpatialPartition * LLPipeline::getSpatialPartition | ( | LLViewerObject * | vobj | ) |
Definition at line 3715 of file pipeline.cpp.
References LLViewerObject::getPartitionType(), and NULL.
Referenced by display(), LLDrawable::getSpatialPartition(), LLToolSelectRect::handleRectangleSelection(), LLSpatialBridge::LLSpatialBridge(), LLDrawPoolBump::renderActive(), LLViewerObjectList::renderObjectsForSelect(), LLDrawable::updateLightSet(), LLSpatialBridge::updateMove(), and LLSpatialBridge::~LLSpatialBridge().
BOOL LLPipeline::getUseVertexShaders | ( | ) | const [inline] |
Definition at line 137 of file pipeline.h.
References mVertexShadersEnabled.
Referenced by LLDebugText::update().
S32 LLPipeline::getVisibleCount | ( | ) | const [inline] |
Definition at line 175 of file pipeline.h.
References mVisibleList.
Referenced by LLFrameStats::addFrameData().
Definition at line 196 of file pipeline.h.
References FALSE, mRenderDebugFeatureMask, and TRUE.
Referenced by display(), LLVolumeImplFlexible::doIdleUpdate(), generateReflectionMap(), LLViewerWindow::rawSnapshot(), LLTexLayerParamAlpha::render(), render_hud_elements(), render_ui_and_swap(), LLDrawPoolAvatar::renderAvatars(), renderGeom(), renderHighlights(), toggleRenderDebugFeatureControl(), and LLVOSky::updateFog().
Definition at line 198 of file pipeline.h.
References FALSE, mRenderDebugMask, and TRUE.
Referenced by renderBloom(), LLSpatialPartition::renderDebug(), renderGeom(), toggleRenderDebug(), toggleRenderDebugControl(), LLOctreeRenderNonOccluded::traverse(), LLViewerPartSourceScript::update(), LLVOVolume::updateTextures(), LLVOTree::updateTextures(), LLVOGrass::updateTextures(), LLVOAvatar::updateTextures(), and LLOctreeRenderNonOccluded::visit().
Definition at line 195 of file pipeline.h.
References FALSE, mRenderTypeMask, and TRUE.
Referenced by display(), doOcclusion(), hasRenderTypeControl(), LLManipTranslate::highlightIntersection(), LLVOWater::idleUpdate(), LLVOTree::idleUpdate(), LLVOGround::idleUpdate(), LLVOGrass::idleUpdate(), LLVOClouds::idleUpdate(), LLVOAvatar::idleUpdate(), LLSurface::idleUpdate(), postSort(), processOcclusion(), LLDrawPoolStars::render(), LLDrawPoolClouds::render(), LLDrawPoolBump::render(), LLDrawPoolAlphaPostWater::render(), render_hud_elements(), LLDrawPoolBump::renderActive(), LLRenderPass::renderActive(), renderDebug(), renderForSelect(), renderGeom(), LLRenderPass::renderStatic(), LLSpatialBridge::setVisible(), stateSort(), toggleRenderTypeControl(), toggleRenderTypeControlNegated(), updateCull(), LLVOTextBubble::updateGeometry(), LLVOPartGroup::updateGeometry(), LLVOClouds::updateGeometry(), LLVOAvatar::updateGeometry(), LLViewerPartSim::updateSimulation(), LLVOSky::updateSky(), LLSky::updateSky(), and LLVOVolume::updateTextures().
Definition at line 3525 of file pipeline.cpp.
References gPipeline, hasRenderType(), and type.
Referenced by init_debug_rendering_menu().
void LLPipeline::init | ( | ) |
Definition at line 210 of file pipeline.cpp.
References getPool(), mBackfaceCull, mInitialized, mObjectPartition, mOldRenderDebugMask, mRenderDebugFeatureMask, mRenderDebugMask, mRenderFeatureMask, mRenderTypeMask, mTrianglesDrawnStat, LLMemType::MTYPE_PIPELINE, NULL, LLDrawPool::POOL_ALPHA, LLDrawPool::POOL_ALPHA_POST_WATER, LLDrawPool::POOL_BUMP, LLDrawPool::POOL_GLOW, LLDrawPool::POOL_SIMPLE, LLStat::reset(), resetFrameStats(), LLShaderMgr::setShaders(), stop_glerror, and TRUE.
Referenced by LLViewerWindow::LLViewerWindow().
BOOL LLPipeline::loadShaders | ( | ) | [private] |
void LLPipeline::markMoved | ( | LLDrawable * | drawablep, | |
BOOL | damped_motion = FALSE | |||
) |
Definition at line 1191 of file pipeline.cpp.
References LLDrawable::clearState(), FALSE, LLDrawable::getParent(), LLDrawable::isDead(), LLDrawable::isSpatialBridge(), LLDrawable::isState(), llendl, llerrs, llwarns, mMovedBridge, mMovedList, LLDrawable::MOVE_UNDAMPED, LLMemType::MTYPE_PIPELINE, LLDrawable::ON_MOVE_LIST, and LLDrawable::setState().
Referenced by LLViewerObjectList::findOrphans(), LLVOAvatar::getOffObject(), LLVOAvatar::idleUpdate(), LLSpatialBridge::move(), LLViewerObject::processUpdateMessage(), LLViewerJointAttachment::removeObject(), LLVOAvatar::resetHUDAttachments(), LLSelectMgr::selectionResetRotation(), LLSelectMgr::selectionRotateAroundZ(), LLViewerObject::setDrawableParent(), LLVOVolume::setParent(), LLViewerJointAttachment::setupDrawable(), LLVOAvatar::sitOnObject(), LLViewerObject::updateDrawable(), LLSelectMgr::updateEffects(), LLDrawable::updatePartition(), and LLDrawable::updateTexture().
void LLPipeline::markNotCulled | ( | LLSpatialGroup * | group, | |
LLCamera & | camera, | |||
BOOL | active = FALSE | |||
) |
Definition at line 972 of file pipeline.cpp.
References LLSpatialGroup::getData(), gFrameTimeSeconds, i, mActiveGroups, markVisible(), LLSpatialGroup::mBridgeList, mDrawableGroups, LLSpatialGroup::mLastRenderTime, LLSpatialGroup::mPixelArea, LLSpatialPartition::mRenderByGroup, LLSpatialGroup::mSpatialPartition, mVisibleGroups, sSkipUpdate, and LLSpatialGroup::updateDistance().
Referenced by LLOctreeCull::processGroup(), and LLOctreeMarkNotCulled::visit().
void LLPipeline::markRebuild | ( | LLDrawable * | drawablep, | |
LLDrawable::EDrawableFlags | flag = LLDrawable::REBUILD_ALL , |
|||
BOOL | priority = FALSE | |||
) |
Definition at line 1289 of file pipeline.cpp.
References LLDrawable::BUILT, LLDrawable::clearState(), LLDrawable::getLit(), LLDrawable::getVObj(), LLDrawable::IN_REBUILD_Q1, LLDrawable::IN_REBUILD_Q2, LLDrawable::isDead(), LLDrawable::isLight(), LLDrawable::isState(), LLDrawable::LIGHTING_BUILT, mBuildQ1, mBuildQ2, LLMemType::MTYPE_PIPELINE, LLDrawable::REBUILD_LIGHTING, LLDrawable::REBUILD_POSITION, LLDrawable::REBUILD_VOLUME, LLDrawable::setState(), LLXform::SILHOUETTE, and TRUE.
Referenced by addObject(), LLViewerPartGroup::addPart(), LLVOSurfacePatch::dirtyGeom(), LLVolumeImplFlexible::doIdleUpdate(), LLVOWater::idleUpdate(), LLVOTextBubble::idleUpdate(), LLVOGrass::idleUpdate(), LLVOClouds::idleUpdate(), LLVOAvatar::idleUpdate(), LLDrawable::makeActive(), LLDrawable::makeStatic(), LLViewerObject::markForUpdate(), markRelight(), LLVOGrass::processUpdateMessage(), LLManip::rebuild(), LLViewerObject::removeChild(), LLViewerPartGroup::removePart(), resetVertexBuffers(), LLVOSky::restoreGL(), LLVOAvatar::restoreMeshData(), LLVOVolume::setDrawableParent(), LLViewerObject::setDrawableParent(), LLVOVolume::setMaterial(), LLVOVolume::setParent(), LLFace::setPool(), LLVOVolume::setScale(), LLViewerObject::setTEBumpmap(), LLViewerObject::setTEMediaFlags(), LLViewerObject::setTEOffset(), LLViewerObject::setTEOffsetS(), LLViewerObject::setTEOffsetT(), LLViewerObject::setTERotation(), LLViewerObject::setTEScale(), LLViewerObject::setTEScaleS(), LLViewerObject::setTEScaleT(), LLVOTextBubble::setVolume(), LLDrawable::shiftPos(), LLVOGrass::updateDrawable(), LLVOClouds::updateDrawable(), LLStaticViewerObject::updateDrawable(), LLVOVolume::updateLOD(), LLVOGrass::updateLOD(), LLViewerPartGroup::updateParticles(), LLDrawable::updatePartition(), LLViewerPartSim::updateSimulation(), LLVOSky::updateSky(), LLVOVolume::updateTEData(), LLDrawable::updateTexture(), LLVOVolume::updateTextures(), LLDrawable::updateXform(), and LLOctreeDirty::visit().
void LLPipeline::markRelight | ( | LLDrawable * | drawablep, | |
const BOOL | now = FALSE | |||
) |
Definition at line 1331 of file pipeline.cpp.
References FALSE, getLightingDetail(), markRebuild(), and LLDrawable::REBUILD_LIGHTING.
Referenced by LLDrawable::clearLightSet(), LLDrawable::makeStatic(), LLDrawable::moveUpdatePipeline(), LLViewerObjectList::relightAllObjects(), setLight(), LLDrawable::updateGeometry(), and LLDrawable::updateLightSet().
void LLPipeline::markShift | ( | LLDrawable * | drawablep | ) |
Definition at line 1235 of file pipeline.cpp.
References LLDrawable::getParent(), LLDrawable::getVObj(), LLDrawable::isDead(), LLDrawable::isState(), mShiftList, LLMemType::MTYPE_PIPELINE, LLDrawable::ON_SHIFT_LIST, LLDrawable::setState(), LLXform::SHIFTED, and LLXform::SILHOUETTE.
Referenced by LLViewerObjectList::shiftObjects().
void LLPipeline::markTextured | ( | LLDrawable * | drawablep | ) |
Definition at line 1280 of file pipeline.cpp.
References LLDrawable::isDead(), mRetexturedList, and LLMemType::MTYPE_PIPELINE.
Referenced by LLVOVolume::animateTextures(), LLDrawPoolTerrain::dirtyTextures(), LLViewerObject::markForUpdate(), LLVOVolume::processUpdateMessage(), LLViewerJointAttachment::removeObject(), LLVOVolume::setLightColor(), LLViewerObject::setNumTEs(), LLVOVolume::setTEBumpmap(), LLViewerObject::setTEBumpmap(), LLVOVolume::setTEColor(), LLViewerObject::setTEColor(), LLVOVolume::setTEFullbright(), LLViewerObject::setTEFullbright(), LLVOVolume::setTEImage(), LLViewerObject::setTEImage(), LLVOVolume::setTEMediaFlags(), LLViewerObject::setTEMediaFlags(), LLVOVolume::setTEScale(), LLVOVolume::setTEScaleS(), LLVOVolume::setTEScaleT(), LLVOVolume::setTEShiny(), LLVOVolume::setTETexGen(), LLVOVolume::setTETexture(), LLViewerObject::setTETextureCore(), and LLViewerJointAttachment::setupDrawable().
void LLPipeline::markVisible | ( | LLDrawable * | drawablep, | |
LLCamera & | camera | |||
) |
Definition at line 1151 of file pipeline.cpp.
References LLDrawable::isDead(), LLDrawable::isSpatialBridge(), llendl, llerrs, llwarns, LLMemType::MTYPE_PIPELINE, mVisibleBridge, mVisibleList, and LLDrawable::setVisible().
Referenced by LLImagePreviewAvatar::LLImagePreviewAvatar(), LLPreviewAnimation::LLPreviewAnimation(), markNotCulled(), and LLSky::updateCull().
LLViewerObject * LLPipeline::pickObject | ( | const LLVector3 & | start, | |
const LLVector3 & | end, | |||
LLVector3 & | collision | |||
) |
Definition at line 3709 of file pipeline.cpp.
References end, LLPointer< Type >::get(), LLDrawable::getVObj(), mObjectPartition, NULL, PARTITION_VOLUME, and start.
Referenced by LLViewerWindow::getObjectUnderCursor().
Definition at line 1627 of file pipeline.cpp.
References ACTIVITY_SOUND, LLFloaterTelehub::addBeacons(), LLViewerObjectList::addDebugBeacon(), addParticleSourcesToList(), addSourcesToEventLog(), clearRenderMap(), end, f, FALSE, forAllVisibleDrawables(), LLFastTimer::FTM_STATESORT_POSTSORT, gAgent, gAudiop, gCamera, LLFloaterAvatarList::getAvatarEntry(), LLControlGroup::getBOOL(), LLCoordFrame::getOrigin(), LLAgent::getPosAgentFromGlobal(), LLAgent::getRegion(), LLControlGroup::getS32(), LLSelectMgr::getSelection(), LLSelectMgr::getTEMode(), LLViewerRegion::getWaterHeight(), gFloaterAvatarList, gObjectList, gPipeline, gSavedSettings, gSelectMgr, hasRenderType(), i, j, mActiveGroups, LLAudioEngine::mAllSources, mAlphaGroups, mAlphaGroupsPostWater, mDrawableGroups, LLSpatialGroup::mObjectBounds, mObjectPartition, mRenderMap, mSelectedFaces, LLMemType::MTYPE_PIPELINE, LLVector3::mV, mVisibleBridge, mVisibleGroups, LLRenderPass::NUM_RENDER_TYPES, LLRenderPass::PASS_ALPHA, LLRenderPass::PASS_BUMP, LLDrawPool::POOL_ALPHA, LLFloaterTelehub::renderBeacons(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), S32, LLAvatarListEntry::setActivity(), sRenderBeacons, sRenderParticleBeacons, sRenderPhysicalBeacons, sRenderProcessBeacons, sRenderScriptedBeacons, sRenderScriptedTouchBeacons, sRenderSoundBeacons, sSkipUpdate, sUseOcclusion, toggleRenderType(), and TRUE.
Referenced by stateSort().
Definition at line 2230 of file pipeline.cpp.
References hasRenderType(), i, mObjectPartition, mOccludedBridge, and sUseOcclusion.
Referenced by updateCull().
void LLPipeline::rebuildPools | ( | ) |
Definition at line 2529 of file pipeline.cpp.
References gAgent, LLAgent::getAvatarObject(), LLDrawPool::isDead(), mLastRebuildPool, mPools, LLMemType::MTYPE_PIPELINE, NULL, LLVOAvatar::rebuildHUD(), removeFromQuickLookup(), and S32.
Referenced by display().
void LLPipeline::releaseGLBuffers | ( | ) |
Definition at line 362 of file pipeline.cpp.
References mCubeBuffer, mCubeDepth, mCubeFrameBuffer, mFramebuffer, mGlowBuffer, mGlowMap, mScreenTex, and NULL.
Referenced by cleanup(), destroyGL(), and LLReleaseGLBufferListener::handleEvent().
void LLPipeline::removeFromQuickLookup | ( | LLDrawPool * | poolp | ) | [private] |
Definition at line 2704 of file pipeline.cpp.
References LLDrawPool::getTexture(), LLDrawPool::getType(), llassert, llendl, llwarns, mAlphaPool, mAlphaPoolPostWater, mBumpPool, mGlowPool, mGroundPool, mSimplePool, mSkyPool, mStarsPool, mTerrainPools, mTreePools, LLMemType::MTYPE_PIPELINE, mWaterPool, NULL, LLDrawPool::POOL_ALPHA, LLDrawPool::POOL_ALPHA_POST_WATER, LLDrawPool::POOL_AVATAR, LLDrawPool::POOL_BUMP, LLDrawPool::POOL_GLOW, LLDrawPool::POOL_GROUND, LLDrawPool::POOL_SIMPLE, LLDrawPool::POOL_SKY, LLDrawPool::POOL_STARS, LLDrawPool::POOL_TERRAIN, LLDrawPool::POOL_TREE, and LLDrawPool::POOL_WATER.
Referenced by cleanup(), rebuildPools(), and removePool().
void LLPipeline::removePool | ( | LLDrawPool * | poolp | ) |
Definition at line 2697 of file pipeline.cpp.
References mPools, and removeFromQuickLookup().
Referenced by LLSurface::~LLSurface().
void LLPipeline::renderBloom | ( | GLuint | source, | |
GLuint | dest, | |||
GLuint | buffer, | |||
U32 | res, | |||
LLVector2 | tc1, | |||
LLVector2 | tc2 | |||
) |
Definition at line 4179 of file pipeline.cpp.
References LLGLSLShader::bind(), depth, LLControlGroup::getF32(), LLControlGroup::getS32(), gGlowProgram, glBegin, glBlendFunc, glClear, glColor4f, glEnd, glGetIntegerv, LLShaderMgr::GLOW_DELTA, glPopMatrix, glVertex2f, gPipeline, gSavedSettings, hasRenderDebugMask(), i, mFramebuffer, LLGLSLShader::mUniform, LLVector2::mV, RENDER_DEBUG_GLOW, S32, LLVector2::setVec(), and LLGLSLShader::unbind().
Referenced by renderGeom().
void LLPipeline::renderDebug | ( | ) |
Definition at line 2258 of file pipeline.cpp.
References LLViewerObjectList::addDebugBeacon(), f, gAgent, LLViewerRegion::getCompositionXY(), LLAgent::getRegion(), glBegin, glColor4f, glColor4fv, glEnd, glMultMatrixf, glPopMatrix, gObjectList, hasRenderType(), i, LLViewerObject::LL_VO_SURFACE_PATCH, mObjectPartition, mRenderDebugMask, LLMemType::MTYPE_PIPELINE, mVisibleBridge, mVisibleList, RENDER_DEBUG_COMPOSITION, RENDER_DEBUG_LIGHT_TRACE, S32, x, y, and z.
Referenced by render_hud_elements().
Definition at line 2524 of file pipeline.cpp.
References LLFace::renderSelectedUV().
Referenced by LLViewerWindow::analyzeHit().
void LLPipeline::renderForSelect | ( | std::set< LLViewerObject * > & | objects | ) |
Definition at line 2367 of file pipeline.cpp.
References LLGLState::checkClientArrays(), LLGLState::checkStates(), LLGLState::checkTextureChannels(), disableLights(), f, gAgent, LLAgent::getAvatarObject(), LLDrawable::getChild(), LLDrawable::getChildCount(), LLDrawable::getFace(), LLViewerJointAttachment::getIsHUDAttachment(), LLDrawable::getNumFaces(), LLViewerJointAttachment::getObject(), LLDrawable::getRenderType(), gHideSelectedObjects, glPopMatrix, gPickTransparent, hasRenderType(), i, LLDrawable::isDead(), j, LLVertexBuffer::MAP_TEXCOORD, LLVertexBuffer::MAP_VERTEX, LLVOAvatar::mAttachmentPoints, LLViewerObject::mDrawable, mPools, LLMemType::MTYPE_PIPELINE, LLFace::renderForSelect(), LLFacePool::renderForSelect(), S32, setup_hud_matrices(), sShowHUDAttachments, LLVertexBuffer::startRender(), LLVertexBuffer::stopRender(), and TRUE.
Referenced by LLViewerObjectList::renderObjectsForSelect().
Definition at line 1985 of file pipeline.cpp.
References bindScreenToTexture(), calcNearbyLights(), LLGLState::checkClientArrays(), LLGLState::checkStates(), LLGLState::checkTextureChannels(), depth, doOcclusion(), FALSE, LLFastTimer::FTM_POOLRENDER, LLFastTimer::FTM_POOLS, LLFastTimer::FTM_RENDER_GEOMETRY, LLCamera::getFar(), LLViewerImageList::getImage(), LLControlGroup::getS32(), LLControlGroup::getString(), gFrameStats, gGLManager, gImageList, glGetBooleanv, glGetIntegerv, gObjectList, gPipeline, gSavedSettings, gSky, gViewerArt, hasRenderDebugFeatureMask(), hasRenderDebugMask(), hasRenderType(), i, llendl, llerrs, mAlphaSizzleImagep, mask, mBackfaceCull, mGlowBuffer, mGlowMap, LLGLManager::mHasFramebufferObject, mHighlightFaces, MIPMAP_TRUE, mLightingDetail, mPools, mRenderDebugMask, mScreenScale, mScreenTex, mTrianglesDrawn, LLMemType::MTYPE_PIPELINE, nhpo2(), p, LLDrawPool::POOL_ALPHA_POST_WATER, LLDrawPool::POOL_AVATAR, RENDER_DEBUG_FEATURE_FOG, RENDER_DEBUG_PICKING, RENDER_DEBUG_VERIFY, LLFrameStats::RENDER_GEOM, render_hud_elements(), LLFrameStats::RENDER_SYNC, RENDER_TYPE_HUD, renderBloom(), renderHighlights(), LLViewerObjectList::renderObjectsForSelect(), S32, LLViewerImage::sDefaultImagep, setupHWLights(), sRenderGlow, LLDrawPoolWater::sSkipScreenCopy, LLFrameStats::start(), LLVertexBuffer::startRender(), stop_glerror, LLVertexBuffer::stopRender(), sUseOcclusion, t, TRUE, LLSky::updateFog(), and verify().
Referenced by display(), and generateReflectionMap().
void LLPipeline::renderHighlights | ( | ) |
Definition at line 1927 of file pipeline.cpp.
References LLGLSLShader::bind(), disableLights(), f, LLViewerImageList::getImage(), gHighlightProgram, gImageList, hasRenderDebugFeatureMask(), i, IMG_FACE_SELECT, llendl, llerrs, LLShaderMgr::MATERIAL_COLOR, MAX_IMAGE_AREA, mFaceSelectImagep, mHighlightFaces, mSelectedFaces, LLMemType::MTYPE_PIPELINE, RENDER_DEBUG_FEATURE_SELECTED, LLColor4::setVec(), LLShaderMgr::SHADER_INTERFACE, LLViewerImage::sNullImagep, LLShaderMgr::sVertexShaderLevel, LLGLSLShader::unbind(), and LLGLSLShader::vertexAttrib4f().
Referenced by renderGeom().
Definition at line 3780 of file pipeline.cpp.
References mSimplePool, LLRenderPass::renderActive(), and LLRenderPass::renderStatic().
Referenced by LLManipTranslate::highlightIntersection().
void LLPipeline::resetDrawOrders | ( | ) |
Definition at line 2786 of file pipeline.cpp.
References mPools.
Referenced by generateReflectionMap(), idle(), LLViewerWindow::rawSnapshot(), and resetVertexBuffers().
void LLPipeline::resetFrameStats | ( | ) |
Definition at line 752 of file pipeline.cpp.
References LLStat::addValue(), LLViewerObjectList::clearDebugText(), f, gObjectList, mGeometryChanges, mLightingChanges, mNumVisibleFaces, mOldRenderDebugMask, mRenderDebugMask, mTrianglesDrawn, mTrianglesDrawnStat, mVerticesRelit, and sCompiles.
Referenced by init(), and reset_statistics().
void LLPipeline::resetVertexBuffers | ( | LLDrawable * | drawable | ) |
Definition at line 3742 of file pipeline.cpp.
References LLDrawable::getFace(), LLDrawable::getNumFaces(), i, LLFace::mVertexBuffer, NULL, and S32.
void LLPipeline::resetVertexBuffers | ( | ) |
Definition at line 3752 of file pipeline.cpp.
References LLVertexBuffer::cleanupClass(), gSky, i, markRebuild(), mObjectPartition, LLSky::mVOGroundp, LLSky::mVOSkyp, LLSky::mVOStarsp, LLPointer< Type >::notNull(), LLDrawable::REBUILD_ALL, resetDrawOrders(), LLVertexBuffer::sGLCount, and TRUE.
Referenced by destroyGL(), restoreGL(), LLShaderMgr::setShaders(), and setUseVBO().
void LLPipeline::restoreGL | ( | ) |
Definition at line 409 of file pipeline.cpp.
References i, mObjectPartition, mVertexShadersEnabled, resetVertexBuffers(), and LLShaderMgr::setShaders().
Referenced by LLViewerWindow::restoreGL().
void LLPipeline::setActive | ( | LLDrawable * | drawablep, | |
BOOL | active | |||
) |
Definition at line 3489 of file pipeline.cpp.
References mActiveQ.
Referenced by LLDrawable::makeActive(), and LLDrawable::makeStatic().
Definition at line 3250 of file pipeline.cpp.
References LLColor4::clamp(), LLSky::getTotalAmbientColor(), gSky, mLightMask, and LLColor4::mV.
Referenced by LLFace::enableLights().
void LLPipeline::setLight | ( | LLDrawable * | drawablep, | |
BOOL | is_light | |||
) |
Definition at line 3471 of file pipeline.cpp.
References LLDrawable::clearState(), LLDrawable::LIGHT, markRelight(), and mLights.
Referenced by LLVOVolume::createDrawable(), LLVOVolume::parameterChanged(), and LLVOVolume::setIsLight().
Definition at line 468 of file pipeline.cpp.
References getMaxLightingDetail(), LLControlGroup::getS32(), gObjectList, gSavedSettings, llclamp(), mLightingDetail, mVertexShadersLoaded, LLViewerObjectList::relightAllObjects(), LLControlGroup::setS32(), and LLShaderMgr::setShaders().
Referenced by LLRenderLightingDetailListener::handleEvent(), and LLShaderMgr::setShaders().
Definition at line 3668 of file pipeline.cpp.
References sRenderBeacons.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 3686 of file pipeline.cpp.
References sRenderHighlight.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 3632 of file pipeline.cpp.
References sRenderParticleBeacons.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 3614 of file pipeline.cpp.
References sRenderPhysicalBeacons.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 3578 of file pipeline.cpp.
References sRenderScriptedBeacons.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 3596 of file pipeline.cpp.
References sRenderScriptedTouchBeacons.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 3650 of file pipeline.cpp.
References sRenderSoundBeacons.
Referenced by LLViewCheckBeaconEnabled::handleEvent().
Definition at line 199 of file pipeline.h.
References mRenderTypeMask.
Referenced by display(), and generateReflectionMap().
Definition at line 2800 of file pipeline.cpp.
References BACKLIGHT_DAY_MAGNITUDE_OBJECT, BACKLIGHT_NIGHT_MAGNITUDE_OBJECT, f, gAvatarBacklight, gCamera, LLMatrix4::getMat3(), LLViewerCamera::getModelview(), LLSky::getSunDirection(), glLightf, gSky, i, LLMatrix4::invert(), lerp(), mHWLightColors, mSunDiffuse, mSunDir, mSunShadowFactor, LLVector3::mV, LLVector4::mV, LLColor4::mV, NIGHTTIME_ELEVATION_COS, LLVector4::normVec(), S32, VBLUE, VGREEN, VRED, and LLVector3::z_axis.
Referenced by enableLightsAvatar(), and enableLightsAvatarEdit().
void LLPipeline::setupHWLights | ( | LLDrawPool * | pool | ) |
Definition at line 3008 of file pipeline.cpp.
References LLDrawable::ACTIVE, LLColor4::clamp(), f, LLSky::getMoonDiffuseColor(), LLSky::getMoonDirection(), LLSky::getSunDiffuseColor(), LLSky::getSunDirection(), LLSky::getTotalAmbientColor(), LLDrawPool::getVertexShaderLevel(), gFrameIntervalSeconds, glDisable, glLightf, gSky, light, LIGHT_FADE_TIME, llclamp(), llmax(), mHWLightColors, mLightingDetail, mLightMask, mLightMovingMask, mNearbyLights, mSunDiffuse, mSunDir, mSunShadowFactor, LLVector4::mV, LLVector3::mV, LLColor4::mV, NIGHTTIME_ELEVATION_COS, S32, LLColor4::setVec(), LLVector3::setVec(), sSkipUpdate, and x.
Referenced by renderGeom().
Definition at line 3786 of file pipeline.cpp.
References LLVertexBuffer::initClass(), llendl, llinfos, resetVertexBuffers(), and LLVertexBuffer::sEnableVBOs.
Referenced by LLRenderUseVBOListener::handleEvent().
Definition at line 1255 of file pipeline.cpp.
References i, mObjectPartition, mShiftList, LLMemType::MTYPE_PIPELINE, and LLDrawable::ON_SHIFT_LIST.
Referenced by LLViewerObjectList::shiftObjects().
void LLPipeline::stateSort | ( | LLDrawable * | drawablep, | |
LLCamera & | camera | |||
) |
Definition at line 1405 of file pipeline.cpp.
References LLDrawable::CLEAR_INVISIBLE, LLDrawable::clearState(), FALSE, LLDrawable::FORCE_INVISIBLE, LLFastTimer::FTM_STATESORT_DRAWABLE, LLPointer< Type >::get(), LLDrawable::getNumFaces(), LLDrawable::getRenderType(), LLDrawable::getVObj(), gHideSelectedObjects, hasRenderType(), LLDrawable::INVISIBLE, LLDrawable::isActive(), LLDrawable::isAvatar(), LLDrawable::isDead(), LLDrawable::isState(), LLDrawable::isVisible(), LLDrawable::mFaces, mNumVisibleFaces, LLDrawable::mRenderType, LLMemType::MTYPE_PIPELINE, LLPointer< Type >::notNull(), NULL, LLDrawable::setVisible(), sSkipUpdate, and LLDrawable::updateDistance().
void LLPipeline::stateSort | ( | LLSpatialBridge * | bridge, | |
LLCamera & | camera | |||
) |
Definition at line 1396 of file pipeline.cpp.
References LLMemType::MTYPE_PIPELINE, sSkipUpdate, and LLSpatialBridge::updateDistance().
void LLPipeline::stateSort | ( | LLSpatialGroup * | group, | |
LLCamera & | camera | |||
) |
Definition at line 1376 of file pipeline.cpp.
References LLSpatialGroup::changeLOD(), LLSpatialGroup::getData(), gFrameTimeSeconds, i, LLSpatialGroup::makeStatic(), LLSpatialGroup::mLastUpdateTime, LLMemType::MTYPE_PIPELINE, sSkipUpdate, and stateSort().
Definition at line 1339 of file pipeline.cpp.
References LLFastTimer::FTM_STATESORT, i, mActiveGroups, LLMemType::MTYPE_PIPELINE, mVisibleBridge, mVisibleGroups, mVisibleList, and postSort().
Referenced by display(), generateReflectionMap(), and stateSort().
Definition at line 3674 of file pipeline.cpp.
References sRenderBeacons.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3540 of file pipeline.cpp.
References gPipeline, hasRenderDebugMask(), llendl, llinfos, and mRenderDebugMask.
Referenced by init_debug_rendering_menu().
Definition at line 3556 of file pipeline.cpp.
References gPipeline, and hasRenderDebugMask().
Referenced by init_debug_rendering_menu().
Definition at line 3563 of file pipeline.cpp.
References gPipeline, and mRenderDebugFeatureMask.
Referenced by display(), generateReflectionMap(), init_debug_rendering_menu(), and LLViewerWindow::rawSnapshot().
Definition at line 3571 of file pipeline.cpp.
References gPipeline, and hasRenderDebugFeatureMask().
Referenced by init_debug_rendering_menu().
Definition at line 3692 of file pipeline.cpp.
References sRenderHighlight.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3638 of file pipeline.cpp.
References sRenderParticleBeacons.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3620 of file pipeline.cpp.
References sRenderPhysicalBeacons.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3584 of file pipeline.cpp.
References sRenderScriptedBeacons.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3602 of file pipeline.cpp.
References sRenderScriptedTouchBeacons.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3656 of file pipeline.cpp.
References sRenderSoundBeacons.
Referenced by LLViewToggleBeacon::handleEvent().
Definition at line 3502 of file pipeline.cpp.
References gPipeline, and mRenderTypeMask.
Referenced by display(), LLViewToggleRenderType::handleEvent(), LLManipTranslate::highlightIntersection(), postSort(), and toggleRenderTypeControl().
Definition at line 3509 of file pipeline.cpp.
References gPipeline, hasRenderType(), llendl, llinfos, toggleRenderType(), and type.
Referenced by init_debug_rendering_menu().
Definition at line 3533 of file pipeline.cpp.
References gPipeline, hasRenderType(), S32, and type.
Referenced by LLViewCheckRenderType::handleEvent(), and LLDebugText::update().
void LLPipeline::unlinkDrawable | ( | LLDrawable * | ) |
Definition at line 694 of file pipeline.cpp.
References LLFastTimer::FTM_PIPELINE, llendl, llerrs, llwarns, mLights, mMovedList, LLDrawable::ON_MOVE_LIST, and t.
Referenced by LLDrawable::cleanupReferences().
void LLPipeline::unloadShaders | ( | ) | [private] |
Definition at line 443 of file pipeline.cpp.
References mVertexShadersLoaded, and LLShaderMgr::unloadShaders().
Referenced by destroyGL().
Definition at line 927 of file pipeline.cpp.
References LLFastTimer::FTM_CULL, gSky, gTrivialAccepts, hasRenderType(), i, llendl, llinfos, mActiveGroups, mDrawableGroups, mObjectPartition, LLMemType::MTYPE_PIPELINE, mVisibleBridge, mVisibleGroups, mVisibleList, LLSky::mVOGroundp, LLSky::mVOSkyp, LLPointer< Type >::notNull(), processOcclusion(), RENDER_TYPE_GROUND, RENDER_TYPE_SKY, stop_glerror, t, and LLSky::updateCull().
Referenced by display(), and generateReflectionMap().
BOOL LLPipeline::updateDrawableGeom | ( | LLDrawable * | drawable, | |
BOOL | priority | |||
) | [private] |
Definition at line 1048 of file pipeline.cpp.
References LLDrawable::BUILT, mGeometryChanges, LLDrawable::setState(), and LLDrawable::updateGeometry().
Referenced by updateGeom().
Definition at line 1059 of file pipeline.cpp.
References LLDrawable::clearState(), count, FALSE, LLFastTimer::FTM_GEO_UPDATE, LLTimer::getElapsedTimeF32(), LLDrawable::getParent(), LLDrawable::getSpatialBridge(), LLDrawable::getSpatialGroup(), LLDrawable::IN_REBUILD_Q1, LLDrawable::IN_REBUILD_Q2, LLDrawable::isDead(), LLDrawable::isRoot(), LLDrawable::isState(), llmax(), mBuildQ1, mBuildQ2, mMovedBridge, LLMemType::MTYPE_PIPELINE, NULL, LLVOVolume::preUpdateGeom(), S32, t, TRUE, updateDrawableGeom(), and updateMovedList().
Referenced by display().
void LLPipeline::updateMove | ( | ) |
Definition at line 846 of file pipeline.cpp.
References LLFastTimer::FTM_OCTREE_BALANCE, LLControlGroup::getBOOL(), LLDrawable::getParent(), gSavedSettings, i, LLDrawable::isActive(), LLDrawable::isDead(), LLDrawable::isRoot(), mActiveQ, LLDrawable::makeStatic(), MAX_ACTIVE_OBJECT_QUIET_FRAMES, mMovedList, mObjectPartition, LLDrawable::mQuietCount, mRetexturedList, LLMemType::MTYPE_PIPELINE, and updateMovedList().
Referenced by idle().
void LLPipeline::updateMoveDampedAsync | ( | LLDrawable * | drawablep | ) |
Definition at line 772 of file pipeline.cpp.
References LLDrawable::clearState(), LLDrawable::EARLY_MOVE, LLControlGroup::getBOOL(), gSavedSettings, LLDrawable::isState(), llendl, llerrs, mMovedList, LLDrawable::MOVE_UNDAMPED, LLDrawable::ON_MOVE_LIST, LLDrawable::setState(), and LLDrawable::updateMove().
Referenced by LLAgent::calcFocusPositionTargetGlobal(), and LLVOAvatar::idleUpdate().
void LLPipeline::updateMovedList | ( | LLDrawable::drawable_vector_t & | move_list | ) |
Definition at line 825 of file pipeline.cpp.
References LLDrawable::clearState(), LLDrawable::EARLY_MOVE, LLDrawable::isDead(), LLDrawable::isState(), LLDrawable::MOVE_UNDAMPED, LLDrawable::ON_MOVE_LIST, TRUE, and LLDrawable::updateMove().
Referenced by updateGeom(), and updateMove().
void LLPipeline::updateMoveNormalAsync | ( | LLDrawable * | drawablep | ) |
Definition at line 799 of file pipeline.cpp.
References LLDrawable::EARLY_MOVE, LLControlGroup::getBOOL(), gSavedSettings, LLDrawable::isState(), llendl, llerrs, mMovedList, LLDrawable::MOVE_UNDAMPED, LLDrawable::ON_MOVE_LIST, LLDrawable::setState(), and LLDrawable::updateMove().
Referenced by LLAgent::calcFocusPositionTargetGlobal(), LLVOAvatar::idleUpdate(), LLViewerObject::setPositionAbsoluteGlobal(), LLVOAvatar::slamPosition(), and LLAgent::updateCamera().
BOOL LLPipeline::verify | ( | ) |
Definition at line 3353 of file pipeline.cpp.
References FALSE, llendl, llwarns, mPools, and TRUE.
Referenced by renderGeom().
Definition at line 391 of file pipeline.h.
Referenced by cleanup(), destroyGL(), forAllVisibleDrawables(), markNotCulled(), postSort(), LLDrawPoolBump::renderActive(), LLRenderPass::renderActive(), LLDrawPoolBump::renderBumpActive(), stateSort(), and updateCull().
LLDrawable::drawable_set_t LLPipeline::mActiveQ [protected] |
Definition at line 461 of file pipeline.h.
Referenced by findReferences(), setActive(), and updateMove().
std::vector<LLSpatialGroup* > LLPipeline::mAlphaGroups |
Definition at line 393 of file pipeline.h.
Referenced by cleanup(), destroyGL(), postSort(), and LLDrawPoolAlpha::render().
std::vector<LLSpatialGroup* > LLPipeline::mAlphaGroupsPostWater |
Definition at line 394 of file pipeline.h.
Referenced by postSort(), and LLDrawPoolAlphaPostWater::render().
LLDrawPool* LLPipeline::mAlphaPool [protected] |
Definition at line 498 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
LLDrawPool* LLPipeline::mAlphaPoolPostWater [protected] |
Definition at line 499 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
LLPointer<LLViewerImage> LLPipeline::mBloomImage2p [protected] |
LLPointer<LLViewerImage> LLPipeline::mBloomImagep [protected] |
LLDrawable::drawable_list_t LLPipeline::mBuildQ1 [protected] |
Definition at line 458 of file pipeline.h.
Referenced by findReferences(), markRebuild(), and updateGeom().
LLDrawable::drawable_list_t LLPipeline::mBuildQ2 [protected] |
Definition at line 459 of file pipeline.h.
Referenced by findReferences(), markRebuild(), and updateGeom().
LLDrawPool* LLPipeline::mBumpPool [protected] |
Definition at line 507 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
Definition at line 379 of file pipeline.h.
Referenced by LLSpatialPartition::processImagery(), and releaseGLBuffers().
GLuint LLPipeline::mCubeDepth |
Definition at line 385 of file pipeline.h.
Referenced by generateReflectionMap(), LLPipeline(), and releaseGLBuffers().
GLuint LLPipeline::mCubeFrameBuffer |
Definition at line 382 of file pipeline.h.
Referenced by generateReflectionMap(), LLPipeline(), and releaseGLBuffers().
Definition at line 396 of file pipeline.h.
Referenced by cleanup(), destroyGL(), forAllVisibleDrawables(), markNotCulled(), postSort(), and updateCull().
LLPointer<LLViewerImage> LLPipeline::mFaceSelectImagep [protected] |
Definition at line 346 of file pipeline.h.
Definition at line 347 of file pipeline.h.
GLuint LLPipeline::mFramebuffer[2] |
Definition at line 376 of file pipeline.h.
Referenced by LLPipeline(), releaseGLBuffers(), and renderBloom().
Definition at line 355 of file pipeline.h.
Referenced by resetFrameStats(), and updateDrawableGeom().
GLuint LLPipeline::mGlowBuffer |
GLuint LLPipeline::mGlowMap |
LLDrawPool* LLPipeline::mGlowPool [protected] |
Definition at line 506 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
LLDrawPool* LLPipeline::mGroundPool [protected] |
Definition at line 504 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
std::vector<LLFace*> LLPipeline::mHighlightFaces |
Definition at line 511 of file pipeline.h.
Referenced by destroyGL(), renderGeom(), renderHighlights(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), and renderScriptedTouchBeacons().
LLColor4 LLPipeline::mHWLightColors[8] [protected] |
Definition at line 452 of file pipeline.h.
Referenced by enableLights(), setupAvatarLights(), and setupHWLights().
LLDrawPool* LLPipeline::mLastRebuildPool [protected] |
S32 LLPipeline::mLightingDetail [protected] |
Definition at line 521 of file pipeline.h.
Referenced by calcNearbyLights(), enableLights(), enableLightsDynamic(), enableLightsFullbright(), enableLightsStatic(), getLightingDetail(), renderGeom(), setLightingDetail(), and setupHWLights().
U32 LLPipeline::mLightMask [protected] |
Definition at line 519 of file pipeline.h.
Referenced by enableLights(), setAmbient(), and setupHWLights().
U32 LLPipeline::mLightMovingMask [protected] |
LLDrawable::drawable_set_t LLPipeline::mLights [protected] |
Definition at line 450 of file pipeline.h.
Referenced by calcNearbyLights(), findReferences(), getLightCount(), setLight(), and unlinkDrawable().
LLDrawable::drawable_vector_t LLPipeline::mMovedList [protected] |
Definition at line 418 of file pipeline.h.
Referenced by findReferences(), markMoved(), unlinkDrawable(), updateMove(), updateMoveDampedAsync(), and updateMoveNormalAsync().
light_set_t LLPipeline::mNearbyLights [protected] |
std::vector<LLSpatialPartition*> LLPipeline::mObjectPartition [private] |
Definition at line 338 of file pipeline.h.
Referenced by cleanup(), dirtyPoolObjectTextures(), doOcclusion(), getSpatialPartition(), init(), pickObject(), postSort(), processOcclusion(), renderDebug(), resetVertexBuffers(), restoreGL(), shiftObjects(), updateCull(), and updateMove().
Definition at line 417 of file pipeline.h.
Referenced by cleanup(), destroyGL(), doOcclusion(), and processOcclusion().
U32 LLPipeline::mOldRenderDebugMask [protected] |
pool_set_t LLPipeline::mPools [protected] |
Definition at line 492 of file pipeline.h.
Referenced by addPool(), cleanup(), dirtyPoolObjectTextures(), rebuildPools(), removePool(), renderForSelect(), renderGeom(), resetDrawOrders(), and verify().
U32 LLPipeline::mRenderDebugFeatureMask [protected] |
Definition at line 407 of file pipeline.h.
Referenced by hasRenderDebugFeatureMask(), init(), and toggleRenderDebugFeature().
U32 LLPipeline::mRenderDebugMask [protected] |
Definition at line 408 of file pipeline.h.
Referenced by hasRenderDebugMask(), init(), renderDebug(), renderGeom(), resetFrameStats(), and toggleRenderDebug().
U32 LLPipeline::mRenderFeatureMask [protected] |
LLSpatialGroup::drawmap_elem_t LLPipeline::mRenderMap[LLRenderPass::NUM_RENDER_TYPES] |
Definition at line 392 of file pipeline.h.
Referenced by clearRenderMap(), postSort(), LLDrawPoolBump::renderBump(), LLRenderPass::renderInvisible(), and LLRenderPass::renderTexture().
U32 LLPipeline::mRenderTypeMask [protected] |
Definition at line 405 of file pipeline.h.
Referenced by getRenderTypeMask(), hasRenderType(), init(), setRenderTypeMask(), and toggleRenderType().
Definition at line 463 of file pipeline.h.
Referenced by findReferences(), markTextured(), and updateMove().
Definition at line 369 of file pipeline.h.
Referenced by bindScreenToTexture(), renderGeom(), and LLDrawPoolWater::shade().
GLuint LLPipeline::mScreenTex |
Definition at line 368 of file pipeline.h.
Referenced by bindScreenToTexture(), releaseGLBuffers(), and renderGeom().
std::vector<LLFace*> LLPipeline::mSelectedFaces [protected] |
LLDrawable::drawable_vector_t LLPipeline::mShiftList [protected] |
Definition at line 420 of file pipeline.h.
Referenced by findReferences(), markShift(), and shiftObjects().
LLRenderPass* LLPipeline::mSimplePool [protected] |
Definition at line 505 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), removeFromQuickLookup(), and renderObjects().
LLDrawPool* LLPipeline::mSkyPool [protected] |
Definition at line 500 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
LLDrawPool* LLPipeline::mStarsPool [protected] |
Definition at line 501 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
Definition at line 388 of file pipeline.h.
Referenced by LLDrawable::applyLightsAsPoint(), setupAvatarLights(), and setupHWLights().
Definition at line 389 of file pipeline.h.
Referenced by LLDrawable::applyLightsAsPoint(), setupAvatarLights(), and setupHWLights().
F32 LLPipeline::mSunShadowFactor [protected] |
LLDrawPool* LLPipeline::mTerrainPool [protected] |
std::map<uintptr_t, LLDrawPool*> LLPipeline::mTerrainPools [protected] |
Definition at line 496 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
std::map<uintptr_t, LLDrawPool*> LLPipeline::mTreePools [protected] |
Definition at line 497 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
Definition at line 350 of file pipeline.h.
Referenced by LLFrameStats::addFrameData(), LLSpatialPartition::doOcclusion(), LLDrawPoolBump::pushBatch(), LLRenderPass::pushBatch(), renderGeom(), LLDrawPoolBump::renderGroup(), LLRenderPass::renderInvisible(), and resetFrameStats().
Definition at line 351 of file pipeline.h.
Referenced by init(), init_stat_view(), and resetFrameStats().
Definition at line 401 of file pipeline.h.
Referenced by getUseVertexShaders(), restoreGL(), and LLShaderMgr::setShaders().
Definition at line 402 of file pipeline.h.
Referenced by canUseVertexShaders(), setLightingDetail(), LLShaderMgr::setShaders(), unloadShaders(), and LLShaderMgr::unloadShaders().
Definition at line 416 of file pipeline.h.
Referenced by cleanup(), destroyGL(), doOcclusion(), markVisible(), postSort(), renderDebug(), stateSort(), and updateCull().
Definition at line 395 of file pipeline.h.
Referenced by cleanup(), destroyGL(), forAllVisibleDrawables(), markNotCulled(), postSort(), LLRenderPass::renderStatic(), stateSort(), and updateCull().
Definition at line 415 of file pipeline.h.
Referenced by cleanup(), destroyGL(), findReferences(), getVisibleCount(), markVisible(), renderDebug(), stateSort(), and updateCull().
LLDrawPool* LLPipeline::mWaterPool [protected] |
Definition at line 503 of file pipeline.h.
Referenced by addToQuickLookup(), cleanup(), findPool(), and removeFromQuickLookup().
S32 LLPipeline::sCompiles = 0 [static] |
Definition at line 359 of file pipeline.h.
Referenced by LLVOGrass::getGeometry(), LLVOGrass::plantBlades(), resetFrameStats(), LLVOWater::updateGeometry(), LLVOVolume::updateGeometry(), LLVOTextBubble::updateGeometry(), LLVOStars::updateGeometry(), LLVOSky::updateGeometry(), LLVOPartGroup::updateGeometry(), and LLVOGround::updateGeometry().
BOOL LLPipeline::sDynamicReflections = FALSE [static] |
Definition at line 364 of file pipeline.h.
Referenced by LLOctreeCull::preprocess(), LLSpatialPartition::processImagery(), LLDrawPoolGlow::render(), LLDrawPoolBump::renderActive(), LLDrawPoolBump::renderGroup(), and LLShaderMgr::setShaders().
BOOL LLPipeline::sRenderBeacons = FALSE [static] |
Definition at line 530 of file pipeline.h.
Referenced by getRenderBeacons(), postSort(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), setRenderBeacons(), and toggleRenderBeacons().
BOOL LLPipeline::sRenderGlow = FALSE [static] |
Definition at line 365 of file pipeline.h.
Referenced by LLVolumeGeometryManager::rebuildGeom(), renderGeom(), LLDrawPoolAlpha::renderGroupAlpha(), and LLShaderMgr::setShaders().
BOOL LLPipeline::sRenderHighlight = TRUE [static] |
Definition at line 531 of file pipeline.h.
Referenced by getRenderHighlights(), renderParticleBeacons(), renderPhysicalBeacons(), renderScriptedBeacons(), renderScriptedTouchBeacons(), setRenderHighlights(), and toggleRenderHighlights().
BOOL LLPipeline::sRenderParticleBeacons = FALSE [static, protected] |
Definition at line 527 of file pipeline.h.
Referenced by getRenderParticleBeacons(), postSort(), setRenderParticleBeacons(), and toggleRenderParticleBeacons().
BOOL LLPipeline::sRenderPhysicalBeacons = TRUE [static, protected] |
Definition at line 524 of file pipeline.h.
Referenced by getRenderPhysicalBeacons(), postSort(), setRenderPhysicalBeacons(), and toggleRenderPhysicalBeacons().
BOOL LLPipeline::sRenderProcessBeacons = FALSE [static] |
Definition at line 532 of file pipeline.h.
Referenced by getProcessBeacons(), LLViewerWindow::handlePerFrameHover(), and postSort().
BOOL LLPipeline::sRenderScriptedBeacons = FALSE [static, protected] |
Definition at line 526 of file pipeline.h.
Referenced by getRenderScriptedBeacons(), postSort(), setRenderScriptedBeacons(), and toggleRenderScriptedBeacons().
BOOL LLPipeline::sRenderScriptedTouchBeacons = TRUE [static, protected] |
Definition at line 525 of file pipeline.h.
Referenced by getRenderScriptedTouchBeacons(), postSort(), setRenderScriptedTouchBeacons(), and toggleRenderScriptedTouchBeacons().
BOOL LLPipeline::sRenderSoundBeacons = FALSE [static, protected] |
Definition at line 528 of file pipeline.h.
Referenced by getRenderSoundBeacons(), postSort(), setRenderSoundBeacons(), and toggleRenderSoundBeacons().
BOOL LLPipeline::sShowHUDAttachments = TRUE [static] |
Definition at line 361 of file pipeline.h.
Referenced by display(), LLViewCheckHUDAttachments::handleEvent(), LLViewShowHUDAttachments::handleEvent(), LLViewerWindow::rawSnapshot(), and renderForSelect().
BOOL LLPipeline::sSkipUpdate = FALSE [static] |
Definition at line 363 of file pipeline.h.
Referenced by calcNearbyLights(), generateReflectionMap(), markNotCulled(), postSort(), setupHWLights(), and stateSort().
BOOL LLPipeline::sUseOcclusion = FALSE [static] |
Definition at line 362 of file pipeline.h.
Referenced by LLSpatialPartition::checkOcclusion(), display(), doOcclusion(), LLOctreeCull::earlyFail(), generateReflectionMap(), LLUseOcclusionListener::handleEvent(), LLSpatialGroup::isVisible(), postSort(), processOcclusion(), renderGeom(), and LLOctreeRenderNonOccluded::traverse().