From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] package/efl: add Evas GL DRM Engine support
Date: Wed, 7 Sep 2016 23:08:43 +0200 [thread overview]
Message-ID: <1473282523-12796-4-git-send-email-romain.naour@gmail.com> (raw)
In-Reply-To: <1473282523-12796-1-git-send-email-romain.naour@gmail.com>
This support is required for Enlightenment wayland support [1].
As stated in configure, Evas GL DRM Engine needs OpenGL ES with EGL and
wayland (wayland-client >= 1.8.0)
[1] https://www.enlightenment.org/about-wayland
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/efl/Config.in | 10 ++++++++++
package/efl/efl.mk | 6 ++++++
2 files changed, 16 insertions(+)
diff --git a/package/efl/Config.in b/package/efl/Config.in
index 6171b29..c6c26d8 100644
--- a/package/efl/Config.in
+++ b/package/efl/Config.in
@@ -208,6 +208,16 @@ comment "Evas DRM Engine needs mesa3d w/ EGL support, threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL
depends on BR2_PACKAGE_EFL_ELPUT
+config BR2_PACKAGE_EFL_GL_DRM
+ bool "Evas GL DRM Engine"
+ depends on BR2_PACKAGE_EFL_DRM
+ depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only
+ help
+ This option enable building support for the Evas DRM Engine.
+
+comment "Evas GL DRM Engine needs Evas DRM Engine, OpenGL ES w/ EGL"
+ depends on BR2_PACKAGE_EFL_DRM && !BR2_PACKAGE_EFL_OPENGLES
+
comment "libevas loaders"
config BR2_PACKAGE_EFL_PNG
diff --git a/package/efl/efl.mk b/package/efl/efl.mk
index 413cf58..e7d6f52 100644
--- a/package/efl/efl.mk
+++ b/package/efl/efl.mk
@@ -205,6 +205,12 @@ EFL_CONF_OPTS += --enable-drm
EFL_DEPENDENCIES += libdrm libegl mesa3d
endif
+ifeq ($(BR2_PACKAGE_EFL_GL_DRM),y)
+EFL_CONF_OPTS += --enable-gl-drm
+else
+EFL_CONF_OPTS += --disable-gl-drm
+endif
+
EFL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBXKBCOMMON),libxkbcommon)
# Loaders that need external dependencies needs to be --enable-XXX=yes
--
2.5.5
next prev parent reply other threads:[~2016-09-07 21:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-07 21:08 [Buildroot] [PATCH 1/4] package/efl: add OpenGL/OpenGLES support Romain Naour
2016-09-07 21:08 ` [Buildroot] [PATCH 2/4] package/efl: enable elput support Romain Naour
2016-09-17 17:01 ` Thomas Petazzoni
2016-09-07 21:08 ` [Buildroot] [PATCH 3/4] package/efl: enable libdrm support Romain Naour
2016-09-17 17:11 ` Thomas Petazzoni
2016-09-17 19:44 ` Romain Naour
2016-09-07 21:08 ` Romain Naour [this message]
2016-09-17 17:14 ` [Buildroot] [PATCH 4/4] package/efl: add Evas GL DRM Engine support Thomas Petazzoni
2016-09-17 20:30 ` Romain Naour
[not found] ` <0ffc3f79-6c30-3b06-3dcd-f0d0d447d248@gmail.com>
2016-11-20 18:58 ` pierre
2016-09-17 16:59 ` [Buildroot] [PATCH 1/4] package/efl: add OpenGL/OpenGLES support Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473282523-12796-4-git-send-email-romain.naour@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox