Revert "evas scalecache - fix thread deadlock posssibility"

This reverts commit 24a1c444b0.
This commit is contained in:
Carsten Haitzler 2014-08-18 19:39:10 +09:00
parent b44a068b4b
commit 2bfc9190d9
1 changed files with 2 additions and 2 deletions

View File

@ -788,11 +788,10 @@ evas_common_rgba_image_scalecache_do_cbs(Image_Entry *ie, RGBA_Image *dst,
{
static RGBA_Draw_Context *ct = NULL;
SLKL(cache_lock);
im->cache.orig_usage++;
im->cache.usage_count = use_counter;
im->cache.populate_count--;
SLKU(im->cache.lock);
SLKL(cache_lock);
// pops++;
if (!ct)
{
@ -801,6 +800,7 @@ evas_common_rgba_image_scalecache_do_cbs(Image_Entry *ie, RGBA_Image *dst,
ct = evas_common_draw_context_new();
evas_common_draw_context_set_render_op(ct, _EVAS_RENDER_COPY);
}
SLKU(im->cache.lock);
if (im->cache_entry.space == EVAS_COLORSPACE_ARGB8888)
{
#ifdef EVAS_CSERVE2