Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
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: Sat, 17 Sep 2016 22:30:36 +0200	[thread overview]
Message-ID: <7ef61cae-b591-5901-c124-81b4e4171d03@gmail.com> (raw)
In-Reply-To: <20160917191442.7ea32f90@free-electrons.com>

Hi Thomas,

Le 17/09/2016 ? 19:14, Thomas Petazzoni a ?crit :
> Hello,
> 
> On Wed,  7 Sep 2016 23:08:43 +0200, Romain Naour wrote:
> 
>> 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
> 
> Is it useful to have it as a separate option from BR2_PACKAGE_EFL_DRM ?

You mean enable evas gl-drm engine only when all dependencies are available
without using a separate option? Yes why not.

> In which case can BR2_PACKAGE_EFL_DRM without BR2_PACKAGE_EFL_GL_DRM be
> useful ?

I don't know. The evas gl-drm (opengl based DRM) engine can be enabled
separately from ecore drm for some reason, so I tried to reproduce this
possibility on the packaging.
Anyway my goal is the test EFL/E with Wayland and --enable-gl-drm and
--enable-drm are required together for this [1].

[1] https://phab.enlightenment.org/w/wayland/

> 
>> +	bool "Evas GL DRM Engine"
>> +	depends on BR2_PACKAGE_EFL_DRM
>> +	depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only
> 
> So perhaps "BR2_PAKCAGE_EFL_GLES_DRM" is a better name? "GL" usually
> refers to "full OpenGL", as opposed to OpenGL ES.

Ok, I'll fix this.

> 
>> +	help
>> +	  This option enable building support for the Evas DRM Engine.
> 
> This help text is wrong, as it is just a copy/paste of the one of
> BR2_PACKAGE_EFL_DRM.

Indeed, sorry...
The help text should precise that this support the Evas DRM based on OpenGL ES.

[2]
https://git.enlightenment.org/core/efl.git/commit/?id=f5b81093978fbbe411f9fb509617b6f4081f8da8

> 
>> +
>> +comment "Evas GL DRM Engine needs Evas DRM Engine, OpenGL ES w/ EGL"
>> +	depends on BR2_PACKAGE_EFL_DRM && !BR2_PACKAGE_EFL_OPENGLES
> 
> I find all those DRM/OpenGLES options in the efl package very
> confusing. Are all those options needed? What are the use cases for the
> different possible cases?

Well, the packaging is confusing because theses options are already confusing at
configure.ac level. Do we want a fine grained options choices for theses or a
"global" OpenGLES + DRM options?

Best regards,
Romain

> 
> Thanks,
> 
> Thomas
> 

  reply	other threads:[~2016-09-17 20:30 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 ` [Buildroot] [PATCH 4/4] package/efl: add Evas GL DRM Engine support Romain Naour
2016-09-17 17:14   ` Thomas Petazzoni
2016-09-17 20:30     ` Romain Naour [this message]
     [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=7ef61cae-b591-5901-c124-81b4e4171d03@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