[Bug 106302] [radeonsi] Garbage content when accessing a texture in multiple shared EGL contexts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 22 11:59:02 UTC 2019


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

--- Comment #1 from Pierre-Eric Pelloux-Prayer <pierre-eric at damsy.net> ---
I can reproduce but I don't think it's a bug in Mesa: your createTexture()
function doesn't use any synchronization mechanisms so you can't expect the
other thread/context to pick up the changes mades to the texture.

Adding a call to glFlush or glFinish at the end of createTexture() is enough in
this case to fix the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190522/dd4cb745/attachment.html>


More information about the dri-devel mailing list