From: Ji-Youn Park Date: Tue, 11 Oct 2016 09:50:01 +0000 (+0830) Subject: evas: Fix not update issue with TBM surface X-Git-Tag: accepted/tizen/common/20161013.161055~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F91792%2F1;p=platform%2Fupstream%2Fefl.git 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) opensource_commit c1a080f5e4e3ef01cfb792ef3eb9c9e59ba4d3f3 Author: jiin.moon Date: Tue Oct 11 08:58:52 2016 +0830 Reviewers: jpeg, cedric Change-Id: Iece958dfd027eea41c6b08f11200dc99940b5770 --- diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index ba98d61..a81b744 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -3867,7 +3867,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); if (!o->pixels->pixel_updates) goto done;