diff options
author | Dave Parks <davep@lindenlab.com> | 2010-06-17 12:44:49 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-06-17 12:44:49 -0500 |
commit | fa7d983f087fd2ec1393b6f9fcd57cf4e7225e37 (patch) | |
tree | 2dda94a9a902d97ff5b31970384a6f67ee69e425 /indra | |
parent | 1cd299ec8b2eebcf9845b36ab256a4ff82597434 (diff) |
Add timer for comparison against davep/viewer-release
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index e0e5b32299..3f9db4831f 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -862,11 +862,14 @@ void LLFace::updateRebuildFlags() } } +static LLFastTimer::DeclareTimer FTM_FACE_GET_GEOM("Face Geom");
+ BOOL LLFace::getGeometryVolume(const LLVolume& volume, const S32 &f, const LLMatrix4& mat_vert, const LLMatrix3& mat_normal, const U16 &index_offset) { + LLFastTimer t(FTM_FACE_GET_GEOM); const LLVolumeFace &vf = volume.getVolumeFace(f); S32 num_vertices = (S32)vf.mVertices.size(); S32 num_indices = LLPipeline::sUseTriStrips ? (S32)vf.mTriStrip.size() : (S32) vf.mIndices.size(); |