discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=57ea33e5415bf4e3fa81a6a7faa0e0fceb0cf91c

commit 57ea33e5415bf4e3fa81a6a7faa0e0fceb0cf91c
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jan 18 13:33:24 2016 -0500

    do not unset comp object native surface during shape apply
    
    due to efl changes, unsetting a native surface now clears existing image 
pixel
    data, resulting in a guaranteed blank render
    
    ref T3011
---
 src/bin/e_comp_object.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 149387d..19aa573 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3423,13 +3423,9 @@ e_comp_object_shape_apply(Evas_Object *obj)
 
    //INF("SHAPE RENDER %p", cw->ec);
 
-   if (cw->ec->shaped) evas_object_image_native_surface_set(cw->obj, NULL);
    _e_comp_object_alpha_set(cw);
    EINA_LIST_FOREACH(cw->obj_mirror, l, o)
-     {
-        if (cw->ec->shaped) evas_object_image_native_surface_set(o, NULL);
-        evas_object_image_alpha_set(o, 1);
-     }
+     evas_object_image_alpha_set(o, 1);
 
    p = pix = evas_object_image_data_get(cw->obj, 1);
    if (!pix)

-- 


Reply via email to