From c1a080f5e4e3ef01cfb792ef3eb9c9e59ba4d3f3 Mon Sep 17 00:00:00 2001 From: "jiin.moon" Date: Tue, 11 Oct 2016 08:58:52 +0830 Subject: [PATCH] evas: Fix not update issue with TBM surface Summary: If the pixels of image object has updates via native_suface_set api with TBM surface, does not update on screen(no rendering) Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D4340 --- src/lib/evas/canvas/evas_object_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 9f41edb..bf488f8 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -2272,7 +2272,8 @@ evas_object_image_render_pre(Evas_Object *eo_obj, * of surfaces must add data update regions. */ Evas_Native_Surface *ns; ns = ENFN->image_native_get(ENDT, o->engine_data); - if (ns && (ns->type == EVAS_NATIVE_SURFACE_EVASGL)) + if (ns && ((ns->type == EVAS_NATIVE_SURFACE_EVASGL) || + (ns->type == EVAS_NATIVE_SURFACE_TBM))) { evas_object_render_pre_prev_cur_add(&e->clip_changes, eo_obj, obj); goto done; -- 2.7.4