fix some nasty image cache issues i've found like double-frees, leaks

etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.



SVN revision: 58779
This commit is contained in:
Carsten Haitzler 2011-04-21 06:24:27 +00:00
parent d157c43997
commit 6152914dd5
2 changed files with 336 additions and 570 deletions

File diff suppressed because it is too large Load Diff

View File

@ -537,10 +537,13 @@ struct _Image_Entry_Flags
Eina_Bool in_progress : 1;
Eina_Bool dirty : 1;
Eina_Bool activ : 1;
Eina_Bool need_data : 1;
Eina_Bool lru_nodata : 1;
Eina_Bool cached : 1;
Eina_Bool alpha : 1;
Eina_Bool lru : 1;
Eina_Bool alpha_sparse : 1;
#ifdef BUILD_ASYNC_PRELOAD
Eina_Bool preload_done : 1;