From 5fde4562ecbe93c326e926929115b7c66659e17c Mon Sep 17 00:00:00 2001 From: Joogab Yun Date: Wed, 8 Jun 2016 17:19:12 +0900 Subject: [PATCH] [evas] use EVAS_GL_WAYLAND_Y_INVERTED_WL attribute of eglQueryWaylandBufferWL - 'yinvert=0' in YaGL of emulator, so we need check EGL_WAYLAND_Y_INVERTED_WL attribute to query orientation of wl_buffer @tizen_fix : bug fix Change-Id: I98abbe72c882d83a4bf90081f5feb2462027fb7c --- src/modules/evas/engines/wayland_egl/evas_engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c index 4b36681..7139c6a 100755 --- a/src/modules/evas/engines/wayland_egl/evas_engine.c +++ b/src/modules/evas/engines/wayland_egl/evas_engine.c @@ -1369,8 +1369,8 @@ eng_image_native_set(void *engine, void *image, void *native) //XXX: workaround for mesa-10.2.8 // mesa's eglQueryWaylandBufferWL() with EGL_WAYLAND_Y_INVERTED_WL works incorrect. - //img->native.yinvert = yinvert; - img->native.yinvert = 1; + img->native.yinvert = yinvert; +// img->native.yinvert = 1; img->native.loose = 0; img->native.disp = ob->egl_disp; img->native.shared = ob->gl_context->shared; -- 2.7.4