- Removed the tpl_gbm backend from the build.
- but did not delete the source file yet.
Change-Id: Ie812a4f92a234b210955ddade0a958c6e51499be
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
[with_wayland=yes])
AS_IF([test "${with_wayland}" = "yes" || test "${with_wayland}" = "1"],
- [PKG_CHECK_MODULES([TPL_WL], [gbm libtdm-client wayland-tbm-client wayland-tbm-server tizen-surface-client glib-2.0])
+ [PKG_CHECK_MODULES([TPL_WL], [libtdm-client wayland-tbm-client wayland-tbm-server tizen-surface-client glib-2.0])
TPL_CFLAGS+="$TPL_WL_CFLAGS"
TPL_CFLAGS+=" -DTPL_WINSYS_WL=1 "
TPL_LIBS+="$TPL_WL_LIBS"],
%if "%{TPL_WINSYS}" == "WL"
BuildRequires: libtool
BuildRequires: wayland-devel
-BuildRequires: pkgconfig(gbm)
BuildRequires: pkgconfig(libtdm-client)
BuildRequires: pkgconfig(wayland-tbm-client)
BuildRequires: pkgconfig(wayland-tbm-server)
#ifdef TPL_WINSYS_WL
if (__tpl_display_choose_backend_tbm(native_dpy) == TPL_TRUE)
return TPL_BACKEND_TBM;
- if (__tpl_display_choose_backend_gbm(native_dpy) == TPL_TRUE)
- return TPL_BACKEND_GBM;
if (wl_egl_thread) {
if (__tpl_display_choose_backend_wl_egl_thread(native_dpy))
return TPL_BACKEND_WAYLAND_THREAD;
switch (type) {
#ifdef TPL_WINSYS_WL
- case TPL_BACKEND_GBM:
- __tpl_display_init_backend_gbm(&display->backend);
- break;
case TPL_BACKEND_WAYLAND:
__tpl_display_init_backend_wayland_egl(&display->backend);
break;
switch (type) {
#ifdef TPL_WINSYS_WL
- case TPL_BACKEND_GBM:
- __tpl_surface_init_backend_gbm(&surface->backend);
- break;
case TPL_BACKEND_WAYLAND:
__tpl_surface_init_backend_wayland_egl(&surface->backend);
break;
/* Backend initialization functions. */
tpl_backend_type_t __tpl_display_choose_backend(tpl_handle_t native_dpy);
-tpl_bool_t __tpl_display_choose_backend_gbm(tpl_handle_t native_dpy);
tpl_bool_t __tpl_display_choose_backend_tbm(tpl_handle_t native_dpy);
tpl_bool_t __tpl_display_choose_backend_wayland_egl(tpl_handle_t native_dpy);
tpl_bool_t __tpl_display_choose_backend_wl_egl_thread(tpl_handle_t native_dpy);
tpl_backend_type_t type);
void __tpl_surface_init_backend(tpl_surface_t *surface,
tpl_backend_type_t type);
-void __tpl_display_init_backend_gbm(tpl_display_backend_t *backend);
void __tpl_display_init_backend_tbm(tpl_display_backend_t *backend,
tpl_backend_type_t type);
void __tpl_display_init_backend_wayland_egl(tpl_display_backend_t *backend);
void __tpl_display_init_backend_wl_vk_wsi_thread(tpl_display_backend_t *backend);
void __tpl_display_init_backend_x11_dri2(tpl_display_backend_t *backend);
void __tpl_display_init_backend_x11_dri3(tpl_display_backend_t *backend);
-void __tpl_surface_init_backend_gbm(tpl_surface_backend_t *backend);
void __tpl_surface_init_backend_tbm(tpl_surface_backend_t *backend,
tpl_backend_type_t type);
void __tpl_surface_init_backend_wayland_egl(tpl_surface_backend_t *backend);