Blender Git Commit Log

Git Commits -> Revision 78698a2

Revision 78698a2 by Sergey Sharybin (master)
December 22, 2013, 08:44 (GMT)
Add ItemDestroyable to the cache limitor

This callback is used when cache limiter needs to remove
some cached objects when running out of limit.

From blender side it's used to keep painted images always
in memory.

This fixes issue when painted images were removing from
the memory after image cache rewrite.

Commit Details:

Full Hash: 78698a2ecf9d17340ce337ecf73ce6e355299f89
Parent Commit: c7a970a
Lines Changed: +48, -2

4 Modified Paths:

/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp (+6, -0) (Diff)
/intern/memutil/MEM_CacheLimiter.h (+21, -2) (Diff)
/intern/memutil/MEM_CacheLimiterC-Api.h (+6, -0) (Diff)
/source/blender/imbuf/intern/moviecache.c (+15, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021