From f29410b0840b753d20f687e7f37d16bbca1f7b49 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 12 Aug 2015 14:12:04 -0400 Subject: [PATCH] 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); -- 2.7.4