summaryrefslogtreecommitdiff
path: root/indra/newview/llmeshrepository.h
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-09-29 19:08:41 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-09-29 19:08:41 +0100
commit853924c7efd5c1d067c237d5a44c44db313745e9 (patch)
tree8ef0def6c5cd2640284b63be82a02315745d8398 /indra/newview/llmeshrepository.h
parent31f84c2a9a86a7f25eadcb1720a7a9292480be16 (diff)
SL-794 - use largest LOD for est tri count, instead of trusting that it's always the high LOD
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r--indra/newview/llmeshrepository.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h
index 28f037b85e..d2eac449f7 100644
--- a/indra/newview/llmeshrepository.h
+++ b/indra/newview/llmeshrepository.h
@@ -472,7 +472,8 @@ public:
static LLDeadmanTimer sQuiescentTimer; // Time-to-complete-mesh-downloads after significant events
- F32 getEstTrianglesHigh(LLUUID mesh_id);
+ // Estimated triangle count of the largest LOD
+ F32 getEstTrianglesMax(LLUUID mesh_id);
F32 getStreamingCost(LLUUID mesh_id, F32 radius, S32* bytes = NULL, S32* visible_bytes = NULL, S32 detail = -1, F32 *unscaled_value = NULL);
static F32 getStreamingCost(LLSD& header, F32 radius, S32* bytes = NULL, S32* visible_bytes = NULL, S32 detail = -1, F32 *unscaled_value = NULL);