<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 2:12 PM, Burton, Ross <span dir="ltr"><<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 9 September 2013 13:08, Martin Jansa <<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>> wrote:<br>
>> +REQUIRED_DISTRO_FEATURES = "opengl"<br>
><br>
> Is this really needed? I was building mesa in distro without opengl for<br>
> long time and was considering (probably incorrectly) opengl DISTRO_FEATURE more<br>
> like sign of proper hw GL libraries.<br>
<br>
</div>I'd always understood the "opengl" DISTRO_FEATURE to mean "give me GL<br>
support". *What* that means depends on the target hardware, could be<br>
entirely software rendering through Mesa or binary HW drivers.</blockquote></div><br>how about gl vs gles?</div><div class="gmail_extra"><br></div><div class="gmail_extra">i have been trying to understand over the last couple of days whether or not 'opengl' in DISTRO_FEATURES means OpenGL and OpenGLES. I don't think it's clearly indicated anywhere.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">in libsdl recipe, we have this:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ </div>
<div class="gmail_extra"> ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ </div><div class="gmail_extra"><br></div><div class="gmail_extra">and in EXTRA_OECONF we add this:</div>
<div class="gmail_extra">${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \ </div>
<div><br></div><div class="gmail_extra">which tends to make me think that 'opengl' means 'OpenGL', not OpenGLES. I am building for ARM platforms with GLes support, but no GL support. I initially had 'opengl' in DISTRO_FEATURES, but we ended with mesa being pulled in because of libsdl, which was wrong. So we now removed 'opengl' from our DISTRO_FEATURES list. (note we have our own EGL/GLes library for GPU, so we don't want mesa at all).</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">In weston recipe, we have this:</div><div class="gmail_extra">${@base_contains('DISTRO_FEATURES', 'opengles2', 'gles', '', d)} <br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">so, that seems to imply that opengles2 is now a 'new' DISTRO_FEATURES, but it's only used once (looking at oe-core and meta-oe). </div><div class="gmail_extra">
<br></div><div class="gmail_extra">To me having 2 different flags for opengl and opengles in DISTRO_FEATURES does make sense... but i could be wrong..</div><div class="gmail_extra"><br></div><div class="gmail_extra">what do you think?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div><div class="gmail_extra"><br></div></div>