<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - EGL Wayland software rendering no longer work after regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91888#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - EGL Wayland software rendering no longer work after regression"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91888">bug 91888</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>(In reply to Giulio Camuffo from <a href="show_bug.cgi?id=91888#c5">comment #5</a>)
<span class="quote">> (In reply to Daniel Stone from <a href="show_bug.cgi?id=91888#c2">comment #2</a>)
> > I think that commit is a a red herring. 0x3098 is
> > EGL_CONTEXT_CLIENT_VERSION, and Mesa has recently gained more strictness:
> > if ((api != EGL_OPENGL_ES_API &&
> > (!dpy->Extensions.KHR_create_context || api !=
> > EGL_OPENGL_API))) {
> > err = EGL_BAD_ATTRIBUTE;
> > break;
> > }
> >
> > I suspect QWaylandGLContext is missing eglBindAPI(EGL_OPENGL_ES_API) before
> > context creation.
>
> Nope, it does call it:
> <a href="http://code.qt.io/cgit/qt/qtwayland.git/tree/src/hardwareintegration/client/">http://code.qt.io/cgit/qt/qtwayland.git/tree/src/hardwareintegration/client/</a>
> wayland-egl/qwaylandglcontext.cpp#n278
>
> I also noticed that i can reproduce this with LIBGL_ALWAYS_SOFTWARE=1, but
> not when running on i965.</span >
If you look at the code more closely you'll see that EGL_CONTEXT_CLIENT_VERSION
is set regardless of the API and presence of KHR_create_context. Both of which
rather important :)
With that said, I'll repeat my request - please flesh out a simple test app
(which does not depend on QT), before we jump on the pointing fingers train :-P</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>