aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerjointmesh.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:01 -0500
committerJacek Antonelli2008-08-15 23:45:01 -0500
commit28d8d4e7664bcd6c8369cc18832e42096af7cad2 (patch)
tree069020fe66339aff2ca4176370ff743b14713f2d /linden/indra/newview/llviewerjointmesh.h
parentSecond Life viewer sources 1.17.2.0 (diff)
downloadmeta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.zip
meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.gz
meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.bz2
meta-impy-28d8d4e7664bcd6c8369cc18832e42096af7cad2.tar.xz
Second Life viewer sources 1.17.3.0
Diffstat (limited to 'linden/indra/newview/llviewerjointmesh.h')
-rw-r--r--linden/indra/newview/llviewerjointmesh.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerjointmesh.h b/linden/indra/newview/llviewerjointmesh.h
index f016da6..b40daed 100644
--- a/linden/indra/newview/llviewerjointmesh.h
+++ b/linden/indra/newview/llviewerjointmesh.h
@@ -146,6 +146,22 @@ public:
146 146
147 /*virtual*/ BOOL isAnimatable() { return FALSE; } 147 /*virtual*/ BOOL isAnimatable() { return FALSE; }
148 void writeCAL3D(apr_file_t* fp, S32 material_num, LLCharacter* characterp); 148 void writeCAL3D(apr_file_t* fp, S32 material_num, LLCharacter* characterp);
149
150 // Avatar vertex skinning is a significant performance issue on computers
151 // with avatar vertex programs turned off (for example, most Macs). We
152 // therefore have custom versions that use SIMD instructions.
153 //
154 // These functions require compiler options for SSE2, SSE, or neither, and
155 // hence are contained in separate individual .cpp files. JC
156 static void updateGeometryOriginal(LLFace* face, LLPolyMesh* mesh);
157 // generic vector code, used for Altivec
158 static void updateGeometryVectorized(LLFace* face, LLPolyMesh* mesh);
159 static void updateGeometrySSE(LLFace* face, LLPolyMesh* mesh);
160 static void updateGeometrySSE2(LLFace* face, LLPolyMesh* mesh);
161
162 // Use a fuction pointer to indicate which version we are running.
163 static void (*sUpdateGeometryFunc)(LLFace* face, LLPolyMesh* mesh);
164
149private: 165private:
150 // Allocate skin data 166 // Allocate skin data
151 BOOL allocateSkinData( U32 numSkinJoints ); 167 BOOL allocateSkinData( U32 numSkinJoints );