#include <lldrawpoolbump.h>
Inheritance diagram for LLDrawPoolBump:


| Public Member Functions | |
| virtual U32 | getVertexDataMask () | 
| LLDrawPoolBump () | |
| virtual void | render (S32 pass=0) | 
| void | beginRenderPass (S32 pass) | 
| void | endRenderPass (S32 pass) | 
| S32 | getNumPasses () | 
| void | prerender () | 
| void | pushBatch (LLDrawInfo ¶ms, U32 mask, BOOL texture) | 
| void | renderBump (U32 type, U32 mask) | 
| void | renderBumpActive (U32 type, U32 mask) | 
| void | renderGroup (LLSpatialGroup *group, U32 type, U32 mask, BOOL texture) | 
| void | renderGroupBump (LLSpatialGroup *group, U32 type, U32 mask) | 
| S32 | numBumpPasses () | 
| void | beginShiny () | 
| void | renderShiny () | 
| void | endShiny () | 
| void | renderActive (U32 type, U32 mask, BOOL texture=TRUE) | 
| void | beginBump () | 
| void | renderBump () | 
| void | endBump () | 
| BOOL | bindBumpMap (LLDrawInfo ¶ms) | 
| Static Public Attributes | |
| static U32 | sVertexMask = VERTEX_MASK_SHINY | 
Definition at line 44 of file lldrawpoolbump.h.
| LLDrawPoolBump::LLDrawPoolBump | ( | ) | 
Definition at line 160 of file lldrawpoolbump.cpp.
| void LLDrawPoolBump::beginBump | ( | ) | 
Definition at line 451 of file lldrawpoolbump.cpp.
References LLFastTimer::FTM_RENDER_BUMP, glBlendFunc, glClientActiveTextureARB, glEnable, stop_glerror, sVertexMask, t, and VERTEX_MASK_BUMP.
Referenced by beginRenderPass().
Reimplemented from LLDrawPool.
Definition at line 189 of file lldrawpoolbump.cpp.
References beginBump(), beginShiny(), and llassert.
| void LLDrawPoolBump::beginShiny | ( | ) | 
Definition at line 251 of file lldrawpoolbump.cpp.
References LLGLSLShader::bind(), LLCubeMap::bind(), LLCubeMap::enable(), LLShaderMgr::getVertexShaderLevel(), gGLModelView, gObjectShinyProgram, gShinyOrigin, gSky, LLMatrix4::initRows(), LLGLSLShader::mUniform, LLVector4::mV, LLSky::mVOSkyp, LLCubeMap::setMatrix(), LLShaderMgr::SHADER_OBJECT, LLShaderMgr::SHINY_ORIGIN, sVertexMask, and VERTEX_MASK_SHINY.
Referenced by beginRenderPass().
| BOOL LLDrawPoolBump::bindBumpMap | ( | LLDrawInfo & | params | ) | 
Definition at line 412 of file lldrawpoolbump.cpp.
References LLBumpImageList::addTextureStats(), BE_BRIGHTNESS, BE_DARKNESS, BE_NO_BUMP, LLImageGL::bind(), FALSE, gBumpImageList, LLBumpImageList::getBrightnessDarknessImage(), LLViewerImage::getID(), gStandardBumpmapList, LLStandardBumpmap::mImage, NULL, params, LLStandardBumpmap::sStandardBumpmapCount, and TRUE.
Referenced by renderBump(), and renderGroupBump().
| void LLDrawPoolBump::endBump | ( | ) | 
Definition at line 526 of file lldrawpoolbump.cpp.
References glBlendFunc, glClientActiveTextureARB, and glDisable.
Referenced by endRenderPass().
Reimplemented from LLDrawPool.
Definition at line 234 of file lldrawpoolbump.cpp.
References endBump(), endShiny(), and llassert.
| void LLDrawPoolBump::endShiny | ( | ) | 
Definition at line 388 of file lldrawpoolbump.cpp.
References LLCubeMap::disable(), LLShaderMgr::getVertexShaderLevel(), gObjectShinyProgram, gSky, LLSky::mVOSkyp, LLCubeMap::restoreMatrix(), LLShaderMgr::SHADER_OBJECT, LLGLSLShader::unbind(), and LLImageGL::unbindTexture().
Referenced by endRenderPass().
| S32 LLDrawPoolBump::getNumPasses | ( | ) |  [virtual] | 
Reimplemented from LLDrawPool.
Definition at line 184 of file lldrawpoolbump.cpp.
References numBumpPasses().
| virtual U32 LLDrawPoolBump::getVertexDataMask | ( | ) |  [inline, virtual] | 
| S32 LLDrawPoolBump::numBumpPasses | ( | ) | 
Definition at line 172 of file lldrawpoolbump.cpp.
References LLControlGroup::getBOOL(), and gSavedSettings.
Referenced by getNumPasses().
| void LLDrawPoolBump::prerender | ( | ) |  [virtual] | 
Implements LLDrawPool.
Definition at line 166 of file lldrawpoolbump.cpp.
References LLShaderMgr::getVertexShaderLevel(), LLDrawPool::mVertexShaderLevel, and LLShaderMgr::SHADER_OBJECT.
| void LLDrawPoolBump::pushBatch | ( | LLDrawInfo & | params, | |
| U32 | mask, | |||
| BOOL | texture | |||
| ) |  [virtual] | 
Reimplemented from LLRenderPass.
Definition at line 933 of file lldrawpoolbump.cpp.
References glDrawRangeElements, glLoadMatrixf, gPipeline, LLPipeline::mTrianglesDrawn, and params.
Referenced by renderBump(), and renderGroupBump().
Implements LLDrawPool.
Reimplemented in LLRenderShinyGlow.
Definition at line 205 of file lldrawpoolbump.cpp.
References LLFastTimer::FTM_RENDER_BUMP, gPipeline, LLPipeline::hasRenderType(), llassert, LLDrawPool::POOL_SIMPLE, renderBump(), renderShiny(), and t.
Reimplemented from LLRenderPass.
Definition at line 310 of file lldrawpoolbump.cpp.
References LLGLState::checkClientArrays(), LLTreeNode< T >::getListener(), LLOctreeNode< T >::getNodeAt(), LLPipeline::getSpatialPartition(), glMultMatrixf, glPopMatrix, gPipeline, LLPipeline::hasRenderType(), i, LLPipeline::mActiveGroups, LLSpatialPartition::mOctree, NULL, LLPipeline::PARTITION_VOLUME, renderGroup(), sCubeMap, and LLPipeline::sDynamicReflections.
Referenced by LLRenderShinyGlow::render(), and renderShiny().
| void LLDrawPoolBump::renderBump | ( | ) | 
Definition at line 513 of file lldrawpoolbump.cpp.
References LLFastTimer::FTM_RENDER_BUMP, glColor4f, LLRenderPass::PASS_BUMP, renderBumpActive(), and sVertexMask.
Referenced by render().
Definition at line 899 of file lldrawpoolbump.cpp.
References bindBumpMap(), LLGLState::checkClientArrays(), FALSE, gPipeline, i, LLPipeline::mRenderMap, params, and pushBatch().
Definition at line 867 of file lldrawpoolbump.cpp.
References LLGLState::checkClientArrays(), glMultMatrixf, glPopMatrix, gPipeline, i, LLPipeline::mActiveGroups, NULL, and renderGroupBump().
Referenced by renderBump().
| void LLDrawPoolBump::renderGroup | ( | LLSpatialGroup * | group, | |
| U32 | type, | |||
| U32 | mask, | |||
| BOOL | texture | |||
| ) |  [virtual] | 
Reimplemented from LLRenderPass.
Definition at line 354 of file lldrawpoolbump.cpp.
References LLCubeMap::bind(), glDrawRangeElements, gPipeline, gSky, LLSpatialGroup::mDrawMap, LLPipeline::mTrianglesDrawn, LLSky::mVOSkyp, params, sCubeMap, and LLPipeline::sDynamicReflections.
Referenced by renderActive().
| void LLDrawPoolBump::renderGroupBump | ( | LLSpatialGroup * | group, | |
| U32 | type, | |||
| U32 | mask | |||
| ) | 
Definition at line 918 of file lldrawpoolbump.cpp.
References bindBumpMap(), FALSE, LLSpatialGroup::mDrawMap, params, and pushBatch().
Referenced by renderBumpActive().
| void LLDrawPoolBump::renderShiny | ( | ) | 
Definition at line 296 of file lldrawpoolbump.cpp.
References LLFastTimer::FTM_RENDER_SHINY, gSky, LLSky::mVOSkyp, NULL, LLRenderPass::PASS_SHINY, renderActive(), LLRenderPass::renderStatic(), sCubeMap, sVertexMask, and t.
Referenced by render().
| U32 LLDrawPoolBump::sVertexMask = VERTEX_MASK_SHINY  [static] | 
Definition at line 47 of file lldrawpoolbump.h.
Referenced by beginBump(), beginShiny(), getVertexDataMask(), renderBump(), and renderShiny().
 1.4.7
 1.4.7