From: Tianhao Ni Date: Fri, 4 Jun 2021 05:42:48 +0000 (+0800) Subject: Fix ws-testcase build issue: X-Git-Tag: accepted/tizen/unified/20210609.140524~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=709d66fc80e2a8f2146df23f10e52cee3cc324aa;p=platform%2Fcore%2Fuifw%2Flibtpl-egl.git Fix ws-testcase build issue: - Issue: undefined reference to '__tpl_display_choose_backend_wl_egl_thread' undefined refetence to '__tpl_display_choose_backend_wayland_vk_wsi' - Fix: Replace __tpl_display_choose_backend_wl_egl_thread() with __tpl_display_choose_backend_wl_egl_thread2() Replace __tpl_display_choose_backend_wayland_vk_wsi() with __tpl_display_choose_backend_wayland_vk_wsi_thread() Change-Id: I1d562bbaf37c4c45b238e221b125bdb42cc6db1a Signed-off-by: Tianhao Ni --- diff --git a/src/tpl.c b/src/tpl.c index f40889d..5482bc1 100644 --- a/src/tpl.c +++ b/src/tpl.c @@ -274,14 +274,14 @@ __tpl_display_choose_backend(tpl_handle_t native_dpy) if (__tpl_display_choose_backend_tbm(native_dpy) == TPL_TRUE) return TPL_BACKEND_TBM; if (wl_egl_thread) { - if (__tpl_display_choose_backend_wl_egl_thread(native_dpy)) + if (__tpl_display_choose_backend_wl_egl_thread2(native_dpy)) return TPL_BACKEND_WAYLAND_THREAD; } else { if (__tpl_display_choose_backend_wayland_egl(native_dpy)) return TPL_BACKEND_WAYLAND; } - if (__tpl_display_choose_backend_wayland_vk_wsi(native_dpy) == TPL_TRUE) - return TPL_BACKEND_WAYLAND_VULKAN_WSI; + if (__tpl_display_choose_backend_wayland_vk_wsi_thread(native_dpy) == TPL_TRUE) + return TPL_BACKEND_WAYLAND_VULKAN_WSI_THREAD; #endif #ifdef TPL_WINSYS_DRI2 if (__tpl_display_choose_backend_x11_dri2(native_dpy) == TPL_TRUE)