<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 12:54 PM, Kalrish Bäakjen <span dir="ltr"><<a href="mailto:kalrish.antrax@gmail.com" target="_blank">kalrish.antrax@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 dir="ltr">Hello again,<div><br></div><div>I've catched the mouse. As my graphics card is on the r200 driver, which supports OpenGL 1.3 or 1.4, I used the LLVMpipe driver for my project, because it supported much modern versions. However, software EGL/libGL does not support the EGL_KHR_create_context extension, warning:</div>

<div><br></div><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">libEGL debug: bad context attribute 0x30fd <i>(EGL_CONTEXT_MINOR_VERSION, which had been set to 3 to get OpenGL 3.3)</i></blockquote>

<div><i><br></i></div><div>With the OpenGL module I have just written, if I omit the minor version flag to make EGL accept it, I am getting an OpenGL ES 3 context. AFAIK, LLVMpipe supports 3.3, but how can such a context be created?</div>
</div></blockquote><div><br></div><div>Make sure you are calling eglBindAPI(EGL_OPENGL_API) as opposed to eglBindAPI(EGL_OPENGL_ES_API).  There is no OpenGL ES 3.3.<br></div><div>--Jason<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><br></div><div>Thanks again,</div><div>Kalrish</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 9:26 PM, Kalrish Bäakjen <span dir="ltr"><<a href="mailto:kalrish.antrax@gmail.com" target="_blank">kalrish.antrax@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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>On Fri, Jun 27, 2014 at 9:15 PM, Jason Ekstrand <span dir="ltr"><<a href="mailto:jason@jlekstrand.net" target="_blank">jason@jlekstrand.net</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><p dir="ltr">The issue everyone talks about is that libGL also contains a GLX implementation so it links against Xlib.  This will create a link-time dependency on Xlib.  However, since your application will not be making any GLX calls, those code-paths will never get exercised and it will gave no runtime dependency on having an X server.  Really, this is a packaging problem far more than it is a programming problem.</p>


</div></blockquote></div><div>Oh... Sorry for the noise, then. I will look at it again, and reply with my results later.</div><div><br></div><div>I suspect I didn't load some function with eglGetProcAddress(). If, as mentioned in the slides, libGL exposes 1.4, it could well be the problem.</div>


</div></div></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br></div></div>