summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorNat Linden <nat@lindenlab.com>2022-06-13 19:50:49 +0000
committerNat Linden <nat@lindenlab.com>2022-06-13 19:50:49 +0000
commitc9a48a1cdd23a592eb25454d5e2d6c316ec93445 (patch)
tree614d3ae0efdcbec1211d638e602cdb2d78aa8057 /indra/llrender
parentda069765b1974e60df5ebf9e973c7fd00c52e329 (diff)
parent3b043d90b60eca17dfcc014b21c4c8fc5b432384 (diff)
Merged in sl-17483 (pull request #1014)
SL-17483: Make LLImageDecodeThread a facade for LL::ThreadPool. Approved-by: Dave Parks
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llimagegl.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 46f0e1d69e..ae10142e7a 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -2444,10 +2444,8 @@ void LLImageGL::checkActiveThread()
*/
LLImageGLThread::LLImageGLThread(LLWindow* window)
- // We want exactly one thread, but a very large capacity: we never want
- // anyone, especially inner-loop render code, to have to block on post()
- // because we're full.
- : ThreadPool("LLImageGL", 1, 1024*1024)
+ // We want exactly one thread.
+ : ThreadPool("LLImageGL", 1)
, mWindow(window)
{
LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;