diff options
author | Runitai Linden <davep@lindenlab.com> | 2021-09-14 20:50:55 -0500 |
---|---|---|
committer | Dave Houlton <euclid@lindenlab.com> | 2021-09-15 13:53:00 -0600 |
commit | 6f03dc8d048ca82e49592b3358f7b1f2a74137ec (patch) | |
tree | 1f493df847fefb9dde1e73bd2af81c4ad4fd831c | |
parent | 84da92663aad221db19927de26922417e7cb45c6 (diff) |
SL-15038 Added Tracy instrumentation to name tags and chat bubbles.
-rw-r--r-- | indra/newview/llhudnametag.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llvoavatar.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llhudnametag.cpp b/indra/newview/llhudnametag.cpp index 9d49c30a49..55a4b5a457 100644 --- a/indra/newview/llhudnametag.cpp +++ b/indra/newview/llhudnametag.cpp @@ -224,6 +224,7 @@ BOOL LLHUDNameTag::lineSegmentIntersect(const LLVector4a& start, const LLVector4 void LLHUDNameTag::render() { + LL_PROFILE_ZONE_SCOPED; if (sDisplayText) { LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE); @@ -731,6 +732,7 @@ void LLHUDNameTag::updateSize() void LLHUDNameTag::updateAll() { + LL_PROFILE_ZONE_SCOPED; // iterate over all text objects, calculate their restoration forces, // and add them to the visible set if they are on screen and close enough sVisibleTextObjects.clear(); diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index e085a945a8..ba9f8d14cb 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -3136,6 +3136,8 @@ void LLVOAvatar::idleUpdateWindEffect() void LLVOAvatar::idleUpdateNameTag(const LLVector3& root_pos_last) { + LL_PROFILE_ZONE_SCOPED; + // update chat bubble //-------------------------------------------------------------------- // draw text label over character's head |