llglslshader.cpp File Reference

GLSL helper functions and state. More...

#include "llviewerprecompiledheaders.h"
#include "llfeaturemanager.h"
#include "llglslshader.h"
#include "llfile.h"
#include "llviewerwindow.h"
#include "llviewercontrol.h"
#include "pipeline.h"
#include "llworld.h"
#include "llwlparammanager.h"
#include "llwaterparammanager.h"
#include "llsky.h"
#include "llvosky.h"
#include "llglimmediate.h"

Include dependency graph for llglslshader.cpp:

Go to the source code of this file.

Defines

#define UNIFORM_ERRS   LL_ERRS("Shader")

Functions

BOOL shouldChange (const LLVector4 &v1, const LLVector4 &v2)
static LLString get_object_log (GLhandleARB ret)

Variables

LLVector4 gShinyOrigin
LLGLSLShader gObjectSimpleProgram
LLGLSLShader gObjectSimpleWaterProgram
LLGLSLShader gObjectFullbrightProgram
LLGLSLShader gObjectFullbrightWaterProgram
LLGLSLShader gObjectFullbrightShinyProgram
LLGLSLShader gObjectShinyProgram
LLGLSLShader gObjectShinyWaterProgram
LLGLSLShader gTerrainProgram
LLGLSLShader gTerrainWaterProgram
LLGLSLShader gWaterProgram
LLGLSLShader gUnderWaterProgram
LLGLSLShader gHighlightProgram
GLhandleARB gAvatarSkinVertex
LLGLSLShader gAvatarProgram
LLGLSLShader gAvatarWaterProgram
LLGLSLShader gAvatarEyeballProgram
LLGLSLShader gAvatarPickProgram
LLGLSLShader gWLSkyProgram
LLGLSLShader gWLCloudProgram
LLGLSLShader gGlowProgram
LLGLSLShader gGlowExtractProgram
LLGLSLShader gPostColorFilterProgram
LLGLSLShader gPostNightVisionProgram
LLGLSLShader gDeferredDiffuseProgram
GLint gAvatarMatrixParam


Detailed Description

GLSL helper functions and state.

LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llglslshader.cpp.


Define Documentation

#define UNIFORM_ERRS   LL_ERRS("Shader")


Function Documentation

static LLString get_object_log ( GLhandleARB  ret  )  [static]

Definition at line 473 of file llglslshader.cpp.

References indra::base::lllog::log().

Referenced by LLShaderMgr::dumpObjectLog(), and LLShaderMgr::linkProgramObject().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL shouldChange ( const LLVector4 v1,
const LLVector4 v2 
)


Variable Documentation

Definition at line 91 of file llglslshader.cpp.

Definition at line 92 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::renderForSelect().

Definition at line 89 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::beginSkinned().

GLhandleARB gAvatarSkinVertex

Definition at line 86 of file llglslshader.cpp.

Definition at line 90 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::beginSkinned().

Definition at line 105 of file llglslshader.cpp.

Referenced by LLPipeline::renderGeomDeferred().

Definition at line 100 of file llglslshader.cpp.

Referenced by LLPipeline::renderBloom().

Definition at line 99 of file llglslshader.cpp.

Referenced by LLPipeline::renderBloom().

Definition at line 83 of file llglslshader.cpp.

Referenced by LLPipeline::renderHighlights().

Definition at line 72 of file llglslshader.cpp.

Referenced by LLDrawPoolBump::beginFullbrightShiny().

Definition at line 73 of file llglslshader.cpp.

Referenced by LLDrawPoolBump::beginShiny().

Definition at line 101 of file llglslshader.cpp.

Referenced by LLPostProcess::applyColorFilterShader().

Definition at line 102 of file llglslshader.cpp.

Referenced by LLPostProcess::applyNightVisionShader().

Definition at line 77 of file llglslshader.cpp.

Referenced by LLDrawPoolTerrain::beginRenderPass().

Definition at line 78 of file llglslshader.cpp.

Referenced by LLDrawPoolTerrain::beginRenderPass().

Definition at line 80 of file llglslshader.cpp.

Referenced by LLDrawPoolWater::shade().

Definition at line 79 of file llglslshader.cpp.

Referenced by LLDrawPoolWater::shade().

Definition at line 96 of file llglslshader.cpp.

Referenced by LLDrawPoolWLSky::renderSkyClouds().


Generated on Fri May 16 08:36:40 2008 for SecondLife by  doxygen 1.5.5