<br><br><div class="gmail_quote">On Mon, May 23, 2011 at 7:57 PM, Mark Kendall <span dir="ltr"><<a href="mailto:mark.kendall@gmail.com">mark.kendall@gmail.com</a>></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 <<a href="mailto:lists@graniteskies.net">lists@graniteskies.net</a>> wrote:<br>
> Howdy.<br>
><br>
> I've been trying to build Myth using GL ES support but keep running into the<br>
> same errors. I'm using mesa, libdrm and xf86-video-ati built from git.<br>
> This also happens on my master backend using the nVidia blob and the current<br>
> official releases of Mesa/libdrm. If I disable GL ES in the config, the<br>
> Myth builds fine. If I disable GL ES support in Mesa, and leave the<br>
> configure alone, it builds fine.<br>
><br>
> Is it supposed to be an either/or scenario or is Myth's GL ES support really<br>
> dependent on Mesa?<br>
<br>
</div>It'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>
> In file included from mythrender_opengl.cpp:13:0:<br>
> mythrender_opengl2es.h: In member function 'virtual void<br>
> MythRenderOpenGL2ES::InitProcs()':<br>
> mythrender_opengl2es.h:25:57: error: 'glCreateShader' was not declared in<br>
> this scope<br>
<br>
</div>This looks like gl2.h isn'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're compiling with ES support?<br></blockquote><div><br>Because it's there. :) I'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>