SL-15038 Added Tracy instrumentation to name tags and chat bubbles.

meow-7.2.2
Runitai Linden 2021-09-14 20:50:55 -05:00 committed by Dave Houlton
parent 84da92663a
commit 6f03dc8d04
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -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