LLPipeline Class Reference

#include <pipeline.h>

Collaboration diagram for LLPipeline:

Collaboration graph
[legend]
List of all members.

Public Types

 GPU_CLASS_MAX = 3
 RENDER_TYPE_SKY = LLDrawPool::POOL_SKY
 RENDER_TYPE_STARS = LLDrawPool::POOL_STARS
 RENDER_TYPE_GROUND = LLDrawPool::POOL_GROUND
 RENDER_TYPE_TERRAIN = LLDrawPool::POOL_TERRAIN
 RENDER_TYPE_SIMPLE = LLDrawPool::POOL_SIMPLE
 RENDER_TYPE_BUMP = LLDrawPool::POOL_BUMP
 RENDER_TYPE_AVATAR = LLDrawPool::POOL_AVATAR
 RENDER_TYPE_TREE = LLDrawPool::POOL_TREE
 RENDER_TYPE_WATER = LLDrawPool::POOL_WATER
 RENDER_TYPE_ALPHA = LLDrawPool::POOL_ALPHA
 RENDER_TYPE_GLOW = LLDrawPool::POOL_GLOW
 RENDER_TYPE_HUD = LLDrawPool::NUM_POOL_TYPES
 RENDER_TYPE_VOLUME
 RENDER_TYPE_GRASS
 RENDER_TYPE_PARTICLES
 RENDER_TYPE_CLOUDS
 RENDER_DEBUG_FEATURE_UI = 0x0001
 RENDER_DEBUG_FEATURE_SELECTED = 0x0002
 RENDER_DEBUG_FEATURE_HIGHLIGHTED = 0x0004
 RENDER_DEBUG_FEATURE_DYNAMIC_TEXTURES = 0x0008
 RENDER_DEBUG_FEATURE_FLEXIBLE = 0x0010
 RENDER_DEBUG_FEATURE_FOG = 0x0020
 RENDER_DEBUG_FEATURE_PALETTE = 0x0040
 RENDER_DEBUG_FEATURE_FR_INFO = 0x0080
 RENDER_DEBUG_FEATURE_FOOT_SHADOWS = 0x0100
 RENDER_FEATURE_LOCAL_LIGHTING = 0x02
 RENDER_FEATURE_OBJECT_BUMP = 0x04
 RENDER_FEATURE_AVATAR_BUMP = 0x08
 RENDER_FEATURE_RIPPLE_WATER = 0X20
 RENDER_DEBUG_LIGHT_TRACE = 0x00001
 RENDER_DEBUG_COMPOSITION = 0x00020
 RENDER_DEBUG_VERIFY = 0x00080
 RENDER_DEBUG_SHADOW_MAP = 0x00100
 RENDER_DEBUG_BBOXES = 0x00200
 RENDER_DEBUG_OCTREE = 0x00400
 RENDER_DEBUG_PICKING = 0x00800
 RENDER_DEBUG_OCCLUSION = 0x01000
 RENDER_DEBUG_POINTS = 0x02000
 RENDER_DEBUG_TEXTURE_PRIORITY = 0x04000
 RENDER_DEBUG_TEXTURE_AREA = 0x08000
 RENDER_DEBUG_FACE_AREA = 0x10000
 RENDER_DEBUG_PARTICLES = 0x20000
 RENDER_DEBUG_GLOW = 0x40000
 RENDER_DEBUG_TEXTURE_ANIM = 0x80000
 PARTITION_VOLUME = 0
 PARTITION_BRIDGE
 PARTITION_HUD
 PARTITION_TERRAIN
 PARTITION_WATER
 PARTITION_TREE
 PARTITION_PARTICLE
 PARTITION_CLOUD
 PARTITION_GRASS
 PARTITION_NONE
 NUM_PARTITIONS
enum  { GPU_CLASS_MAX = 3 }
enum  LLRenderTypeMask {
  RENDER_TYPE_SKY = LLDrawPool::POOL_SKY, RENDER_TYPE_STARS = LLDrawPool::POOL_STARS, RENDER_TYPE_GROUND = LLDrawPool::POOL_GROUND, RENDER_TYPE_TERRAIN = LLDrawPool::POOL_TERRAIN,
  RENDER_TYPE_SIMPLE = LLDrawPool::POOL_SIMPLE, RENDER_TYPE_BUMP = LLDrawPool::POOL_BUMP, RENDER_TYPE_AVATAR = LLDrawPool::POOL_AVATAR, RENDER_TYPE_TREE = LLDrawPool::POOL_TREE,
  RENDER_TYPE_WATER = LLDrawPool::POOL_WATER, RENDER_TYPE_ALPHA = LLDrawPool::POOL_ALPHA, RENDER_TYPE_GLOW = LLDrawPool::POOL_GLOW, RENDER_TYPE_HUD = LLDrawPool::NUM_POOL_TYPES,
  RENDER_TYPE_VOLUME, RENDER_TYPE_GRASS, RENDER_TYPE_PARTICLES, RENDER_TYPE_CLOUDS
}
enum  LLRenderDebugFeatureMask {
  RENDER_DEBUG_FEATURE_UI = 0x0001, RENDER_DEBUG_FEATURE_SELECTED = 0x0002, RENDER_DEBUG_FEATURE_HIGHLIGHTED = 0x0004, RENDER_DEBUG_FEATURE_DYNAMIC_TEXTURES = 0x0008,
  RENDER_DEBUG_FEATURE_FLEXIBLE = 0x0010, RENDER_DEBUG_FEATURE_FOG = 0x0020, RENDER_DEBUG_FEATURE_PALETTE = 0x0040, RENDER_DEBUG_FEATURE_FR_INFO = 0x0080,
  RENDER_DEBUG_FEATURE_FOOT_SHADOWS = 0x0100
}
enum  LLRenderFeatureMask { RENDER_FEATURE_LOCAL_LIGHTING = 0x02, RENDER_FEATURE_OBJECT_BUMP = 0x04, RENDER_FEATURE_AVATAR_BUMP = 0x08, RENDER_FEATURE_RIPPLE_WATER = 0X20 }
enum  LLRenderDebugMask {
  RENDER_DEBUG_LIGHT_TRACE = 0x00001, RENDER_DEBUG_COMPOSITION = 0x00020, RENDER_DEBUG_VERIFY = 0x00080, RENDER_DEBUG_SHADOW_MAP = 0x00100,
  RENDER_DEBUG_BBOXES = 0x00200, RENDER_DEBUG_OCTREE = 0x00400, RENDER_DEBUG_PICKING = 0x00800, RENDER_DEBUG_OCCLUSION = 0x01000,
  RENDER_DEBUG_POINTS = 0x02000, RENDER_DEBUG_TEXTURE_PRIORITY = 0x04000, RENDER_DEBUG_TEXTURE_AREA = 0x08000, RENDER_DEBUG_FACE_AREA = 0x10000,
  RENDER_DEBUG_PARTICLES = 0x20000, RENDER_DEBUG_GLOW = 0x40000, RENDER_DEBUG_TEXTURE_ANIM = 0x80000
}
enum  eObjectPartitions {
  PARTITION_VOLUME = 0, PARTITION_BRIDGE, PARTITION_HUD, PARTITION_TERRAIN,
  PARTITION_WATER, PARTITION_TREE, PARTITION_PARTICLE, PARTITION_CLOUD,
  PARTITION_GRASS, PARTITION_NONE, NUM_PARTITIONS
}

Public Member Functions

 LLPipeline ()
 ~LLPipeline ()
void destroyGL ()
void restoreGL ()
void resetVertexBuffers ()
void releaseGLBuffers ()
void resetVertexBuffers (LLDrawable *drawable)
void setUseVBO (BOOL use_vbo)
void generateReflectionMap (LLCubeMap *cube_map, LLCamera &camera, GLsizei res)
void blurReflectionMap (LLCubeMap *cube_in, LLCubeMap *cube_out, U32 res)
void bindScreenToTexture ()
void renderBloom (GLuint source, GLuint dest, GLuint buffer, U32 res, LLVector2 tc1, LLVector2 tc2)
void init ()
void cleanup ()
LLDrawPoolfindPool (const U32 pool_type, LLViewerImage *tex0=NULL)
 Get a draw pool from pool type (POOL_SIMPLE, POOL_MEDIA) and texture.
LLDrawPoolgetPool (const U32 pool_type, LLViewerImage *tex0=NULL)
 Get a draw pool for faces of the appropriate type and texture. Create if necessary.
void addPool (LLDrawPool *poolp)
void removePool (LLDrawPool *poolp)
void allocDrawable (LLViewerObject *obj)
void unlinkDrawable (LLDrawable *)
void markVisible (LLDrawable *drawablep, LLCamera &camera)
void doOcclusion (LLCamera &camera)
void markNotCulled (LLSpatialGroup *group, LLCamera &camera, BOOL active=FALSE)
void markMoved (LLDrawable *drawablep, BOOL damped_motion=FALSE)
void markShift (LLDrawable *drawablep)
void markTextured (LLDrawable *drawablep)
void markRebuild (LLDrawable *drawablep, LLDrawable::EDrawableFlags flag=LLDrawable::REBUILD_ALL, BOOL priority=FALSE)
void markRelight (LLDrawable *drawablep, const BOOL now=FALSE)
LLViewerObjectpickObject (const LLVector3 &start, const LLVector3 &end, LLVector3 &collision)
void dirtyPoolObjectTextures (const std::set< LLViewerImage * > &textures)
void resetDrawOrders ()
U32 addObject (LLViewerObject *obj)
void enableShadows (const BOOL enable_shadows)
S32 setLightingDetail (S32 level)
S32 getLightingDetail () const
S32 getMaxLightingDetail () const
void setUseVertexShaders (BOOL use_shaders)
BOOL getUseVertexShaders () const
BOOL canUseVertexShaders ()
void resetFrameStats ()
void updateMoveDampedAsync (LLDrawable *drawablep)
void updateMoveNormalAsync (LLDrawable *drawablep)
void updateMovedList (LLDrawable::drawable_vector_t &move_list)
void updateMove ()
void updateCull (LLCamera &camera)
void updateGeom (F32 max_dtime)
void stateSort (LLCamera &camera)
void stateSort (LLSpatialGroup *group, LLCamera &camera)
void stateSort (LLSpatialBridge *bridge, LLCamera &camera)
void stateSort (LLDrawable *drawablep, LLCamera &camera)
void postSort (LLCamera &camera)
void forAllDrawables (LLSpatialGroup::sg_vector_t &groups, void(*func)(LLDrawable *))
void forAllVisibleDrawables (void(*func)(LLDrawable *))
void renderObjects (U32 type, U32 mask, BOOL texture=TRUE)
void renderGeom (LLCamera &camera)
void renderHighlights ()
void renderDebug ()
void processOcclusion (LLCamera &camera)
void renderForSelect (std::set< LLViewerObject * > &objects)
void renderFaceForUVSelect (LLFace *facep)
void rebuildPools ()
void findReferences (LLDrawable *drawablep)
BOOL verify ()
S32 getVisibleCount () const
S32 getLightCount () const
void calcNearbyLights (LLCamera &camera)
void setupHWLights (LLDrawPool *pool)
void setupAvatarLights (BOOL for_edit=FALSE)
void enableLights (U32 mask, F32 shadow_factor)
void enableLightsStatic (F32 shadow_factor)
void enableLightsDynamic (F32 shadow_factor)
void enableLightsAvatar (F32 shadow_factor)
void enableLightsAvatarEdit (const LLColor4 &color)
void enableLightsFullbright (const LLColor4 &color)
void disableLights ()
void setAmbient (const LLColor4 &ambient)
void shiftObjects (const LLVector3 &offset)
void setLight (LLDrawable *drawablep, BOOL is_light)
void setActive (LLDrawable *drawablep, BOOL active)
BOOL hasRenderType (const U32 type) const
BOOL hasRenderDebugFeatureMask (const U32 mask) const
BOOL hasRenderFeatureMask (const U32 mask) const
BOOL hasRenderDebugMask (const U32 mask) const
void setRenderTypeMask (const U32 mask)
U32 getRenderTypeMask () const
LLSpatialPartitiongetSpatialPartition (LLViewerObject *vobj)
LLSpatialPartitiongetSpatialPartition (U32 index)
void updateCamera (BOOL reset=FALSE)
void clearRenderMap ()

Static Public Member Functions

static LLDrawPoolgetPoolFromTE (const LLTextureEntry *te, LLViewerImage *te_image)
 Figures out draw pool type from texture entry. Creates pool if necessary.
static U32 getPoolTypeFromTE (const LLTextureEntry *te, LLViewerImage *imagep)
static F32 calcPixelArea (LLVector3 center, LLVector3 size, LLCamera &camera)
static void toggleRenderType (U32 type)
static BOOL hasRenderTypeControl (void *data)
static void toggleRenderDebug (void *data)
static void toggleRenderDebugFeature (void *data)
static void toggleRenderTypeControl (void *data)
static BOOL toggleRenderTypeControlNegated (void *data)
static BOOL toggleRenderDebugControl (void *data)
static BOOL toggleRenderDebugFeatureControl (void *data)
static void setRenderParticleBeacons (BOOL val)
static void toggleRenderParticleBeacons (void *data)
static BOOL getRenderParticleBeacons (void *data)
static void setRenderSoundBeacons (BOOL val)
static void toggleRenderSoundBeacons (void *data)
static BOOL getRenderSoundBeacons (void *data)
static void setRenderPhysicalBeacons (BOOL val)
static void toggleRenderPhysicalBeacons (void *data)
static BOOL getRenderPhysicalBeacons (void *data)
static void setRenderScriptedBeacons (BOOL val)
static void toggleRenderScriptedBeacons (void *data)
static BOOL getRenderScriptedBeacons (void *data)
static void setRenderScriptedTouchBeacons (BOOL val)
static void toggleRenderScriptedTouchBeacons (void *data)
static BOOL getRenderScriptedTouchBeacons (void *data)
static void setRenderBeacons (BOOL val)
static void toggleRenderBeacons (void *data)
static BOOL getRenderBeacons (void *data)
static void setRenderHighlights (BOOL val)
static void toggleRenderHighlights (void *data)
static BOOL getRenderHighlights (void *data)
static BOOL getProcessBeacons (void *data)

Public Attributes

LLPointer< LLViewerImagemAlphaSizzleImagep
LLVector3 mFlyCamPosition
LLQuaternion mFlyCamRotation
BOOL mBackfaceCull
S32 mTrianglesDrawn
LLStat mTrianglesDrawnStat
S32 mVerticesRelit
S32 mLightingChanges
S32 mGeometryChanges
S32 mNumVisibleFaces
GLuint mScreenTex
LLVector2 mScreenScale
GLuint mGlowMap
GLuint mGlowBuffer
GLuint mFramebuffer [2]
LLPointer< LLCubeMapmCubeBuffer
GLuint mCubeFrameBuffer
GLuint mCubeDepth
LLColor4 mSunDiffuse
LLVector3 mSunDir
LLSpatialGroup::sg_vector_t mActiveGroups
LLSpatialGroup::drawmap_elem_t mRenderMap [LLRenderPass::NUM_RENDER_TYPES]
std::vector< LLSpatialGroup * > mAlphaGroups
std::vector< LLSpatialGroup * > mAlphaGroupsPostWater
LLSpatialGroup::sg_vector_t mVisibleGroups
LLSpatialGroup::sg_vector_t mDrawableGroups
BOOL mInitialized
BOOL mVertexShadersEnabled
S32 mVertexShadersLoaded
std::vector< LLFace * > mHighlightFaces

Static Public Attributes

static S32 sCompiles = 0
static BOOL sShowHUDAttachments = TRUE
static BOOL sUseOcclusion = FALSE
static BOOL sSkipUpdate = FALSE
static BOOL sDynamicReflections = FALSE
static BOOL sRenderGlow = FALSE
static BOOL sRenderBeacons = FALSE
static BOOL sRenderHighlight = TRUE
static BOOL sRenderProcessBeacons = FALSE

Protected Types

typedef std::set< Light, Light::comparelight_set_t
typedef std::set< LLDrawPool *,
compare_pools
pool_set_t

Protected Attributes

U32 mRenderTypeMask
U32 mRenderFeatureMask
U32 mRenderDebugFeatureMask
U32 mRenderDebugMask
U32 mOldRenderDebugMask
LLDrawable::drawable_vector_t mVisibleList
LLSpatialBridge::bridge_vector_t mVisibleBridge
LLSpatialBridge::bridge_vector_t mOccludedBridge
LLDrawable::drawable_vector_t mMovedList
LLDrawable::drawable_vector_t mMovedBridge
LLDrawable::drawable_vector_t mShiftList
LLDrawable::drawable_set_t mLights
light_set_t mNearbyLights
LLColor4 mHWLightColors [8]
LLDrawable::drawable_list_t mBuildQ1
LLDrawable::drawable_list_t mBuildQ2
LLDrawable::drawable_set_t mActiveQ
LLDrawable::drawable_set_t mRetexturedList
pool_set_t mPools
LLDrawPoolmLastRebuildPool
std::map< uintptr_t, LLDrawPool * > mTerrainPools
std::map< uintptr_t, LLDrawPool * > mTreePools
LLDrawPoolmAlphaPool
LLDrawPoolmAlphaPoolPostWater
LLDrawPoolmSkyPool
LLDrawPoolmStarsPool
LLDrawPoolmTerrainPool
LLDrawPoolmWaterPool
LLDrawPoolmGroundPool
LLRenderPassmSimplePool
LLDrawPoolmGlowPool
LLDrawPoolmBumpPool
std::vector< LLFace * > mSelectedFaces
LLPointer< LLViewerImagemFaceSelectImagep
LLPointer< LLViewerImagemBloomImagep
LLPointer< LLViewerImagemBloomImage2p
U32 mLightMask
U32 mLightMovingMask
S32 mLightingDetail
F32 mSunShadowFactor

Static Protected Attributes

static BOOL sRenderPhysicalBeacons = TRUE
static BOOL sRenderScriptedTouchBeacons = TRUE
static BOOL sRenderScriptedBeacons = FALSE
static BOOL sRenderParticleBeacons = FALSE
static BOOL sRenderSoundBeacons = FALSE

Private Member Functions

void initShaders (BOOL force)
void unloadShaders ()
BOOL loadShaders ()
void saveVertexShaderLevel (S32 type, S32 level, S32 max)
void addToQuickLookup (LLDrawPool *new_poolp)
void removeFromQuickLookup (LLDrawPool *poolp)
BOOL updateDrawableGeom (LLDrawable *drawable, BOOL priority)

Private Attributes

std::vector< LLSpatialPartition * > mObjectPartition

Classes

struct  compare_pools
struct  Light

Detailed Description

Definition at line 69 of file pipeline.h.


Member Typedef Documentation

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.


Member Enumeration Documentation

anonymous enum

Enumerator:
GPU_CLASS_MAX 

Definition at line 252 of file pipeline.h.

enum LLPipeline::eObjectPartitions

Enumerator:
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.

enum LLPipeline::LLRenderDebugFeatureMask

Enumerator:
RENDER_DEBUG_FEATURE_UI 
RENDER_DEBUG_FEATURE_SELECTED 
RENDER_DEBUG_FEATURE_HIGHLIGHTED 
RENDER_DEBUG_FEATURE_DYNAMIC_TEXTURES 
RENDER_DEBUG_FEATURE_FLEXIBLE 
RENDER_DEBUG_FEATURE_FOG 
RENDER_DEBUG_FEATURE_PALETTE 
RENDER_DEBUG_FEATURE_FR_INFO 
RENDER_DEBUG_FEATURE_FOOT_SHADOWS 

Definition at line 277 of file pipeline.h.

enum LLPipeline::LLRenderDebugMask

Enumerator:
RENDER_DEBUG_LIGHT_TRACE 
RENDER_DEBUG_COMPOSITION 
RENDER_DEBUG_VERIFY 
RENDER_DEBUG_SHADOW_MAP 
RENDER_DEBUG_BBOXES 
RENDER_DEBUG_OCTREE 
RENDER_DEBUG_PICKING 
RENDER_DEBUG_OCCLUSION 
RENDER_DEBUG_POINTS 
RENDER_DEBUG_TEXTURE_PRIORITY 
RENDER_DEBUG_TEXTURE_AREA 
RENDER_DEBUG_FACE_AREA 
RENDER_DEBUG_PARTICLES 
RENDER_DEBUG_GLOW 
RENDER_DEBUG_TEXTURE_ANIM 

Definition at line 300 of file pipeline.h.

enum LLPipeline::LLRenderFeatureMask

Enumerator:
RENDER_FEATURE_LOCAL_LIGHTING 
RENDER_FEATURE_OBJECT_BUMP 
RENDER_FEATURE_AVATAR_BUMP 
RENDER_FEATURE_RIPPLE_WATER 

Definition at line 291 of file pipeline.h.

enum LLPipeline::LLRenderTypeMask

Enumerator:
RENDER_TYPE_SKY 
RENDER_TYPE_STARS 
RENDER_TYPE_GROUND 
RENDER_TYPE_TERRAIN 
RENDER_TYPE_SIMPLE 
RENDER_TYPE_BUMP 
RENDER_TYPE_AVATAR 
RENDER_TYPE_TREE 
RENDER_TYPE_WATER 
RENDER_TYPE_ALPHA 
RENDER_TYPE_GLOW 
RENDER_TYPE_HUD 
RENDER_TYPE_VOLUME 
RENDER_TYPE_GRASS 
RENDER_TYPE_PARTICLES 
RENDER_TYPE_CLOUDS 

Definition at line 254 of file pipeline.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

void LLPipeline::blurReflectionMap ( LLCubeMap cube_in,
LLCubeMap cube_out,
U32  res 
)

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().

void LLPipeline::calcNearbyLights ( LLCamera camera  ) 

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().

F32 LLPipeline::calcPixelArea ( LLVector3  center,
LLVector3  size,
LLCamera camera 
) [static]

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().

void LLPipeline::doOcclusion ( LLCamera camera  ) 

Definition at line 1018 of file pipeline.cpp.

References glMultMatrixf, glPopMatrix, hasRenderType(), i, mObjectPartition, mOccludedBridge, mVisibleBridge, and sUseOcclusion.

Referenced by renderGeom().

void LLPipeline::enableLights ( U32  mask,
F32  shadow_factor 
)

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().

void LLPipeline::enableLightsAvatar ( F32  shadow_factor  ) 

Definition at line 3215 of file pipeline.cpp.

References enableLights(), FALSE, mask, and setupAvatarLights().

Referenced by LLImagePreviewSculpted::render(), and LLDrawPoolAvatar::renderAvatars().

void LLPipeline::enableLightsAvatarEdit ( const LLColor4 color  ) 

Definition at line 3222 of file pipeline.cpp.

References enableLights(), f, mask, LLColor4::mV, setupAvatarLights(), and TRUE.

Referenced by LLDrawPoolAvatar::renderAvatars().

void LLPipeline::enableLightsDynamic ( F32  shadow_factor  ) 

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().

void LLPipeline::enableLightsFullbright ( const LLColor4 color  ) 

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().

void LLPipeline::enableLightsStatic ( F32  shadow_factor  ) 

Definition at line 3190 of file pipeline.cpp.

References enableLights(), f, glColor4f, mask, mLightingDetail, and mLightMovingMask.

Referenced by LLFace::enableLights(), and LLDrawPoolTerrain::render().

void LLPipeline::enableShadows ( const BOOL  enable_shadows  ) 

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.

Returns:
Draw pool, or NULL if not found.

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 
)

Definition at line 1475 of file pipeline.cpp.

References func, i, and j.

Referenced by forAllVisibleDrawables().

void LLPipeline::forAllVisibleDrawables ( void(*)(LLDrawable *)  func  ) 

Definition at line 1486 of file pipeline.cpp.

References forAllDrawables(), mActiveGroups, mDrawableGroups, and mVisibleGroups.

Referenced by postSort().

void LLPipeline::generateReflectionMap ( LLCubeMap cube_map,
LLCamera camera,
GLsizei  res 
)

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]

Definition at line 176 of file pipeline.h.

References mLights.

Referenced by output_statistics().

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

Definition at line 456 of file pipeline.cpp.

Referenced by setLightingDetail().

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.

Returns:
Always returns a draw pool.

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().

BOOL LLPipeline::getProcessBeacons ( void data  )  [static]

Definition at line 3704 of file pipeline.cpp.

References sRenderProcessBeacons.

Referenced by LLDebugText::update().

BOOL LLPipeline::getRenderBeacons ( void data  )  [static]

Definition at line 3680 of file pipeline.cpp.

References sRenderBeacons.

Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().

BOOL LLPipeline::getRenderHighlights ( void data  )  [static]

Definition at line 3698 of file pipeline.cpp.

References sRenderHighlight.

Referenced by LLViewToggleBeacon::handleEvent().

BOOL LLPipeline::getRenderParticleBeacons ( void data  )  [static]

Definition at line 3644 of file pipeline.cpp.

References sRenderParticleBeacons.

Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().

BOOL LLPipeline::getRenderPhysicalBeacons ( void data  )  [static]

Definition at line 3626 of file pipeline.cpp.

References sRenderPhysicalBeacons.

Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().

BOOL LLPipeline::getRenderScriptedBeacons ( void data  )  [static]

Definition at line 3590 of file pipeline.cpp.

References sRenderScriptedBeacons.

Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().

BOOL LLPipeline::getRenderScriptedTouchBeacons ( void data  )  [static]

Definition at line 3608 of file pipeline.cpp.

References sRenderScriptedTouchBeacons.

Referenced by LLViewToggleBeacon::handleEvent(), and LLDebugText::update().

BOOL LLPipeline::getRenderSoundBeacons ( void data  )  [static]

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  ) 

Definition at line 3724 of file pipeline.cpp.

References mObjectPartition, and NULL.

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().

BOOL LLPipeline::hasRenderDebugFeatureMask ( const U32  mask  )  const [inline]

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().

BOOL LLPipeline::hasRenderDebugMask ( const U32  mask  )  const [inline]

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().

BOOL LLPipeline::hasRenderFeatureMask ( const U32  mask  )  const [inline]

Definition at line 197 of file pipeline.h.

References FALSE, mRenderFeatureMask, and TRUE.

BOOL LLPipeline::hasRenderType ( const U32  type  )  const [inline]

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().

BOOL LLPipeline::hasRenderTypeControl ( void data  )  [static]

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().

void LLPipeline::initShaders ( BOOL  force  )  [private]

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().

void LLPipeline::postSort ( LLCamera camera  ) 

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().

void LLPipeline::processOcclusion ( LLCamera camera  ) 

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().

void LLPipeline::renderFaceForUVSelect ( LLFace facep  ) 

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().

void LLPipeline::renderGeom ( LLCamera camera  ) 

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().

void LLPipeline::renderObjects ( U32  type,
U32  mask,
BOOL  texture = TRUE 
)

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::saveVertexShaderLevel ( S32  type,
S32  level,
S32  max 
) [private]

void LLPipeline::setActive ( LLDrawable drawablep,
BOOL  active 
)

Definition at line 3489 of file pipeline.cpp.

References mActiveQ.

Referenced by LLDrawable::makeActive(), and LLDrawable::makeStatic().

void LLPipeline::setAmbient ( const LLColor4 ambient  ) 

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().

S32 LLPipeline::setLightingDetail ( S32  level  ) 

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().

void LLPipeline::setRenderBeacons ( BOOL  val  )  [static]

Definition at line 3668 of file pipeline.cpp.

References sRenderBeacons.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderHighlights ( BOOL  val  )  [static]

Definition at line 3686 of file pipeline.cpp.

References sRenderHighlight.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderParticleBeacons ( BOOL  val  )  [static]

Definition at line 3632 of file pipeline.cpp.

References sRenderParticleBeacons.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderPhysicalBeacons ( BOOL  val  )  [static]

Definition at line 3614 of file pipeline.cpp.

References sRenderPhysicalBeacons.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderScriptedBeacons ( BOOL  val  )  [static]

Definition at line 3578 of file pipeline.cpp.

References sRenderScriptedBeacons.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderScriptedTouchBeacons ( BOOL  val  )  [static]

Definition at line 3596 of file pipeline.cpp.

References sRenderScriptedTouchBeacons.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderSoundBeacons ( BOOL  val  )  [static]

Definition at line 3650 of file pipeline.cpp.

References sRenderSoundBeacons.

Referenced by LLViewCheckBeaconEnabled::handleEvent().

void LLPipeline::setRenderTypeMask ( const U32  mask  )  [inline]

Definition at line 199 of file pipeline.h.

References mRenderTypeMask.

Referenced by display(), and generateReflectionMap().

void LLPipeline::setupAvatarLights ( BOOL  for_edit = FALSE  ) 

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().

void LLPipeline::setUseVBO ( BOOL  use_vbo  ) 

Definition at line 3786 of file pipeline.cpp.

References LLVertexBuffer::initClass(), llendl, llinfos, resetVertexBuffers(), and LLVertexBuffer::sEnableVBOs.

Referenced by LLRenderUseVBOListener::handleEvent().

void LLPipeline::setUseVertexShaders ( BOOL  use_shaders  ) 

void LLPipeline::shiftObjects ( const LLVector3 offset  ) 

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().

void LLPipeline::stateSort ( LLCamera camera  ) 

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().

void LLPipeline::toggleRenderBeacons ( void data  )  [static]

Definition at line 3674 of file pipeline.cpp.

References sRenderBeacons.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderDebug ( void data  )  [static]

Definition at line 3540 of file pipeline.cpp.

References gPipeline, hasRenderDebugMask(), llendl, llinfos, and mRenderDebugMask.

Referenced by init_debug_rendering_menu().

BOOL LLPipeline::toggleRenderDebugControl ( void data  )  [static]

Definition at line 3556 of file pipeline.cpp.

References gPipeline, and hasRenderDebugMask().

Referenced by init_debug_rendering_menu().

void LLPipeline::toggleRenderDebugFeature ( void data  )  [static]

Definition at line 3563 of file pipeline.cpp.

References gPipeline, and mRenderDebugFeatureMask.

Referenced by display(), generateReflectionMap(), init_debug_rendering_menu(), and LLViewerWindow::rawSnapshot().

BOOL LLPipeline::toggleRenderDebugFeatureControl ( void data  )  [static]

Definition at line 3571 of file pipeline.cpp.

References gPipeline, and hasRenderDebugFeatureMask().

Referenced by init_debug_rendering_menu().

void LLPipeline::toggleRenderHighlights ( void data  )  [static]

Definition at line 3692 of file pipeline.cpp.

References sRenderHighlight.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderParticleBeacons ( void data  )  [static]

Definition at line 3638 of file pipeline.cpp.

References sRenderParticleBeacons.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderPhysicalBeacons ( void data  )  [static]

Definition at line 3620 of file pipeline.cpp.

References sRenderPhysicalBeacons.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderScriptedBeacons ( void data  )  [static]

Definition at line 3584 of file pipeline.cpp.

References sRenderScriptedBeacons.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderScriptedTouchBeacons ( void data  )  [static]

Definition at line 3602 of file pipeline.cpp.

References sRenderScriptedTouchBeacons.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderSoundBeacons ( void data  )  [static]

Definition at line 3656 of file pipeline.cpp.

References sRenderSoundBeacons.

Referenced by LLViewToggleBeacon::handleEvent().

void LLPipeline::toggleRenderType ( U32  type  )  [static]

Definition at line 3502 of file pipeline.cpp.

References gPipeline, and mRenderTypeMask.

Referenced by display(), LLViewToggleRenderType::handleEvent(), LLManipTranslate::highlightIntersection(), postSort(), and toggleRenderTypeControl().

void LLPipeline::toggleRenderTypeControl ( void data  )  [static]

Definition at line 3509 of file pipeline.cpp.

References gPipeline, hasRenderType(), llendl, llinfos, toggleRenderType(), and type.

Referenced by init_debug_rendering_menu().

BOOL LLPipeline::toggleRenderTypeControlNegated ( void data  )  [static]

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().

void LLPipeline::updateCamera ( BOOL  reset = FALSE  ) 

void LLPipeline::updateCull ( LLCamera camera  ) 

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().

void LLPipeline::updateGeom ( F32  max_dtime  ) 

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().


Member Data Documentation

LLSpatialGroup::sg_vector_t LLPipeline::mActiveGroups

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::mAlphaSizzleImagep

Definition at line 319 of file pipeline.h.

Referenced by cleanup(), and renderGeom().

BOOL LLPipeline::mBackfaceCull

Definition at line 349 of file pipeline.h.

Referenced by display(), init(), and renderGeom().

LLPointer<LLViewerImage> LLPipeline::mBloomImage2p [protected]

Definition at line 517 of file pipeline.h.

Referenced by cleanup().

LLPointer<LLViewerImage> LLPipeline::mBloomImagep [protected]

Definition at line 516 of file pipeline.h.

Referenced by cleanup().

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().

LLPointer<LLCubeMap> LLPipeline::mCubeBuffer

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().

LLSpatialGroup::sg_vector_t LLPipeline::mDrawableGroups

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 515 of file pipeline.h.

Referenced by cleanup(), and renderHighlights().

LLVector3 LLPipeline::mFlyCamPosition

Definition at line 346 of file pipeline.h.

LLQuaternion LLPipeline::mFlyCamRotation

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().

S32 LLPipeline::mGeometryChanges

Definition at line 355 of file pipeline.h.

Referenced by resetFrameStats(), and updateDrawableGeom().

GLuint LLPipeline::mGlowBuffer

Definition at line 373 of file pipeline.h.

Referenced by releaseGLBuffers(), and renderGeom().

GLuint LLPipeline::mGlowMap

Definition at line 372 of file pipeline.h.

Referenced by releaseGLBuffers(), and renderGeom().

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().

BOOL LLPipeline::mInitialized

Definition at line 400 of file pipeline.h.

Referenced by init(), and LLShaderMgr::setShaders().

LLDrawPool* LLPipeline::mLastRebuildPool [protected]

Definition at line 493 of file pipeline.h.

Referenced by rebuildPools().

S32 LLPipeline::mLightingChanges

Definition at line 354 of file pipeline.h.

Referenced by resetFrameStats().

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]

Definition at line 520 of file pipeline.h.

Referenced by enableLightsStatic(), and setupHWLights().

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::mMovedBridge [protected]

Definition at line 419 of file pipeline.h.

Referenced by cleanup(), markMoved(), and updateGeom().

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]

Definition at line 451 of file pipeline.h.

Referenced by calcNearbyLights(), and setupHWLights().

S32 LLPipeline::mNumVisibleFaces

Definition at line 357 of file pipeline.h.

Referenced by resetFrameStats(), and stateSort().

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().

LLSpatialBridge::bridge_vector_t LLPipeline::mOccludedBridge [protected]

Definition at line 417 of file pipeline.h.

Referenced by cleanup(), destroyGL(), doOcclusion(), and processOcclusion().

U32 LLPipeline::mOldRenderDebugMask [protected]

Definition at line 410 of file pipeline.h.

Referenced by init(), and resetFrameStats().

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]

Definition at line 406 of file pipeline.h.

Referenced by hasRenderFeatureMask(), and init().

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().

LLDrawable::drawable_set_t LLPipeline::mRetexturedList [protected]

Definition at line 463 of file pipeline.h.

Referenced by findReferences(), markTextured(), and updateMove().

LLVector2 LLPipeline::mScreenScale

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]

Definition at line 513 of file pipeline.h.

Referenced by postSort(), and renderHighlights().

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().

LLColor4 LLPipeline::mSunDiffuse

Definition at line 388 of file pipeline.h.

Referenced by LLDrawable::applyLightsAsPoint(), setupAvatarLights(), and setupHWLights().

LLVector3 LLPipeline::mSunDir

Definition at line 389 of file pipeline.h.

Referenced by LLDrawable::applyLightsAsPoint(), setupAvatarLights(), and setupHWLights().

F32 LLPipeline::mSunShadowFactor [protected]

Definition at line 522 of file pipeline.h.

Referenced by setupAvatarLights(), and setupHWLights().

LLDrawPool* LLPipeline::mTerrainPool [protected]

Definition at line 502 of file pipeline.h.

Referenced by cleanup().

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().

S32 LLPipeline::mTrianglesDrawn

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().

LLStat LLPipeline::mTrianglesDrawnStat

Definition at line 351 of file pipeline.h.

Referenced by init(), init_stat_view(), and resetFrameStats().

BOOL LLPipeline::mVertexShadersEnabled

Definition at line 401 of file pipeline.h.

Referenced by getUseVertexShaders(), restoreGL(), and LLShaderMgr::setShaders().

S32 LLPipeline::mVertexShadersLoaded

Definition at line 402 of file pipeline.h.

Referenced by canUseVertexShaders(), setLightingDetail(), LLShaderMgr::setShaders(), unloadShaders(), and LLShaderMgr::unloadShaders().

S32 LLPipeline::mVerticesRelit

Definition at line 352 of file pipeline.h.

Referenced by resetFrameStats().

LLSpatialBridge::bridge_vector_t LLPipeline::mVisibleBridge [protected]

Definition at line 416 of file pipeline.h.

Referenced by cleanup(), destroyGL(), doOcclusion(), markVisible(), postSort(), renderDebug(), stateSort(), and updateCull().

LLSpatialGroup::sg_vector_t LLPipeline::mVisibleGroups

Definition at line 395 of file pipeline.h.

Referenced by cleanup(), destroyGL(), forAllVisibleDrawables(), markNotCulled(), postSort(), LLRenderPass::renderStatic(), stateSort(), and updateCull().

LLDrawable::drawable_vector_t LLPipeline::mVisibleList [protected]

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:39 2010 for Second Life Viewer by  doxygen 1.4.7