From: Minkyoung Kim Date: Tue, 12 Jul 2016 05:11:36 +0000 (+0900) Subject: evas/gl_generic: Recreate texture when native surface image size is changed. X-Git-Tag: upstream/1.20.0~5230 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd1917e90d19126f22b982c3dcaed60e28a47f34;p=platform%2Fupstream%2Fefl.git evas/gl_generic: Recreate texture when native surface image size is changed. Summary: Now, if image is native, do not recreate texture when image size is changed. Recreate next native surface set time. So during the time between image_size_set and native_surface_set, native image is fragile. Fix it. Test Plan: Local Test Reviewers: spacegrapher, jpeg, wonsik, dkdk, raster Reviewed By: raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4153 --- diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c index 0a683e5..07771f5 100644 --- a/src/modules/evas/engines/gl_generic/evas_engine.c +++ b/src/modules/evas/engines/gl_generic/evas_engine.c @@ -594,6 +594,7 @@ eng_image_size_set(void *data, void *image, int w, int h) { im->w = w; im->h = h; + evas_gl_common_image_native_enable(im); return image; } re->window_use(re->software.ob);