From: Joogab Yun Date: Fri, 26 Aug 2016 00:31:36 +0000 (+0900) Subject: [evas_sw_backend] disable tbm buffer on sw backend X-Git-Tag: accepted/tizen/common/20160826.142838~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F52%2F85552%2F1;p=platform%2Fupstream%2Fefl.git [evas_sw_backend] disable tbm buffer on sw backend because there is cache flush issue at wearable Change-Id: I6d1f2e4548604e3c695ecce29ff3f9988e182521 --- diff --git a/src/modules/evas/engines/wayland_shm/evas_outbuf.c b/src/modules/evas/engines/wayland_shm/evas_outbuf.c index 6d91c0a..6a88b65 100755 --- a/src/modules/evas/engines/wayland_shm/evas_outbuf.c +++ b/src/modules/evas/engines/wayland_shm/evas_outbuf.c @@ -12,15 +12,23 @@ Eina_Bool _evas_surface_init(Surface *s, int w, int h, int num_buf) { + if (getenv("EVAS_WAYLAND_USE_TBMBUF")) + if (_evas_tbmbuf_surface_create(s, w, h, num_buf)) return EINA_TRUE; + + if (_evas_shm_surface_create(s, w, h, num_buf)) return EINA_TRUE; + + /* if (getenv("EVAS_WAYLAND_USE_SHMBUF")) { - if (_evas_shm_surface_create(s, w, h, num_buf)) return EINA_TRUE; + if (_evas_shm_surface_create(s, w, h, num_buf)) return EINA_TRUE; } else - { - if (_evas_tbmbuf_surface_create(s, w, h, num_buf)) return EINA_TRUE; - if (_evas_shm_surface_create(s, w, h, num_buf)) return EINA_TRUE; - } + { + if (_evas_tbmbuf_surface_create(s, w, h, num_buf)) return EINA_TRUE; + if (_evas_shm_surface_create(s, w, h, num_buf)) return EINA_TRUE; + } + */ + return EINA_FALSE; }