mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Throttle proactive tile streaming to reduce post-load hitching
Add 2-second cooldown timer before re-checking for unloaded tiles when workers are idle, preventing excessive streamTiles() calls that caused frame hitches right after world load.
This commit is contained in:
parent
c13dbf2198
commit
6cf08fbaa6
2 changed files with 15 additions and 10 deletions
|
|
@ -348,6 +348,7 @@ private:
|
|||
int unloadRadius = 7; // Unload tiles beyond this radius
|
||||
float updateInterval = 0.033f; // Check streaming every 33ms (~30 fps)
|
||||
float timeSinceLastUpdate = 0.0f;
|
||||
float proactiveStreamTimer_ = 0.0f;
|
||||
bool taxiStreamingMode_ = false;
|
||||
|
||||
// Tile size constants (WoW ADT specifications)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue