From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 18/36] package/efl/libefl: add sdl2 support
Date: Sun, 25 Oct 2015 16:20:20 +0100 [thread overview]
Message-ID: <20151025152020.GP11692@free.fr> (raw)
In-Reply-To: <1445720476-21517-19-git-send-email-romain.naour@openwide.fr>
Romain, All,
On 2015-10-24 23:00 +0200, Romain Naour spake thusly:
> SDL support can't be used with OpenGLES.
>
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> ---
> v5: new patch added since sdl2 package is new available
> ---
> package/efl/libefl/Config.in | 7 +++++++
> package/efl/libefl/libefl.mk | 11 +++++++++++
> 2 files changed, 18 insertions(+)
>
> diff --git a/package/efl/libefl/Config.in b/package/efl/libefl/Config.in
> index a3b6f0e..44860a2 100644
> --- a/package/efl/libefl/Config.in
> +++ b/package/efl/libefl/Config.in
> @@ -42,6 +42,12 @@ comment "libecore video support"
> config BR2_PACKAGE_LIBEFL_FB
> bool "libecore framebuffer support"
>
> +config BR2_PACKAGE_LIBEFL_SDL2
> + bool "libevas SDL2 support"
FB and X11 refere to libecore, but SDL2 refer to libevas. Is that an
oversight, or is that correct?
However, I would simply drop it, to have just:
FB support
SDL2 support
X11 support
> + # SDL support is not available with OpenGLES.
> + depends on !BR2_PACKAGE_LIBEFL_X_XLIB_GLX_ES
> + select BR2_PACKAGE_SDL2
> +
> config BR2_PACKAGE_LIBEFL_X
> bool "libecore X support"
> depends on BR2_PACKAGE_XORG7
> @@ -89,6 +95,7 @@ choice
> config BR2_PACKAGE_LIBEFL_X_XLIB_GLX_FULL
> bool "libevas OpenGL full support"
> depends on BR2_PACKAGE_HAS_LIBGL
> + select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_LIBEFL_SDL2 # evas depends on libglu header in evas_engine.c
I have troubles understanding this set of options.
So, with the current code, one may select SDL2 and not X11. Is that a
viable situation?
If so, then OpenGL support will never be available, since OpenGL depends
on X11 being enabled. Is that OK? Don't you need to unhide the OpenGL
choice for SDL2 too?
Did I miss something?
> comment "libevas OpenGLES support needs libgl"
> depends on !BR2_PACKAGE_HAS_LIBGL
> diff --git a/package/efl/libefl/libefl.mk b/package/efl/libefl/libefl.mk
> index c26c9c5..8ddca64 100644
> --- a/package/efl/libefl/libefl.mk
> +++ b/package/efl/libefl/libefl.mk
> @@ -180,6 +180,17 @@ else
> LIBEFL_CONF_OPTS += --enable-fb=no
> endif
>
> +ifeq ($(BR2_PACKAGE_LIBEFL_SDL2),y)
> +LIBEFL_CONF_OPTS += --enable-sdl=yes
> +LIBEFL_DEPENDENCIES += sdl2
> +else
> +LIBEFL_CONF_OPTS += --enable-sdl=no
> +endif
> +
> +ifeq ($(BR2_PACKAGE_EFL_X_XLIB_GLX_FULL)$(BR2_PACKAGE_EFL_SDL2),yy)
> +EFL_DEPENDENCIES += libglu
> +endif
Hmm.. It seems that SDL2 can be over X11, right?
So, how does SDL2 compare to FB and X11? Is it at the same "level" (i.e.
a rendering backend talking to the hardwware), or is it layered on-top
of X11?
Regards,
Yann E. MORIN.
> # --enable-xinput22 is recommended
> ifeq ($(BR2_PACKAGE_LIBEFL_X),y)
> LIBEFL_CONF_OPTS += --with-x=$(STAGING_DIR) \
> --
> 2.4.3
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-10-25 15:20 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-24 21:00 [Buildroot] [PATCH v5 00/36] efl bump to 1.15.2 Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 01/36] package/expedite: move to package directory Romain Naour
2015-10-25 12:33 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 02/36] package/libevas-generic-loaders: " Romain Naour
2015-10-25 12:56 ` Yann E. MORIN
2015-10-25 19:21 ` Romain Naour
2015-10-25 21:04 ` Yann E. MORIN
2015-10-25 21:41 ` Romain Naour
2015-10-25 21:50 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 03/36] package/efl/libefl: new host-package Romain Naour
2015-10-25 13:10 ` Yann E. MORIN
2015-10-25 19:24 ` Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 04/36] package/efl/libefl: new package Romain Naour
2015-10-25 13:55 ` Yann E. MORIN
2015-10-26 21:53 ` Romain Naour
2015-10-27 19:16 ` Arnout Vandecappelle
2015-10-24 21:00 ` [Buildroot] [PATCH v5 05/36] package/efl/libefl: regenerate the configure script Romain Naour
2015-10-25 14:00 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 06/36] package/efl/libefl: add harfbuzz dependency Romain Naour
2015-10-25 14:22 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 07/36] package/efl/libefl: add wayland dependency Romain Naour
2015-10-25 14:25 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 08/36] package/efl/libefl: add libcurl dependency Romain Naour
2015-10-25 14:37 ` Yann E. MORIN
2015-10-28 21:39 ` Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 09/36] package/efl/libefl: add libblkid dependency Romain Naour
2015-10-25 14:40 ` Yann E. MORIN
2015-10-28 22:03 ` Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 10/36] package/efl/libefl: add webp dependency Romain Naour
2015-10-25 14:41 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 11/36] package/efl/libefl: add frame buffer config option Romain Naour
2015-10-25 12:31 ` Yann E. MORIN
2015-10-25 12:33 ` Yann E. MORIN
2015-10-25 14:43 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 12/36] package/efl/libefl: fix framebuffer support Romain Naour
2015-10-25 14:45 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 13/36] package/efl/libefl: add jp2k config option Romain Naour
2015-10-25 14:48 ` Yann E. MORIN
2015-10-26 22:04 ` Romain Naour
2015-10-25 14:48 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 14/36] package/efl/libefl: add X11 support Romain Naour
2015-10-25 15:01 ` Yann E. MORIN
2015-10-29 20:49 ` Romain Naour
2015-10-29 21:01 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 15/36] package/efl/libefl: add OpenGL/OpenGLES support Romain Naour
2015-10-25 15:08 ` Yann E. MORIN
2015-10-29 21:02 ` Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 16/36] package/efl/libefl: enable xinput2.2 Romain Naour
2015-10-25 15:11 ` Yann E. MORIN
2015-10-24 21:00 ` [Buildroot] [PATCH v5 17/36] package/efl/libefl: add systemd dependency Romain Naour
2015-10-25 15:13 ` Yann E. MORIN
2015-10-29 21:38 ` Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 18/36] package/efl/libefl: add sdl2 support Romain Naour
2015-10-25 15:20 ` Yann E. MORIN [this message]
2015-10-29 21:17 ` Romain Naour
2015-10-24 21:00 ` [Buildroot] [PATCH v5 19/36] package/libevas-generic-loaders: bump to version 1.15.0 Romain Naour
2015-10-25 16:01 ` Yann E. MORIN
2015-10-25 21:08 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 20/36] package/libevas-generic-loaders: add libraw dependency Romain Naour
2015-10-25 16:03 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 21/36] package/efl/libelementary: bump to version 1.15.2 Romain Naour
2015-10-25 16:09 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 22/36] package/efl/libelementary: add host package Romain Naour
2015-10-25 16:11 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 23/36] package/efl: libefl and libelementary share the same version number Romain Naour
2015-10-25 16:13 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 24/36] package/enlightenment: bump to version 0.19.12 Romain Naour
2015-10-25 16:28 ` Yann E. MORIN
2015-10-31 14:10 ` Romain Naour
2015-10-24 21:01 ` [Buildroot] [PATCH v5 25/36] package/expedite: bump to efl-1.15 branch Romain Naour
2015-10-25 16:36 ` Yann E. MORIN
2015-10-31 14:19 ` Romain Naour
2015-10-24 21:01 ` [Buildroot] [PATCH v5 26/36] package/efl/libethumb: remove package Romain Naour
2015-10-25 16:38 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 27/36] package/efl/libedje: " Romain Naour
2015-10-25 16:41 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 28/36] package/efl/libembryo: " Romain Naour
2015-10-25 16:43 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 29/36] package/efl/libeio: " Romain Naour
2015-10-25 16:44 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 30/36] package/efl/libefreet: " Romain Naour
2015-10-25 16:45 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 31/36] package/efl/libedbus: " Romain Naour
2015-10-25 16:46 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 32/36] package/efl/libecore: " Romain Naour
2015-10-25 16:50 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 33/36] package/efl/libevas: " Romain Naour
2015-10-25 16:52 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 34/36] package/efl/libeet: " Romain Naour
2015-10-25 16:52 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 35/36] package/efl/libeina: " Romain Naour
2015-10-25 16:56 ` Yann E. MORIN
2015-10-24 21:01 ` [Buildroot] [PATCH v5 36/36] package/libemotion-generic-players: new package Romain Naour
2015-10-25 17:04 ` Yann E. MORIN
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=20151025152020.GP11692@free.fr \
--to=yann.morin.1998@free.fr \
--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