From: Hoyub Lee Date: Tue, 25 Jul 2017 10:58:15 +0000 (+0900) Subject: tpl_wayland_egl: Format of tpl_surface is now used instead of ARGB8888 X-Git-Tag: accepted/tizen/4.0/unified/20170816.010353~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=775b7f40fb2a491f7069ad796c654e70bc96e86b;p=platform%2Fcore%2Fuifw%2Flibtpl-egl.git tpl_wayland_egl: Format of tpl_surface is now used instead of ARGB8888 Because there was no real use case using format other than ARGB8888, the format value in __tpl_wayland_egl_surface_init() was fixed as ARGB8888. However, there were cases using other formats on CTS. Therefore, the format of tpl_surface is going to be used. Change-Id: I427d1a989267b9ec0fbe03f5bb67b02ba985a039 Signed-off-by: Hoyub Lee --- diff --git a/src/tpl_wayland_egl.c b/src/tpl_wayland_egl.c index 714c890..156b6e3 100644 --- a/src/tpl_wayland_egl.c +++ b/src/tpl_wayland_egl.c @@ -527,14 +527,14 @@ __tpl_wayland_egl_surface_init(tpl_surface_t *surface) CLIENT_QUEUE_SIZE, wl_egl_window->width, wl_egl_window->height, - TBM_FORMAT_ARGB8888); + surface->format); } else /*Why wl_surface is NULL ?*/ wayland_egl_surface->tbm_queue = tbm_surface_queue_sequence_create( CLIENT_QUEUE_SIZE, wl_egl_window->width, wl_egl_window->height, - TBM_FORMAT_ARGB8888, + surface->format, 0); if (!wayland_egl_surface->tbm_queue) {