summaryrefslogtreecommitdiff
path: root/indra/llprimitive/lltextureentry.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-11-01 08:31:01 -0500
committerDave Parks <davep@lindenlab.com>2022-11-01 08:31:01 -0500
commit9f21fba6d9a28cd1b324a115a0a2f86613a134e7 (patch)
tree0974887ff63add5279f2e5b756b2ef6112097a3f /indra/llprimitive/lltextureentry.cpp
parent8faa5a3305a3dad31ee3584aa5404d0ee80923ed (diff)
SL-18513 Put profile markers around GLTF code.
Diffstat (limited to 'indra/llprimitive/lltextureentry.cpp')
-rw-r--r--indra/llprimitive/lltextureentry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llprimitive/lltextureentry.cpp b/indra/llprimitive/lltextureentry.cpp
index 611f146a84..a0d5793dcc 100644
--- a/indra/llprimitive/lltextureentry.cpp
+++ b/indra/llprimitive/lltextureentry.cpp
@@ -198,6 +198,7 @@ LLSD LLTextureEntry::asLLSD() const
void LLTextureEntry::asLLSD(LLSD& sd) const
{
+ LL_PROFILE_ZONE_SCOPED;
sd["imageid"] = mID;
sd["colors"] = ll_sd_from_color4(mColor);
sd["scales"] = mScaleS;
@@ -225,6 +226,7 @@ void LLTextureEntry::asLLSD(LLSD& sd) const
bool LLTextureEntry::fromLLSD(const LLSD& sd)
{
+ LL_PROFILE_ZONE_SCOPED;
const char *w, *x;
w = "imageid";
if (sd.has(w))