[Mesa-dev] [Bug 68380] New: flink race on wayland
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 21 04:38:39 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=68380
Priority: medium
Bug ID: 68380
Assignee: mesa-dev at lists.freedesktop.org
Summary: flink race on wayland
Severity: normal
Classification: Unclassified
OS: All
Reporter: sheffmail at mail.ru
Hardware: Other
Status: NEW
Version: git
Component: EGL
Product: Mesa
1. We render stuff using OpenGL
2. eglSwapBuffers - This will call wl_surface_attach, i.e. send the buffer to
server
3. Window resize happens
4. Mesa code does GEM close on all buffers
5. Server receives the buffer and tries to open it by name, but by that moment
the buffer is no more and open fails
Workaround:
1. Do not always close GEM on window resize, close it only if buffer is not
locked
2. In platform_wayland.c:wl_buffer_release if buffer's dimensions don't match
widow's dimensions then the buffer and the GEM must be destroyed
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130821/bf453a30/attachment.html>
More information about the mesa-dev
mailing list