forked from enlightenment/efl
* evas: fix bug that impact performance of map.
TODO: Got the idea that we could spread the load of image data on all proc instead of blocking on the main thread for that. SVN revision: 47430
This commit is contained in:
parent
1a51c662bf
commit
3059ecd31c
|
@ -816,7 +816,12 @@ eng_image_map4_draw(void *data __UNUSED__, void *context, void *surface, void *i
|
|||
else
|
||||
#ifdef BUILD_PIPE_RENDER
|
||||
if (cpunum > 1)
|
||||
evas_common_pipe_map4_draw(im, surface, context, p, smooth, level);
|
||||
{
|
||||
if (im->cache_entry.space == EVAS_COLORSPACE_ARGB8888)
|
||||
evas_cache_image_load_data(&im->cache_entry);
|
||||
evas_common_image_colorspace_normalize(im);
|
||||
evas_common_pipe_map4_draw(im, surface, context, p, smooth, level);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
evas_common_map4_rgba(im, surface, context, p, smooth, level);
|
||||
|
|
Loading…
Reference in New Issue