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 <hoyub.lee@samsung.com>
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) {