forked from bartvdbraak/blender
83758c4154
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. |
||
---|---|---|
.. | ||
intern | ||
CMakeLists.txt | ||
MEM_Allocator.h | ||
MEM_CacheLimiter.h | ||
MEM_CacheLimiterC-Api.h | ||
MEM_NonCopyable.h | ||
MEM_RefCounted.h | ||
MEM_RefCountedC-Api.h | ||
MEM_RefCountPtr.h | ||
MEM_SmartPtr.h | ||
SConscript |