[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:05:40 UTC 2018


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

--- Comment #10 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Mike Gorchak from comment #9)
> 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 :)

Thanks, I'll send this one to the list.

> 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);

Yes that is a separate issue, please file another bug about that one.

-- 
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/4057156b/attachment.html>


More information about the mesa-dev mailing list