diff options
author | Merov Linden <merov@lindenlab.com> | 2012-04-12 20:19:56 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-04-12 20:19:56 -0700 |
commit | c410a4e3325350e3d9a72b867dcef44df9136f54 (patch) | |
tree | c6d832133a7216da542e74d80aae197c891bf217 /indra/llimage/llimage.h | |
parent | 172b45d5a217c7cdb922f49706b310edc412fc28 (diff) |
SH-3080 : Implement the TextureReverseByteRange setting so we can play with that parameter
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r-- | indra/llimage/llimage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h index a643e4d9f5..46e6d1a901 100644 --- a/indra/llimage/llimage.h +++ b/indra/llimage/llimage.h @@ -92,18 +92,20 @@ typedef enum e_image_codec class LLImage { public: - static void initClass(bool use_new_byte_range = false); + static void initClass(bool use_new_byte_range = false, S32 minimal_reverse_byte_range_percent = 75); static void cleanupClass(); static const std::string& getLastError(); static void setLastError(const std::string& message); static bool useNewByteRange() { return sUseNewByteRange; } + static S32 getReverseByteRangePercent() { return sMinimalReverseByteRangePercent; } protected: static LLMutex* sMutex; static std::string sLastErrorMessage; static bool sUseNewByteRange; + static S32 sMinimalReverseByteRangePercent; }; //============================================================================ |