diff options
author | Mun, Gwan-gyeong <kk.moon@samsung.com> | 2014-08-21 11:22:16 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2014-08-21 12:04:53 +0200 |
commit | f5b81093978fbbe411f9fb509617b6f4081f8da8 (patch) | |
tree | 7c6ad1c9bea56711ce23467bcd95c2b5168b3af1 /configure.ac | |
parent | 23892343cce3b561e98dd050821cad0bed1ce887 (diff) |
evas: add evas gl-drm engine
Summary: This is the first step to introduce a gl-drm backend.
Test Plan: "ecore evas" create with ecore_evas_gl_drm_new(). It creates "ecore evas" with gl_drm evas backend.
@feature
Reviewers: raster, Hermet, cedric, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1187
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index f85074daff..dbd24ccbc2 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1335,6 +1335,17 @@ AC_ARG_ENABLE([drm-hw-accel], | |||
1335 | [want_drm_hw_accel="no"]) | 1335 | [want_drm_hw_accel="no"]) |
1336 | 1336 | ||
1337 | 1337 | ||
1338 | AC_ARG_ENABLE([gl-drm], | ||
1339 | [AC_HELP_STRING([--enable-gl-drm], | ||
1340 | [enable gl drm engine. @<:@default=disabled@:>@])], | ||
1341 | [ | ||
1342 | if test "x${enableval}" = "xyes" ; then | ||
1343 | want_gl_drm="yes" | ||
1344 | else | ||
1345 | want_gl_drm="no" | ||
1346 | fi | ||
1347 | ], | ||
1348 | [want_gl_drm="no"]) | ||
1338 | # Fontconfig | 1349 | # Fontconfig |
1339 | AC_ARG_ENABLE([fontconfig], | 1350 | AC_ARG_ENABLE([fontconfig], |
1340 | [AS_HELP_STRING([--disable-fontconfig],[disable fontconfig for finding fonts. @<:@default=enabled@:>@])], | 1351 | [AS_HELP_STRING([--disable-fontconfig],[disable fontconfig for finding fonts. @<:@default=enabled@:>@])], |
@@ -1622,6 +1633,7 @@ EVAS_CHECK_ENGINE([software-ddraw], [${want_evas_engine_software_ddraw}], [no], | |||
1622 | EVAS_CHECK_ENGINE([wayland-egl], [${want_evas_engine_wayland_egl}], [no], [Wayland Egl]) | 1633 | EVAS_CHECK_ENGINE([wayland-egl], [${want_evas_engine_wayland_egl}], [no], [Wayland Egl]) |
1623 | EVAS_CHECK_ENGINE([wayland-shm], [${want_wayland}], [no], [Wayland Shm]) | 1634 | EVAS_CHECK_ENGINE([wayland-shm], [${want_wayland}], [no], [Wayland Shm]) |
1624 | EVAS_CHECK_ENGINE([drm], [${want_drm}], [no], [Drm]) | 1635 | EVAS_CHECK_ENGINE([drm], [${want_drm}], [no], [Drm]) |
1636 | EVAS_CHECK_ENGINE([gl-drm], [${want_gl_drm}], [no], [OpenGL Drm]) | ||
1625 | 1637 | ||
1626 | 1638 | ||
1627 | # Software XCB | 1639 | # Software XCB |
@@ -1755,6 +1767,7 @@ if test "x$have_evas_engine_gl_xlib" = "xyes" || \ | |||
1755 | test "x$have_evas_engine_gl_xcb" = "xyes" || \ | 1767 | test "x$have_evas_engine_gl_xcb" = "xyes" || \ |
1756 | test "x$have_evas_engine_gl_sdl" = "xyes" || \ | 1768 | test "x$have_evas_engine_gl_sdl" = "xyes" || \ |
1757 | test "x$have_evas_engine_gl_cocoa" = "xyes" || \ | 1769 | test "x$have_evas_engine_gl_cocoa" = "xyes" || \ |
1770 | test "x$have_evas_engine_gl_drm" = "xyes" || \ | ||
1758 | test "x$have_evas_engine_wayland_egl" = "xyes"; then | 1771 | test "x$have_evas_engine_wayland_egl" = "xyes"; then |
1759 | have_evas_engine_gl_common="yes" | 1772 | have_evas_engine_gl_common="yes" |
1760 | fi | 1773 | fi |
@@ -1762,6 +1775,7 @@ if test "x$have_evas_engine_gl_xlib" = "xstatic" || \ | |||
1762 | test "x$have_evas_engine_gl_xcb" = "xstatic" || \ | 1775 | test "x$have_evas_engine_gl_xcb" = "xstatic" || \ |
1763 | test "x$have_evas_engine_gl_sdl" = "xstatic" || \ | 1776 | test "x$have_evas_engine_gl_sdl" = "xstatic" || \ |
1764 | test "x$have_evas_engine_gl_cocoa" = "xstatic" || \ | 1777 | test "x$have_evas_engine_gl_cocoa" = "xstatic" || \ |
1778 | test "x$have_evas_engine_gl_drm" = "xstatic" || \ | ||
1765 | test "x$have_evas_engine_wayland_egl" = "xstatic"; then | 1779 | test "x$have_evas_engine_wayland_egl" = "xstatic"; then |
1766 | have_evas_engine_gl_common="yes" | 1780 | have_evas_engine_gl_common="yes" |
1767 | have_static_evas_engine_gl_common="yes" | 1781 | have_static_evas_engine_gl_common="yes" |
@@ -2813,7 +2827,7 @@ EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [ecore-input]) | |||
2813 | EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eo]) | 2827 | EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eo]) |
2814 | EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eina]) | 2828 | EFL_INTERNAL_DEPEND_PKG([ECORE_DRM], [eina]) |
2815 | 2829 | ||
2816 | EFL_DEPEND_PKG([ECORE_DRM], [DRM], [libudev >= 148 libdrm >= 2.4 xkbcommon >= 0.3.0 libsystemd-login >= 192 dbus-1]) | 2830 | EFL_DEPEND_PKG([ECORE_DRM], [DRM], [libudev >= 148 libdrm >= 2.4 xkbcommon >= 0.3.0 libsystemd-login >= 192 dbus-1 gbm]) |
2817 | 2831 | ||
2818 | EFL_EVAL_PKGS([ECORE_DRM]) | 2832 | EFL_EVAL_PKGS([ECORE_DRM]) |
2819 | 2833 | ||
@@ -3623,8 +3637,9 @@ ECORE_EVAS_MODULE([extn], [${want_ecore_evas_extn}]) | |||
3623 | ECORE_EVAS_MODULE([ews], [yes]) | 3637 | ECORE_EVAS_MODULE([ews], [yes]) |
3624 | ECORE_EVAS_MODULE([fb], [${want_fb}]) | 3638 | ECORE_EVAS_MODULE([fb], [${want_fb}]) |
3625 | ECORE_EVAS_MODULE([drm], [${want_drm}], | 3639 | ECORE_EVAS_MODULE([drm], [${want_drm}], |
3626 | [EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_drm}], [ecore-drm])] | 3640 | [EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_drm}], [ecore-drm],[gbm])]) |
3627 | ) | 3641 | ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}], |
3642 | [EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_drm}], [ecore-drm],[gbm])]) | ||
3628 | ECORE_EVAS_MODULE([psl1ght], [${have_ps3}]) | 3643 | ECORE_EVAS_MODULE([psl1ght], [${have_ps3}]) |
3629 | 3644 | ||
3630 | ECORE_EVAS_MODULE([opengl-cocoa], [${want_ecore_evas_gl_cocoa}]) | 3645 | ECORE_EVAS_MODULE([opengl-cocoa], [${want_ecore_evas_gl_cocoa}]) |
@@ -3731,6 +3746,8 @@ if test "x$have_ecore_evas_software_x11" = "xyes" || \ | |||
3731 | fi | 3746 | fi |
3732 | AM_CONDITIONAL([BUILD_ECORE_EVAS_X11], [test "${build_ecore_evas_x11}" = "yes"]) | 3747 | AM_CONDITIONAL([BUILD_ECORE_EVAS_X11], [test "${build_ecore_evas_x11}" = "yes"]) |
3733 | 3748 | ||
3749 | AC_DEFINE([BUILD_ECORE_EVAS_OPENGL_DRM], [1], [Build support for DRM based OpenGL]) | ||
3750 | |||
3734 | EFL_EVAL_PKGS([ECORE_EVAS]) | 3751 | EFL_EVAL_PKGS([ECORE_EVAS]) |
3735 | 3752 | ||
3736 | ### Checks for header files | 3753 | ### Checks for header files |