discomfitor pushed a commit to branch master.

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

commit f29410b0840b753d20f687e7f37d16bbca1f7b49
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Aug 12 14:12:04 2015 -0400

    force copy rendering for argb wayland clients
    
    wayland protocol for shm handling is broken for now and I can't fix
    real issues because of the constant crashing when buffers disappear
    randomly
---
 src/bin/e_comp_object.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index b812cbc..c683e48 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3473,7 +3473,15 @@ e_comp_object_render(Evas_Object *obj)
              RENDER_DEBUG("UPDATE [%p] %i %i %ix%i", cw->ec, r->x, r->y, r->w, 
r->h);
           }
         /* set pixel data */
-        evas_object_image_data_set(cw->obj, pix);
+        if (e_comp->comp_type == E_PIXMAP_TYPE_WL)
+          {
+#warning FIXME BROKEN WAYLAND SHM BUFFER PROTOCOL
+             evas_object_image_data_copy_set(cw->obj, pix);
+             pix = evas_object_image_data_get(cw->obj, 0);
+             evas_object_image_data_set(cw->obj, pix);
+          }
+        else
+          evas_object_image_data_set(cw->obj, pix);
         EINA_LIST_FOREACH(cw->obj_mirror, l, o)
           {
              evas_object_image_data_set(o, pix);

-- 


Reply via email to