pipeline.h File Reference

Rendering pipeline definitions. More...

#include "llerror.h"
#include "lldarrayptr.h"
#include "lldqueueptr.h"
#include "llstat.h"
#include "lldrawpool.h"
#include "llspatialpartition.h"
#include "m4math.h"
#include "llmemory.h"
#include "llgl.h"
#include "lldrawable.h"
#include "llrendertarget.h"

Include dependency graph for pipeline.h:

Go to the source code of this file.

Classes

class  LLPipeline
struct  LLPipeline::Light
struct  LLPipeline::Light::compare
struct  LLPipeline::compare_pools

Typedefs

typedef enum
e_avatar_skinning_method 
EAvatarSkinningMethod

Enumerations

enum  e_avatar_skinning_method { SKIN_METHOD_SOFTWARE, SKIN_METHOD_VERTEX_PROGRAM }

Functions

BOOL compute_min_max (LLMatrix4 &box, LLVector2 &min, LLVector2 &max)
bool LLRayAABB (const LLVector3 &center, const LLVector3 &size, const LLVector3 &origin, const LLVector3 &dir, LLVector3 &coord, F32 epsilon=0)
BOOL LLLineSegmentAABB (const LLVector3 &start, const LLVector3 &end, const LLVector3 &center, const LLVector3 &size)
BOOL setup_hud_matrices (BOOL for_select)
glh::matrix4f glh_copy_matrix (GLdouble *src)
glh::matrix4f glh_get_current_modelview ()
void glh_set_current_modelview (const glh::matrix4f &mat)
glh::matrix4f glh_get_current_projection ()
void glh_set_current_projection (glh::matrix4f &mat)
glh::matrix4f gl_ortho (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat znear, GLfloat zfar)
glh::matrix4f gl_perspective (GLfloat fovy, GLfloat aspect, GLfloat zNear, GLfloat zFar)
void render_bbox (const LLVector3 &min, const LLVector3 &max)

Variables

LLPipeline gPipeline
BOOL gRenderForSelect
BOOL gDebugPipeline
const LLMatrix4gGLLastMatrix


Detailed Description

Rendering pipeline definitions.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-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 pipeline.h.


Typedef Documentation


Enumeration Type Documentation

Enumerator:
SKIN_METHOD_SOFTWARE 
SKIN_METHOD_VERTEX_PROGRAM 

Definition at line 60 of file pipeline.h.


Function Documentation

BOOL compute_min_max ( LLMatrix4 box,
LLVector2 min,
LLVector2 max 
)

glh::matrix4f gl_ortho ( GLfloat  left,
GLfloat  right,
GLfloat  bottom,
GLfloat  top,
GLfloat  znear,
GLfloat  zfar 
)

Definition at line 191 of file pipeline.cpp.

Referenced by setup_hud_matrices().

Here is the caller graph for this function:

glh::matrix4f gl_perspective ( GLfloat  fovy,
GLfloat  aspect,
GLfloat  zNear,
GLfloat  zFar 
)

Definition at line 78 of file llviewercamera.cpp.

References DEG_TO_RAD, and tanf.

Referenced by LLPipeline::generateImpostor(), and LLViewerCamera::setPerspective().

Here is the caller graph for this function:

glh::matrix4f glh_copy_matrix ( GLdouble *  src  ) 

Definition at line 153 of file pipeline.cpp.

References i.

Referenced by glh_get_current_modelview(), glh_get_current_projection(), glh_set_current_modelview(), glh_set_current_projection(), and render_ui_and_swap().

Here is the caller graph for this function:

glh::matrix4f glh_get_current_modelview (  ) 

Definition at line 163 of file pipeline.cpp.

References gGLModelView, and glh_copy_matrix().

Referenced by display(), LLPipeline::generateWaterReflection(), render_hud_attachments(), render_ui_and_swap(), and LLPipeline::renderForSelect().

Here is the call graph for this function:

Here is the caller graph for this function:

glh::matrix4f glh_get_current_projection (  ) 

Definition at line 168 of file pipeline.cpp.

References gGLProjection, and glh_copy_matrix().

Referenced by display(), LLPipeline::generateWaterReflection(), LLDrawPoolWLSky::render(), LLDrawPoolSky::render(), LLDrawPoolGround::render(), render_hud_attachments(), LLPipeline::renderForSelect(), and LLDrawPoolWater::shade().

Here is the call graph for this function:

Here is the caller graph for this function:

void glh_set_current_modelview ( const glh::matrix4f &  mat  ) 

Definition at line 181 of file pipeline.cpp.

References gGLModelView, and glh_copy_matrix().

Referenced by display(), LLPipeline::generateImpostor(), LLPipeline::generateWaterReflection(), render_hud_attachments(), render_ui_and_swap(), LLPipeline::renderForSelect(), and setup_hud_matrices().

Here is the call graph for this function:

Here is the caller graph for this function:

void glh_set_current_projection ( glh::matrix4f &  mat  ) 

Definition at line 186 of file pipeline.cpp.

References gGLProjection, and glh_copy_matrix().

Referenced by display(), LLPipeline::generateImpostor(), render_hud_attachments(), LLPipeline::renderForSelect(), and setup_hud_matrices().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLLineSegmentAABB ( const LLVector3 start,
const LLVector3 end,
const LLVector3 center,
const LLVector3 size 
)

Definition at line 245 of file llspatialpartition.cpp.

References i, and LLVector3::mV.

Referenced by LLOctreePick::check(), and LLVOVolume::lineSegmentIntersect().

Here is the caller graph for this function:

bool LLRayAABB ( const LLVector3 center,
const LLVector3 size,
const LLVector3 origin,
const LLVector3 dir,
LLVector3 coord,
F32  epsilon = 0 
)

Definition at line 3644 of file pipeline.cpp.

References FALSE, i, IR, LLVector3::mV, TRUE, VX, VY, and VZ.

void render_bbox ( const LLVector3 min,
const LLVector3 max 
)

BOOL setup_hud_matrices ( BOOL  for_select  ) 


Variable Documentation

Definition at line 139 of file pipeline.cpp.

Definition at line 136 of file pipeline.cpp.


Generated on Fri May 16 08:38:13 2008 for SecondLife by  doxygen 1.5.5