cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=79f2576a8919c288f51939b12cc4edfd67023c17
commit 79f2576a8919c288f51939b12cc4edfd67023c17 Merge: 0d44b94 a7fd98f Author: Cedric BAIL <[email protected]> Date: Thu Aug 6 11:06:55 2015 +0200 Merge branch 'devs/cedric/evas_snapshot' Evas snapshot feature is a new attribute for Evas_Objet_Image that allow the object to get the pixels of the object below it in its own buffer. This can be used for two typicall use case. First is improving accessibility by offering a magnifying glass using snapshot together with Evas_Map. Second is to make it possible to blur the underlying content (in conjunction with filters). This should make it possible to do some nice new theme and effect. NOTE: As a technical note, this feature is very costly at the point. We do not support partial update on surface and we can't know if the object below did change, so we are forced to redraw the full content of the snapshot object for every frame. The only way to fix it is to add per surface damage detection. I guess it is time to start rolling this in. src/bin/edje/edje_cc_handlers.c | 9 +- src/lib/edje/Edje_Common.h | 3 +- src/lib/edje/edje_cache.c | 3 + src/lib/edje/edje_calc.c | 7 + src/lib/edje/edje_data.c | 20 +- src/lib/edje/edje_load.c | 5 + src/lib/edje/edje_private.h | 4 +- src/lib/evas/canvas/evas_image.eo | 22 ++ src/lib/evas/canvas/evas_main.c | 4 +- src/lib/evas/canvas/evas_object_image.c | 63 ++++- src/lib/evas/canvas/evas_object_main.c | 2 +- src/lib/evas/canvas/evas_render.c | 440 ++++++++++++++++++++------------ src/lib/evas/include/evas_inline.x | 3 + src/lib/evas/include/evas_private.h | 4 + 14 files changed, 416 insertions(+), 173 deletions(-) --
