llviewerjointmesh.cpp File Reference

LLV4* class header file - vector processor enabled math. More...

#include "llviewerprecompiledheaders.h"
#include "imageids.h"
#include "llfasttimer.h"
#include "llagent.h"
#include "llapr.h"
#include "llbox.h"
#include "lldrawable.h"
#include "lldrawpoolavatar.h"
#include "lldrawpoolbump.h"
#include "lldynamictexture.h"
#include "llface.h"
#include "llgldbg.h"
#include "llglheaders.h"
#include "lltexlayer.h"
#include "llviewercamera.h"
#include "llviewercontrol.h"
#include "llviewerimagelist.h"
#include "llviewerjointmesh.h"
#include "llvoavatar.h"
#include "llsky.h"
#include "pipeline.h"
#include "llglslshader.h"
#include "llmath.h"
#include "v4math.h"
#include "m3math.h"
#include "m4math.h"

Include dependency graph for llviewerjointmesh.cpp:

Go to the source code of this file.

Functions

int compare_int (const void *a, const void *b)
void llDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)

Variables

PFNGLWEIGHTPOINTERARBPROC glWeightPointerARB
PFNGLWEIGHTFVARBPROC glWeightfvARB
PFNGLVERTEXBLENDARBPROC glVertexBlendARB
BOOL gRenderForSelect
static LLPointer< LLVertexBuffersRenderBuffer = NULL
static const U32 sRenderMask
const S32 NUM_AXES = 3
static LLMatrix4 gJointMatUnaligned [32]
static LLMatrix3 gJointRotUnaligned [32]
static LLVector4 gJointPivot [32]
const U32 UPDATE_GEOMETRY_CALL_MASK = 0x1FFF
const U32 UPDATE_GEOMETRY_CALL_OVERFLOW = ~UPDATE_GEOMETRY_CALL_MASK
static bool sUpdateGeometryCallPointer = false
static F64 sUpdateGeometryGlobalTime = 0.0
static F64 sUpdateGeometryElapsedTime = 0.0
static F64 sUpdateGeometryElapsedTimeOff = 0.0
static F64 sUpdateGeometryElapsedTimeOn = 0.0
static F64 sUpdateGeometryRunAvgOff [10]
static F64 sUpdateGeometryRunAvgOn [10]
static U32 sUpdateGeometryRunCount = 0
static U32 sUpdateGeometryCalls = 0
static U32 sUpdateGeometryLastProcessor = 0


Detailed Description

LLV4* class header file - vector processor enabled math.

LicenseInfo
firstyear=2007&license=viewergpl

Copyright (c) 2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llviewerjointmesh.cpp.


Function Documentation

int compare_int ( const void a,
const void b 
)

Definition at line 533 of file llviewerjointmesh.cpp.

void llDrawRangeElements ( GLenum  mode,
GLuint  start,
GLuint  end,
GLsizei  count,
GLenum  type,
const GLvoid *  indices 
)

Definition at line 546 of file llviewerjointmesh.cpp.

References gGLManager, glDrawElements, glDrawRangeElements, LLGLManager::mGLMaxIndexRange, and LLGLManager::mGLMaxVertexRange.

Referenced by LLViewerJointMesh::drawShape().


Variable Documentation

LLMatrix4 gJointMatUnaligned[32] [static]

Definition at line 424 of file llviewerjointmesh.cpp.

Referenced by LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::uploadJointMatrices().

LLVector4 gJointPivot[32] [static]

Definition at line 426 of file llviewerjointmesh.cpp.

Referenced by LLViewerJointMesh::uploadJointMatrices().

LLMatrix3 gJointRotUnaligned[32] [static]

Definition at line 425 of file llviewerjointmesh.cpp.

Referenced by LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::uploadJointMatrices().

PFNGLVERTEXBLENDARBPROC glVertexBlendARB

PFNGLWEIGHTFVARBPROC glWeightfvARB

PFNGLWEIGHTPOINTERARBPROC glWeightPointerARB

BOOL gRenderForSelect

Definition at line 139 of file pipeline.cpp.

Referenced by LLViewerJointMesh::drawShape(), LLViewerJoint::render(), LLDrawPoolAvatar::renderAvatars(), LLViewerParcelMgr::renderCollisionSegments(), and LLViewerObjectList::renderObjectsForSelect().

const S32 NUM_AXES = 3

Definition at line 416 of file llviewerjointmesh.cpp.

LLPointer<LLVertexBuffer> sRenderBuffer = NULL [static]

Definition at line 71 of file llviewerjointmesh.cpp.

const U32 sRenderMask [static]

Initial value:

Definition at line 72 of file llviewerjointmesh.cpp.

Referenced by LLViewerJointMesh::drawShape().

bool sUpdateGeometryCallPointer = false [static]

Definition at line 1008 of file llviewerjointmesh.cpp.

U32 sUpdateGeometryCalls = 0 [static]

Definition at line 1016 of file llviewerjointmesh.cpp.

F64 sUpdateGeometryElapsedTime = 0.0 [static]

Definition at line 1010 of file llviewerjointmesh.cpp.

F64 sUpdateGeometryElapsedTimeOff = 0.0 [static]

Definition at line 1011 of file llviewerjointmesh.cpp.

F64 sUpdateGeometryElapsedTimeOn = 0.0 [static]

Definition at line 1012 of file llviewerjointmesh.cpp.

F64 sUpdateGeometryGlobalTime = 0.0 [static]

Definition at line 1009 of file llviewerjointmesh.cpp.

U32 sUpdateGeometryLastProcessor = 0 [static]

Definition at line 1017 of file llviewerjointmesh.cpp.

F64 sUpdateGeometryRunAvgOff[10] [static]

Definition at line 1013 of file llviewerjointmesh.cpp.

F64 sUpdateGeometryRunAvgOn[10] [static]

Definition at line 1014 of file llviewerjointmesh.cpp.

U32 sUpdateGeometryRunCount = 0 [static]

Definition at line 1015 of file llviewerjointmesh.cpp.

const U32 UPDATE_GEOMETRY_CALL_MASK = 0x1FFF

Definition at line 1006 of file llviewerjointmesh.cpp.

const U32 UPDATE_GEOMETRY_CALL_OVERFLOW = ~UPDATE_GEOMETRY_CALL_MASK

Definition at line 1007 of file llviewerjointmesh.cpp.


Generated on Thu Jul 1 06:10:47 2010 for Second Life Viewer by  doxygen 1.4.7