<br><br><div class="gmail_quote">On Mon, May 23, 2011 at 7:57 PM, Mark Kendall <span dir="ltr">&lt;<a href="mailto:mark.kendall@gmail.com">mark.kendall@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 24 May 2011 06:53, Tom Flair &lt;<a href="mailto:lists@graniteskies.net">lists@graniteskies.net</a>&gt; wrote:<br>
&gt; Howdy.<br>
&gt;<br>
&gt; I&#39;ve been trying to build Myth using GL ES support but keep running into the<br>
&gt; same errors.  I&#39;m using mesa, libdrm and xf86-video-ati built from git.<br>
&gt; This also happens on my master backend using the nVidia blob and the current<br>
&gt; official releases of Mesa/libdrm.   If I disable GL ES in the config, the<br>
&gt; Myth builds fine.  If I disable GL ES support in Mesa, and leave the<br>
&gt; configure alone, it builds fine.<br>
&gt;<br>
&gt; Is it supposed to be an either/or scenario or is Myth&#39;s GL ES support really<br>
&gt; dependent on Mesa?<br>
<br>
</div>It&#39;s been a while since I worked on it, but a few things to bear in mind:-<br>
<br>
- OpenGL ES 1.x is not supported (and never will be)<br>
- configure detects OpenGL ES 2.0 support based upon the presence of GLES2/gl2.h<br>
- from memory, that header is provided by a mesa package (unless you<br>
manually add it and a few others)<br>
<br></blockquote><div><br>Alright.  I have the headers for 1.x and 2.0 in /usr/include/GLES and /usr/include/GLES2, as installed by mesa.<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

All of my testing was done either using the nvidia proprietary driver<br>
with the PVRVFrame emulation library or directly on an early<br>
Beagleboard.<br>
<div class="im"><br>
&gt; In file included from mythrender_opengl.cpp:13:0:<br>
&gt; mythrender_opengl2es.h: In member function &#39;virtual void<br>
&gt; MythRenderOpenGL2ES::InitProcs()&#39;:<br>
&gt; mythrender_opengl2es.h:25:57: error: &#39;glCreateShader&#39; was not declared in<br>
&gt; this scope<br>
<br>
</div>This looks like gl2.h isn&#39;t available.<br>
<br></blockquote><div><br>As mentioned above, the headers are there.  From /usr/include/GLES2/gl2.h<br>        /* OpenGL ES core versions */<br>        #define GL_ES_VERSION_2_0                 1<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Out of interest, any particular reason you&#39;re compiling with ES support?<br></blockquote><div><br>Because it&#39;s there.  :)   I&#39;m hoping to eek better OpenGL performance out of the open source ATI drivers.  This really only came up after I did my weekly build a while back after enabling GL ES in mesa.   Now, I just disable support in the configure script and continue to build. <br>
<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
regards<br>
<br>
Mark<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>