[Mesa-dev] [PATCH] Releasing a surfaceless EGL context doesn't release underlying DRI context.
Daniel Stone
daniel at fooishbar.org
Fri Oct 24 03:19:40 PDT 2014
On 24 October 2014 11:18, Daniel Stone <daniel at fooishbar.org> wrote:
> Yep, that looks good to me; seems like you've found the only possible case
> that would trigger this breakage. Calling DestroyContext will always unbind
> if it's current in that thread (see the end _mesa_free_context_data); it's
> only when you follow that exact pattern of:
> - create surfaceless context
> - make ctx current
> - make something else current
> - {another thread} destroy ctx
> - make ctx current again
>
Obviously the last line should read 'make another context current'.
Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141024/7a89ba97/attachment.html>
More information about the mesa-dev
mailing list