Add timer for comparison against davep/viewer-release

master
Dave Parks 2010-06-17 12:44:49 -05:00
parent 1cd299ec8b
commit fa7d983f08
1 changed files with 3 additions and 0 deletions

View File

@ -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();