evas/cserve2: Use scalecache with cserve2
authorJean-Philippe Andre <jp.andre@samsung.com>
Mon, 23 Sep 2013 08:51:06 +0000 (17:51 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 28 Oct 2013 06:47:15 +0000 (15:47 +0900)
commit1e82480c9a074163ec6788a8a60ead403f7b0658
tree0c1458c5a0a0149c0f4a16e11f4d3523934cdb74
parentfc73405c40653a5fc0166690e3657ffd87069efc
evas/cserve2: Use scalecache with cserve2

Let's reuse the logic from scalecache and call cserve2
functions when the scalecache should be used.
So, now, cserve2 server will not scale any image... This is
too computationally intensive for the server's main thread.

This is not optimal but makes a hell of a lot more sense for
the moment. (since cserve2 manages the SHM segments)
src/bin/evas/evas_cserve2.h
src/bin/evas/evas_cserve2_cache.c
src/bin/evas/evas_cserve2_scale.c
src/lib/evas/cache2/evas_cache2.c
src/lib/evas/canvas/evas_object_image.c
src/lib/evas/common/evas_image_scalecache.c
src/lib/evas/cserve2/evas_cs2.h
src/modules/evas/engines/software_generic/evas_engine.c