diff options
author | Richard Linden <none@none> | 2013-08-15 00:02:23 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-15 00:02:23 -0700 |
commit | 9f7bfa1c3710856cd2b0a0a8a429d6c45b0fcd09 (patch) | |
tree | abc27a8ff7406b2216a13ba3804b006e60f1f080 /indra/newview/lltexturefetch.h | |
parent | 01c1d40b3faa139e9aeacbea7acae3ab65ca9dcd (diff) |
moved unit types out of LLUnits namespace, since they are prefixed
Diffstat (limited to 'indra/newview/lltexturefetch.h')
-rwxr-xr-x | indra/newview/lltexturefetch.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/lltexturefetch.h b/indra/newview/lltexturefetch.h index 38272b40dc..78b13cdd80 100755 --- a/indra/newview/lltexturefetch.h +++ b/indra/newview/lltexturefetch.h @@ -107,10 +107,10 @@ public: bool receiveImagePacket(const LLHost& host, const LLUUID& id, U16 packet_num, U16 data_size, U8* data); // Threads: T* (but not safe) - void setTextureBandwidth(LLUnit<F32, LLUnits::Kibibits> bandwidth) { mTextureBandwidth = bandwidth; } + void setTextureBandwidth(F32Kibibits bandwidth) { mTextureBandwidth = bandwidth; } // Threads: T* (but not safe) - LLUnit<F32, LLUnits::Kibibits> getTextureBandwidth() { return mTextureBandwidth; } + F32Kibibits getTextureBandwidth() { return mTextureBandwidth; } // Threads: T* BOOL isFromLocalCache(const LLUUID& id); @@ -310,7 +310,7 @@ private: LLMutex mNetworkQueueMutex; //to protect mNetworkQueue, mHTTPTextureQueue and mCancelQueue. static LLTrace::EventStatHandle<LLUnit<F32, LLUnits::Percent> > sCacheHitRate; - static LLTrace::EventStatHandle<LLUnit<F64, LLUnits::Milliseconds> > sCacheReadLatency; + static LLTrace::EventStatHandle<F64Milliseconds > sCacheReadLatency; LLTextureCache* mTextureCache; LLImageDecodeThread* mImageDecodeThread; @@ -325,12 +325,12 @@ private: queue_t mHTTPTextureQueue; // Mfnq typedef std::map<LLHost,std::set<LLUUID> > cancel_queue_t; cancel_queue_t mCancelQueue; // Mfnq - LLUnit<F32, LLUnits::Kibibits> mTextureBandwidth; // <none> - LLUnit<F32, LLUnits::Kibibits> mMaxBandwidth; // Mfnq + F32Kibibits mTextureBandwidth; // <none> + F32Kibibits mMaxBandwidth; // Mfnq LLTextureInfo mTextureInfo; // XXX possible delete - LLUnit<U32, LLUnits::Bits> mHTTPTextureBits; // Mfnq + U32Bits mHTTPTextureBits; // Mfnq // XXX possible delete //debug use |