[evas] use EVAS_GL_WAYLAND_Y_INVERTED_WL attribute of
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 8 Jun 2016 08:19:12 +0000 (17:19 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:02:35 +0000 (22:02 +0900)
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

index 4b36681..7139c6a 100755 (executable)
@@ -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;