summaryrefslogtreecommitdiff
path: root/indra/llrender/llimagegl.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-12-06 15:29:34 +0000
committerDave Parks <davep@lindenlab.com>2021-12-06 15:29:34 +0000
commit5e5be92d79b6ad49f971e7b2f2ddd359d762c163 (patch)
tree3ad8f7522a9087f7529b15d4cd0c9ab427ca49ae /indra/llrender/llimagegl.h
parente7830b39f01d9f9c82e9e2029634dffb8386b24e (diff)
SL-16202 Put Multi-threaded GL behind a feature flag and update featuretable (decruftify settings, compatibility pass).
Diffstat (limited to 'indra/llrender/llimagegl.h')
-rw-r--r--indra/llrender/llimagegl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llrender/llimagegl.h b/indra/llrender/llimagegl.h
index 28996a554a..d6f4b13a51 100644
--- a/indra/llrender/llimagegl.h
+++ b/indra/llrender/llimagegl.h
@@ -278,7 +278,7 @@ public:
#endif
public:
- static void initClass(LLWindow* window, S32 num_catagories, BOOL skip_analyze_alpha = false);
+ static void initClass(LLWindow* window, S32 num_catagories, BOOL skip_analyze_alpha = false, bool multi_threaded = false);
static void cleanupClass() ;
private:
@@ -317,6 +317,9 @@ public:
class LLImageGLThread : public LLSimpleton<LLImageGLThread>, LL::ThreadPool
{
public:
+ // follows gSavedSettings "RenderGLMultiThreaded"
+ static bool sEnabled;
+
LLImageGLThread(LLWindow* window);
// post a function to be executed on the LLImageGL background thread