diff options
| author | Rick Pasetto <rick@lindenlab.com> | 2009-12-01 15:38:09 -0800 |
|---|---|---|
| committer | Rick Pasetto <rick@lindenlab.com> | 2009-12-01 15:38:09 -0800 |
| commit | 659dc5224e2f4b6ce90b4f739cc015befc098c12 (patch) | |
| tree | 43a7d9b6027a82cf917cda3c7fd59e70f7264269 /indra/newview/llviewertexturelist.cpp | |
| parent | 948af3093c93461d11ab6a76a8aab7ea10e377c6 (diff) | |
DEV-42989: Adjust media priority based on app minimization and focus
Review #49
This change adjusts each media's priority based on whether the viewer is minimized (media priority becomes HIDDEN) or unfocused (media priority becomes LOW). However, due to the fact that updateMedia() was no longer being called when minimized, I moved its call out of LLViewerTextureList::updateImages() (a seemingly odd place anyway) and into its own idle callback.
Diffstat (limited to 'indra/newview/llviewertexturelist.cpp')
| -rw-r--r-- | indra/newview/llviewertexturelist.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index dbcf563010..5be7f2945f 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -614,10 +614,6 @@ void LLViewerTextureList::updateImages(F32 max_time) didone = image->doLoadedCallbacks(); } } - if (!gNoRender && !gGLManager.mIsDisabled) - { - LLViewerMedia::updateMedia(); - } updateImagesUpdateStats(); } |
