* evas: remove lock during heavy computation.

FIXME: Still one at line 685, but don't know if it's safe to move it around.

	TODO: Fix map support with threaded rendering.


SVN revision: 47426
This commit is contained in:
Cedric BAIL 2010-03-24 14:45:58 +00:00
parent 6549ab12ce
commit 31d6a2e21c
1 changed files with 1 additions and 1 deletions

View File

@ -471,6 +471,7 @@ evas_common_rgba_image_scalecache_do(Image_Entry *ie, RGBA_Image *dst,
evas_cache_image_load_data(&im->cache_entry);
evas_common_image_colorspace_normalize(im);
// noscales++;
LKU(im->cache.lock);
if (im->image.data)
{
if (smooth)
@ -486,7 +487,6 @@ evas_common_rgba_image_scalecache_do(Image_Entry *ie, RGBA_Image *dst,
dst_region_x, dst_region_y,
dst_region_w, dst_region_h);
}
LKU(im->cache.lock);
return;
}
LKL(cache_lock);