[Mesa-dev] [Bug 106337] eglWaitClient() doesn't work as documented using DRI2 backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 3 13:03:38 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106337

--- Comment #9 from Mike Gorchak <mgorchak at qnx.com> ---
Just checked generic path - all works fine, here is very minor fix to the
provided fix:

+      _eglLog(_EGL_WARNING, "DRI2: failed to find glFlush entry point");

should be changed glFlush to glFinish :)

Am I understand right that this fix is not supposed to fix FBOs + surfaceless
context issue? It happens that in case of surfaceless context
dri2_wait_client() is not called at all and aborted at _eglWaitClientCommon()
function with following check:

   /* let bad current context imply bad current surface */
   if (_eglGetContextHandle(ctx) == EGL_NO_CONTEXT ||
       _eglGetSurfaceHandle(ctx->DrawSurface) == EGL_NO_SURFACE)
      RETURN_EGL_ERROR(disp, EGL_BAD_CURRENT_SURFACE, EGL_FALSE);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180503/949f12cf/attachment.html>


More information about the mesa-dev mailing list