mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
cogl: Remove some left over KMS backend stuff
This commit is contained in:
parent
f30cef3046
commit
00a5523667
@ -87,11 +87,6 @@ EGLDisplay clutter_egl_display (void);
|
||||
CLUTTER_AVAILABLE_IN_1_6
|
||||
EGLDisplay clutter_egl_get_egl_display (void);
|
||||
|
||||
#ifdef COGL_HAS_EGL_PLATFORM_KMS_SUPPORT
|
||||
CLUTTER_AVAILABLE_IN_1_18
|
||||
void clutter_egl_set_kms_fd (int fd);
|
||||
#endif
|
||||
|
||||
CLUTTER_AVAILABLE_IN_1_20
|
||||
void clutter_egl_freeze_master_clock (void);
|
||||
CLUTTER_AVAILABLE_IN_1_20
|
||||
|
@ -415,12 +415,6 @@ cogl_is_texture_rectangle
|
||||
cogl_is_texture_2d
|
||||
cogl_is_texture_3d
|
||||
|
||||
#ifdef COGL_HAS_EGL_PLATFORM_KMS_SUPPORT
|
||||
cogl_kms_display_queue_modes_reset
|
||||
cogl_kms_display_set_layout
|
||||
cogl_kms_renderer_get_kms_fd
|
||||
#endif
|
||||
|
||||
cogl_material_alpha_func_get_type
|
||||
cogl_material_copy
|
||||
cogl_material_filter_get_type
|
||||
|
@ -632,39 +632,6 @@ AM_CONDITIONAL(SUPPORT_GLX, [test "x$SUPPORT_GLX" = "xyes"])
|
||||
|
||||
EGL_PLATFORM_COUNT=0
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[kms-egl-platform],
|
||||
[AC_HELP_STRING([--enable-kms-egl-platform=@<:@no/yes@:>@], [Enable support for the KMS egl platform @<:@default=no@:>@])],
|
||||
[],
|
||||
enable_kms_egl_platform=yes
|
||||
)
|
||||
AS_IF([test "x$enable_kms_egl_platform" = "xyes"],
|
||||
[
|
||||
EGL_PLATFORM_COUNT=$((EGL_PLATFORM_COUNT+1))
|
||||
NEED_EGL=yes
|
||||
EGL_PLATFORMS="$EGL_PLATFORMS kms"
|
||||
|
||||
PKG_CHECK_EXISTS([gbm],
|
||||
[
|
||||
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES gbm"
|
||||
COGL_PKG_REQUIRES="$COGL_PKG_REQUIRES libdrm"
|
||||
],
|
||||
[AC_MSG_ERROR([Unable to locate required libgbm library for the KMS egl platform])])
|
||||
|
||||
GBM_VERSION=`$PKG_CONFIG --modversion gbm`
|
||||
GBM_MAJOR=`echo $GBM_VERSION | cut -d'.' -f1`
|
||||
GBM_MINOR=`echo $GBM_VERSION | cut -d'.' -f2`
|
||||
GBM_MICRO=`echo $GBM_VERSION | cut -d'.' -f3 | sed 's/-.*//'`
|
||||
|
||||
AC_DEFINE_UNQUOTED([COGL_GBM_MAJOR], [$GBM_MAJOR], [The major version for libgbm])
|
||||
AC_DEFINE_UNQUOTED([COGL_GBM_MINOR], [$GBM_MINOR], [The minor version for libgbm])
|
||||
AC_DEFINE_UNQUOTED([COGL_GBM_MICRO], [$GBM_MICRO], [The micro version for libgbm])
|
||||
|
||||
COGL_DEFINES_SYMBOLS="$COGL_DEFINES_SYMBOLS COGL_HAS_EGL_PLATFORM_KMS_SUPPORT"
|
||||
])
|
||||
AM_CONDITIONAL(SUPPORT_EGL_PLATFORM_KMS,
|
||||
[test "x$enable_kms_egl_platform" = "xyes"])
|
||||
|
||||
AC_ARG_ENABLE(
|
||||
[wayland-egl-server],
|
||||
[AC_HELP_STRING([--enable-wayland-egl-server=@<:@no/yes@:>@], [Enable server side wayland support @<:@default=no@:>@])],
|
||||
|
Loading…
Reference in New Issue
Block a user