Commit Graph

18 Commits (520e65f82205480a6286d6c51129c0715ec13149)

Author SHA1 Message Date
scrawl 42e9891504 Fix issues caused by loading multiple views into the same terrain View 8 years ago
scrawl 97ed999097 Fix cleanup issue 8 years ago
scrawl 3c29e2dbeb Refactor ownership of terrain views 8 years ago
scrawl 4549196b31 Use the new way of terrain preloading in CellPreloader/Scene 8 years ago
scrawl 9a3a64f0c4 Add resource manager for ESM::Land to allow data to be unloaded when no longer required 8 years ago
scrawl 3f3d00ffc9 Add CellPreloader::clear to avoid potential dangling CellStore pointer and to more aggressively clear preload state from a previous game 8 years ago
scrawl eaeba4138b Move the deletion of PreloadItem to the worker thread 8 years ago
scrawl 0be811c519 Update the resource cache every second instead of every frame
A dry run takes about ~1.5ms. Even though it's all done in the worker thread, the locks used can stall loading operations that are about to happen in other threads, and just in general this CPU load is unnecessary.
8 years ago
scrawl e1dda9675d Add "preload instances" setting, disabling this may help if you are low on memory. 9 years ago
scrawl 5cda89c15d Don't attempt to preload more exterior cells than the cache can hold (Bug #3273) 9 years ago
scrawl 6fb0022b35 Update preloading settings
Disable 'preload fast travel' by default.

Add 'min cache size' and 'max cache size' settings.

Split the 'cache expiry delay' into 'preload cell expiry delay' and 'cache expiry delay'.
9 years ago
scrawl 6bfeb118d7 Fix cleanup issue 9 years ago
scrawl 0865cea211 Preload terrain 9 years ago
scrawl e28dc3e72f Preload instances in SceneManager 9 years ago
scrawl c8054424c9 Preload items equipped by NPCs 9 years ago
scrawl a81b10b415 Make the cache expiryDelay configurable 9 years ago
scrawl d855a13b44 Clear the resource cache from the worker thread 9 years ago
scrawl 6f9ca0f68f Add basic cell preloader class
Not properly in use yet, but seems to be working.
9 years ago