#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"
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 ¢er, const LLVector3 &size, const LLVector3 &origin, const LLVector3 &dir, LLVector3 &coord, F32 epsilon=0) |
BOOL | LLLineSegmentAABB (const LLVector3 &start, const LLVector3 &end, const LLVector3 ¢er, 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 LLMatrix4 * | gGLLastMatrix |
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 enum e_avatar_skinning_method EAvatarSkinningMethod |
Definition at line 60 of file pipeline.h.
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().
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().
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().
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().
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().
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().
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().
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().
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.
Definition at line 802 of file llviewerdisplay.cpp.
References FALSE, gAgent, LLAgent::getAvatarObject(), LLBBox::getCenterLocal(), LLBBox::getExtentLocal(), LLVOAvatar::getHUDBBox(), LLSingleton< LLViewerCamera >::getInstance(), LLCriticalDamp::getInterpolant(), LLViewerCamera::getZoomFactor(), LLViewerCamera::getZoomSubRegion(), gl_ortho(), glh_set_current_modelview(), glh_set_current_projection(), gViewerWindow, LLVOAvatar::hasHUDAttachment(), lerp(), llceil(), llclamp(), llmax(), LLVOAvatar::mHUDCurZoom, LLVOAvatar::mHUDTargetZoom, LLVector3::mV, OGL_TO_CFR_ROTATION, LLViewerWindow::setupViewport(), TRUE, and VX.
Referenced by render_hud_attachments(), and LLPipeline::renderForSelect().
Definition at line 138 of file pipeline.cpp.
Referenced by handleRenderDebugPipelineChanged(), LLPipeline::renderGeom(), and settings_modify().
const LLMatrix4* gGLLastMatrix |
Definition at line 140 of file pipeline.cpp.
Referenced by LLRenderPass::applyModelMatrix(), LLDrawPoolTree::renderTree(), and LLOctreeRenderNonOccluded::traverse().
Definition at line 139 of file pipeline.cpp.
Definition at line 136 of file pipeline.cpp.