1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 16:15:36 +00:00
openmw/components/nifogre
scrawl 2b407a9995 Refactor NIF cache
- Remove broken cache locking mechanism

This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.

 - Decouple cache from NIFFile (now a new nifcache component)

 - Add API for future background loading

 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
2014-08-24 02:37:50 +02:00
..
controller.hpp General perfomance optimizations. 2014-03-30 19:45:27 +04:00
material.cpp Rename and move functions for texture path correction 2014-08-11 20:04:44 +02:00
material.hpp Rename and move functions for texture path correction 2014-08-11 20:04:44 +02:00
mesh.cpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
mesh.hpp Move the mesh loader to its own source file 2013-04-10 22:38:46 -07:00
ogrenifloader.cpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
ogrenifloader.hpp Merge branch 'visibility' 2014-07-31 14:34:25 +02:00
particles.cpp Ensure non-negative particle life time, add size assertion 2014-07-18 16:11:08 +02:00
particles.hpp Refactored Ogre initialisation into a component 2013-10-30 14:04:33 +01:00
skeleton.cpp Refactor NIF cache 2014-08-24 02:37:50 +02:00
skeleton.hpp Build a skeleton for Nifs that have a matching .kf file 2013-05-08 01:03:57 -07:00