summaryrefslogtreecommitdiff
path: root/indra/newview/llviewertexture.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-11-13 12:12:49 +0800
committerErik Kundiman <erik@megapahit.org>2024-11-13 12:12:49 +0800
commit4ffc623e0fbb3e8a8559d7d833d70cb759ff8ebc (patch)
treeb699a71b4439219b78055edebe0165cf4f37ff0c /indra/newview/llviewertexture.h
parent362d0668a5927a34856233266bc6559889a4b6ac (diff)
parentc654dac4b7593355a5754042d0b43e03924b3efb (diff)
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/llviewertexture.h')
-rw-r--r--indra/newview/llviewertexture.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llviewertexture.h b/indra/newview/llviewertexture.h
index 65fa633f81..1da8548573 100644
--- a/indra/newview/llviewertexture.h
+++ b/indra/newview/llviewertexture.h
@@ -410,6 +410,8 @@ public:
/*virtual*/bool isActiveFetching() override; //is actively in fetching by the fetching pipeline.
+ virtual bool scaleDown() { return false; };
+
bool mCreatePending = false; // if true, this is in gTextureList.mCreateTextureList
mutable bool mDownScalePending = false; // if true, this is in gTextureList.mDownScaleQueue
@@ -527,12 +529,12 @@ public:
LLViewerLODTexture(const LLUUID& id, FTType f_type, const LLHost& host = LLHost(), bool usemipmaps = true);
LLViewerLODTexture(const std::string& url, FTType f_type, const LLUUID& id, bool usemipmaps = true);
- /*virtual*/ S8 getType() const;
+ S8 getType() const override;
// Process image stats to determine priority/quality requirements.
- /*virtual*/ void processTextureStats();
+ void processTextureStats() override;
bool isUpdateFrozen() ;
- bool scaleDown();
+ bool scaleDown() override;
private:
void init(bool firstinit) ;