1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 12:35:46 +00:00
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
..
2013-04-28 14:59:15 +02:00
2013-04-28 14:59:15 +02:00
2013-03-23 08:16:46 +01:00
2014-01-07 19:58:17 +01:00
2013-11-04 10:36:22 +01:00
2013-03-15 10:26:04 +01:00
2014-05-03 12:23:22 +02:00
2012-12-23 23:23:24 +04:00
2014-08-24 02:37:50 +02:00