summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorRunitai Linden <davep@lindenlab.com>2021-11-22 18:42:56 -0600
committerRunitai Linden <davep@lindenlab.com>2021-11-22 18:42:56 -0600
commit9b0d8c7e629597fd8e6dfb91a6b8f625b34ab274 (patch)
treef6c6827da1acd3a442663a050d4a93d55925ee0f /indra/llrender
parentcc34e26ef7e74845e4af9e5c5d450c0b12a268e0 (diff)
SL-16094 More profile hooks for threading code, remove redundant wglCreateContextAttribs call
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llimagegl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 1b6920fe3b..e623baa653 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -2257,6 +2257,7 @@ LLImageGLThread::LLImageGLThread(LLWindow* window)
: ThreadPool("LLImageGL", 1, 1024*1024)
, mWindow(window)
{
+ LL_PROFILE_ZONE_SCOPED;
mFinished = false;
mContext = mWindow->createSharedContext();
@@ -2264,6 +2265,7 @@ LLImageGLThread::LLImageGLThread(LLWindow* window)
void LLImageGLThread::run()
{
+ LL_PROFILE_ZONE_SCOPED;
// We must perform setup on this thread before actually servicing our
// WorkQueue, likewise cleanup afterwards.
mWindow->makeContextCurrent(mContext);