diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-12-08 18:17:32 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-12-08 18:17:32 -0800 |
commit | ce18034e6544364e39aef0ac1a315b7e9e5770fa (patch) | |
tree | 54251d19e446716e598db3fa1239a91523c00380 /indra/newview/skins/default/xui/es/floater_snapshot.xml | |
parent | b37fab7a5d5a6eedf8567a3f2704b36c98a2645d (diff) |
Performance improvements for the nearby media floater when lots of media is present.
Added LLViewerMediaImpl::mInNearbyMediaList for LLFloaterNearbyMedia::refreshList() to use to keep track of which elements it's seen -- this allows us to remove a linear search in an inner loop.
Added a map from texture ID to media impl pointer in LLViewerMedia/LLViewerMediaImpl. This allows LLViewerMedia::getMediaImplFromTextureID() to be a std::map lookup instead of a linear search.
In LLFloaterNearbyMedia, call sortByColumnIndex in postBuild instead of in addMediaItem(). The latter was causing some unnecessary re-sorting.
Hf: Enter commit message. Lines beginning with 'HG:' are removed.
Diffstat (limited to 'indra/newview/skins/default/xui/es/floater_snapshot.xml')
0 files changed, 0 insertions, 0 deletions