diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2017-06-19 16:25:39 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-09-27 12:48:16 +0800 |
commit | fc277b8f5eb92a94b4a9112eba591f87072786ce (patch) | |
tree | 8006cd70fb0cdfaef79336005b036d7c916ea9da /configure.ac | |
parent | 4ba33717a4f3aafaec8ed6c21e85db2987d67276 (diff) | |
download | libva-fc277b8f5eb92a94b4a9112eba591f87072786ce.tar.gz |
Delete libva-tpi and libva-egl backends
The APIs/data structures defined in va_tpi.h and va_egl.h are used
to implement buffer sharing between libva and the 3rd party libraries.
We have an official buffer sharing machnism in VA core, so libva-tpi and
libva-egl are unnecessary any more.
However va_egl.h or va_tpi.h is included uselessly in a few places,
e.g. https://github.com/01org/libyami/blob/apache/vaapi/vaapidisplay.h#L22
So va_egl.h and va_tpi.h are kept with a deprecation warning message.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/configure.ac b/configure.ac index 923ffdc..a0216f9 100644 --- a/configure.ac +++ b/configure.ac @@ -144,11 +144,6 @@ AC_ARG_ENABLE(glx, [build with VA/GLX API support @<:@default=auto@:>@])], [], [enable_glx="auto"]) -AC_ARG_ENABLE(egl, - [AC_HELP_STRING([--enable-egl], - [build with VA/EGL API support @<:@default=auto@:>@])], - [], [enable_egl="auto"]) - AC_ARG_ENABLE([wayland], [AC_HELP_STRING([--enable-wayland], [build with VA/Wayland API support @<:@default=auto@:>@])], @@ -269,29 +264,6 @@ if test "$USE_X11:$enable_glx" != "yes:no"; then fi AM_CONDITIONAL(USE_GLX, test "$USE_GLX" = "yes") -# Check for EGL -USE_EGL="no" -if test "x$enable_egl" != "xno"; then - PKG_CHECK_MODULES([EGL], [egl], [USE_EGL="yes"], [:]) - saved_CPPFLAGS="$CPPFLAGS" - saved_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $EGL_CFLAGS" - LIBS="$LIBS $EGL_LIBS" - AC_CHECK_HEADERS([EGL/egl.h], [:], [USE_EGL="no"]) - AC_CHECK_LIB([EGL], [eglGetDisplay], [:], [USE_EGL="no"]) - CPPFLAGS="$saved_CPPFLAGS" - LIBS="$saved_LIBS" - - if test "x$USE_EGL" = "xno" -a "x$enable_egl" = "xyes"; then - AC_MSG_ERROR([VA/EGL explicitly enabled, but libEGL couldn't be found]) - fi - - if test "$USE_EGL" = "yes"; then - AC_DEFINE([HAVE_VA_EGL], [1], [Defined to 1 if VA/EGL API is built]) - fi -fi -AM_CONDITIONAL(USE_EGL, test "$USE_EGL" = "yes") - # Check for Wayland WAYLAND_API_VERSION=wayland_api_version AC_SUBST(WAYLAND_API_VERSION) @@ -334,15 +306,12 @@ AC_OUTPUT([ doc/Makefile pkgconfig/Makefile pkgconfig/libva-drm.pc - pkgconfig/libva-egl.pc pkgconfig/libva-glx.pc - pkgconfig/libva-tpi.pc pkgconfig/libva-wayland.pc pkgconfig/libva-x11.pc pkgconfig/libva.pc va/Makefile va/drm/Makefile - va/egl/Makefile va/glx/Makefile va/va_version.h va/wayland/Makefile @@ -354,7 +323,6 @@ BACKENDS="" AS_IF([test x$USE_DRM = xyes], [BACKENDS="$BACKENDS drm"]) AS_IF([test x$USE_X11 = xyes], [BACKENDS="$BACKENDS x11"]) AS_IF([test x$USE_GLX = xyes], [BACKENDS="$BACKENDS glx"]) -AS_IF([test x$USE_EGL = xyes], [BACKENDS="$BACKENDS egl"]) AS_IF([test x$USE_WAYLAND = xyes], [BACKENDS="$BACKENDS wayland"]) echo |