diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2022-09-27 17:54:30 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2022-09-27 17:59:21 -0400 |
commit | 07449892df0cfcfa22583d7d7c7b29098e3af499 (patch) | |
tree | 58327cd33302679fc63665159a91c9dede77a0a0 /indra/newview/llmeshrepository.h | |
parent | 9ec86c84e3d75feb5505a98e96db542b054e162e (diff) |
Optimize mesh queue processing on main thread to reduce mutex contention
Diffstat (limited to 'indra/newview/llmeshrepository.h')
-rw-r--r-- | indra/newview/llmeshrepository.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llmeshrepository.h b/indra/newview/llmeshrepository.h index f62216d8ba..e3688ff243 100644 --- a/indra/newview/llmeshrepository.h +++ b/indra/newview/llmeshrepository.h @@ -305,10 +305,10 @@ public: std::queue<LODRequest> mLODReqQ; //queue of unavailable LODs (either asset doesn't exist or asset doesn't have desired LOD) - std::queue<LODRequest> mUnavailableQ; + std::deque<LODRequest> mUnavailableQ; //queue of successfully loaded meshes - std::queue<LoadedMesh> mLoadedQ; + std::deque<LoadedMesh> mLoadedQ; //map of pending header requests and currently desired LODs typedef boost::unordered_map<LLUUID, std::vector<S32> > pending_lod_map; |