summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmapmanager.h
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-04-25 14:48:16 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-04-25 14:48:16 -0500
commit5d862c994c18b155bc761fa16dd4070281a1345e (patch)
tree0fb2e8a75343d3964a2dd6269207e92dfee92882 /indra/newview/llreflectionmapmanager.h
parent741c815966fd32698e8258bfa410d713effe9704 (diff)
DRTVWR-559 Optimization pass on probe allocation and search. Incidental decruft.
Diffstat (limited to 'indra/newview/llreflectionmapmanager.h')
-rw-r--r--indra/newview/llreflectionmapmanager.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/newview/llreflectionmapmanager.h b/indra/newview/llreflectionmapmanager.h
index 234bde51a8..c0618de410 100644
--- a/indra/newview/llreflectionmapmanager.h
+++ b/indra/newview/llreflectionmapmanager.h
@@ -110,7 +110,7 @@ private:
void deleteProbe(U32 i);
// get a free cube index
- // if no cube indices are free, free one starting from the back of the probe list
+ // returns -1 if allocation failed
S32 allocateCubeIndex();
// update the neighbors of the given probe
@@ -137,12 +137,9 @@ private:
// storage for reflection probe irradiance maps
LLPointer<LLCubeMapArray> mIrradianceMaps;
- // array indicating if a particular cubemap is free
- bool mCubeFree[LL_MAX_REFLECTION_PROBE_COUNT];
+ // list of free cubemap indices
+ std::list<S32> mCubeFree;
- // start tracking the given spatial group
- void trackGroup(LLSpatialGroup* group);
-
// perform an update on the currently updating Probe
void doProbeUpdate();