<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">&lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt;</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 &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt; wrote:<br>


&gt;&gt; +REQUIRED_DISTRO_FEATURES = &quot;opengl&quot;<br>
&gt;<br>
&gt; Is this really needed? I was building mesa in distro without opengl for<br>
&gt; long time and was considering (probably incorrectly) opengl DISTRO_FEATURE more<br>
&gt; like sign of proper hw GL libraries.<br>
<br>
</div>I&#39;d always understood the &quot;opengl&quot; DISTRO_FEATURE to mean &quot;give me GL<br>
support&quot;.  *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 &#39;opengl&#39; in DISTRO_FEATURES means OpenGL and OpenGLES. I don&#39;t think it&#39;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 = &quot;${@base_contains(&#39;DISTRO_FEATURES&#39;, &#39;directfb&#39;, &#39;directfb&#39;, &#39;&#39;, d)} \                                                                                                </div>

<div class="gmail_extra">           ${@base_contains(&#39;DISTRO_FEATURES&#39;, &#39;opengl&#39;, &#39;virtual/libgl&#39;, &#39;&#39;, 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(&#39;DISTRO_FEATURES&#39;, &#39;opengl&#39;, &#39;--enable-video-opengl&#39;, &#39;--disable-video-opengl&#39;, d)} \                                                          </div>

<div><br></div><div class="gmail_extra">which tends to make me think that &#39;opengl&#39; means &#39;OpenGL&#39;, not OpenGLES. I am building for ARM platforms with GLes support, but no GL support. I initially had &#39;opengl&#39; in DISTRO_FEATURES, but we ended with mesa being pulled in because of libsdl, which was wrong. So we now removed &#39;opengl&#39; from our DISTRO_FEATURES list. (note we have our own EGL/GLes library for GPU, so we don&#39;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(&#39;DISTRO_FEATURES&#39;, &#39;opengles2&#39;, &#39;gles&#39;, &#39;&#39;, d)} <br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra">so, that seems to imply that opengles2 is now a &#39;new&#39; DISTRO_FEATURES, but it&#39;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>