summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.h
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-05-01 17:05:09 -0500
committerGitHub <noreply@github.com>2023-05-01 17:05:09 -0500
commit334d71e9107ae3c4d35b181f2ed6e5c9ff1de519 (patch)
tree6a6b64de2c9736c62695f7c5709159ca6e9e0455 /indra/newview/llworld.h
parent04604a921d35cf877073828f98a05ae83d03c96e (diff)
SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time.
* SL-19656 Rewrite avatar and attachment render metrics to not interfere with render pipe and be representative of actual render cost instead of driver synchronization time. * SL-19656 Remove now dead code (trackAttachments et al). * SL-19656 Fix for crash on GL <= 3.2
Diffstat (limited to 'indra/newview/llworld.h')
-rw-r--r--indra/newview/llworld.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llworld.h b/indra/newview/llworld.h
index b2be36d72c..f78cbcaa48 100644
--- a/indra/newview/llworld.h
+++ b/indra/newview/llworld.h
@@ -172,7 +172,9 @@ public:
// or if the circuit to this simulator had been lost.
bool isRegionListed(const LLViewerRegion* region) const;
- S32 getNearbyAvatarsAndCompl(std::vector<LLCharacter*> &valid_nearby_avs);
+ // profile nearby avatars using gPipeline.profileAvatar and update their render times
+ // return max GPU time
+ F32 getNearbyAvatarsAndMaxGPUTime(std::vector<LLCharacter*> &valid_nearby_avs);
private:
void clearHoleWaterObjects();