blender/intern/memutil
Sergey Sharybin 83758c4154 Color management: refactor of cache to deal better with movie clip cache
There were some crashes discovered in some circumstances of using
color management within the clip editor which ended up some refactoring
of color management cache.

Switch from global movie cache instance to per-image buffer instances

This only means keys for color managed buffers could be much simpier
and that look up would happen much faster in there're lots of frames
cached. Memory limiter stuff is still global for all color management
and in fact it's also shared with movie clip cache .

This allowed to get rid of original image buffer stored in cache
key and allowed to easily remove all display buffers when source
image buffer is being freed. This was main culptrit leading to
crashes.

Additional changes:

- 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.

- Improved a bit behavior of cache element removing when buffer
  overflows on adding new display buffer and there're frames from
  movie clip.
2012-07-05 09:41:00 +00:00
..
intern Tomato: style cleanup, no functional changes 2012-07-03 10:56:48 +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 Color management: refactor of cache to deal better with movie clip cache 2012-07-05 09:41:00 +00:00
MEM_CacheLimiterC-Api.h Tomato: style cleanup, no functional changes 2012-07-03 10:56:48 +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