blender/intern/memutil
Sergey Sharybin 76ee9783a1 Improved cache management for movie clips from tomato branch
Replace pseudo-LRU approach of determining which buffer
to remove when running out of space allowed for cache
with approach which would remove the frame which is most
far away from newly added frame.

This is still a bit tricky because it's impossible to
distinguish which frame to delete in situation of:

        CCCC...CC
           ^

it's either user wants to extend left segment of cached
frames and buffers from right segment should be removed
or he wants to join this two segments and in that case
buffers from right segment should be removed.

Would need a bit more investigation which situation
is more common in general usecase.

Additional changes:

- Cleanup some memutil files (which are familiar to cache limiter)

- Add option to make moviecache verbose. If DEBUG_MESSAGES is
  defined in moviecache.c detailed logs would be printed to the
  console.

- Movie caches are now named which helps reading debug messages.
2012-07-10 14:43:50 +00:00
..
intern Improved cache management for movie clips from tomato branch 2012-07-10 14:43:50 +00:00
CMakeLists.txt remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
MEM_Allocator.h style cleanup 2012-06-04 20:11:09 +00:00
MEM_CacheLimiter.h Improved cache management for movie clips from tomato branch 2012-07-10 14:43:50 +00:00
MEM_CacheLimiterC-Api.h Improved cache management for movie clips from tomato branch 2012-07-10 14:43:50 +00:00
MEM_NonCopyable.h unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
MEM_RefCounted.h unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
MEM_RefCountedC-Api.h unify include guard defines, __$FILENAME__ 2012-02-17 18:59:41 +00:00
MEM_RefCountPtr.h style cleanup 2012-06-04 20:11:09 +00:00
MEM_SmartPtr.h style cleanup 2012-06-04 20:11:09 +00:00
SConscript rename most scons build targets to match cmake 2010-08-25 04:30:47 +00:00