* evas: fix uncertain lock. It's look like it improve perf here without breaking things.

SVN revision: 47428
This commit is contained in:
Cedric BAIL 2010-03-24 14:55:37 +00:00
parent 80901b0abe
commit f715c8584d
1 changed files with 1 additions and 1 deletions

View File

@ -656,6 +656,7 @@ evas_common_rgba_image_scalecache_do(Image_Entry *ie, RGBA_Image *dst,
if (sci->flop > 0) sci->flop -= FLOP_DEL;
}
// INF("use cached!");
LKU(im->cache.lock);
evas_common_scale_rgba_in_to_out_clip_sample
(sci->im, dst, dc,
0, 0,
@ -682,7 +683,6 @@ evas_common_rgba_image_scalecache_do(Image_Entry *ie, RGBA_Image *dst,
evas_common_rgba_image_unload(&im->cache_entry);
}
}
LKU(im->cache.lock);
}
else
{