diff options
author | Richard Linden <none@none> | 2012-11-08 23:42:18 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-11-08 23:42:18 -0800 |
commit | 0bb0bd514b235948c1a21c81ab0e8ab6223b1990 (patch) | |
tree | e0d49acc9074d0a5ed30c9c53fde908e5305b10f /indra/newview/llviewertexture.h | |
parent | ed17c181dd37f56b808838748d289ee7bb5567ec (diff) |
SH-3499 WIP Ensure asset stats output is correct
Finished making LLUnit implicitly convertible to/from scalar integer values
cleaned up test code
Diffstat (limited to 'indra/newview/llviewertexture.h')
-rwxr-xr-x | indra/newview/llviewertexture.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/llviewertexture.h b/indra/newview/llviewertexture.h index aa1e2010b4..e9efb751f8 100755 --- a/indra/newview/llviewertexture.h +++ b/indra/newview/llviewertexture.h @@ -39,8 +39,8 @@ #include <map> #include <list> -extern const LLUnit::Megabytes<S32> gMinVideoRam; -extern const LLUnit::Megabytes<S32> gMaxVideoRam; +extern const LLUnit<LLUnits::Megabytes, S32> gMinVideoRam; +extern const LLUnit<LLUnits::Megabytes, S32> gMaxVideoRam; class LLFace; class LLImageGL ; @@ -323,11 +323,11 @@ public: static LLFrameTimer sEvaluationTimer; static F32 sDesiredDiscardBias; static F32 sDesiredDiscardScale; - static LLUnit::Bytes<S32> sBoundTextureMemory; - static LLUnit::Bytes<S32> sTotalTextureMemory; - static LLUnit::Megabytes<S32> sMaxBoundTextureMem; - static LLUnit::Megabytes<S32> sMaxTotalTextureMem; - static LLUnit::Bytes<S32> sMaxDesiredTextureMem ; + static LLUnit<LLUnits::Bytes, S32> sBoundTextureMemory; + static LLUnit<LLUnits::Bytes, S32> sTotalTextureMemory; + static LLUnit<LLUnits::Megabytes, S32> sMaxBoundTextureMem; + static LLUnit<LLUnits::Megabytes, S32> sMaxTotalTextureMem; + static LLUnit<LLUnits::Bytes, S32> sMaxDesiredTextureMem ; static S8 sCameraMovingDiscardBias; static F32 sCameraMovingBias; static S32 sMaxSculptRez ; |