LL perf (Textures/assets): Every texture with a load callback is visited every frame, for up to 900 s #309

Closed
opened 2026-10-04 14:09:16 +00:00 by sky_line · 0 comments
Owner

From the LL-origin inefficiency audit (finding T20). File/line references are from commit 0229f8872c; re-locate them before working.

Every texture with a load callback is visited every frame, for up to 900 s

  • Where: llviewertexturelist.cpp:860-875, llviewertexture.cpp:2713.
  • Fix: dirty list of textures whose discard level changed.
  • Confirmed (impact not measured). S.

Verify the cost (profile or timer) before and after changing it.

From the LL-origin inefficiency audit (finding T20). File/line references are from commit 0229f8872c; re-locate them before working. **Every texture with a load callback is visited every frame, for up to 900 s** - **Where:** `llviewertexturelist.cpp:860-875`, `llviewertexture.cpp:2713`. - **Fix:** dirty list of textures whose discard level changed. - Confirmed (impact not measured). S. Verify the cost (profile or timer) before and after changing it.
sky_line added this to the Slipstream project 2026-10-06 15:04:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#309
No description provided.