diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-03-19 00:03:19 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-03-19 00:03:42 +0200 |
commit | 969ed536806dce1fe2fa8fc9b312f1c80e671d84 (patch) | |
tree | 3e8c7e74cbecf7aefe250b03a72651dd781bf8ed /indra/newview/llviewerthrottle.h | |
parent | f462037b8e3474115a1f039ce0cd56c98e320227 (diff) | |
parent | c99e3167ed8549bc13d7df03b1e12dc15b0a080f (diff) |
Merge branch 'release/2025.03' into release/2025.04
Diffstat (limited to 'indra/newview/llviewerthrottle.h')
-rw-r--r-- | indra/newview/llviewerthrottle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerthrottle.h b/indra/newview/llviewerthrottle.h index 28a24d04fc..9973c88549 100644 --- a/indra/newview/llviewerthrottle.h +++ b/indra/newview/llviewerthrottle.h @@ -70,12 +70,15 @@ public: void updateDynamicThrottle(); void resetDynamicThrottle(); + void setBufferLoadRate(F32 rate) { mBufferLoadRate = llmax(mBufferLoadRate, rate); } + LLViewerThrottleGroup getThrottleGroup(const F32 bandwidth_kbps); static const std::string sNames[TC_EOF]; protected: F32 mMaxBandwidth; F32 mCurrentBandwidth; + F32 mBufferLoadRate = 0; LLViewerThrottleGroup mCurrent; |