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

          Priority: medium
            Bug ID: 68380
          Assignee: [email protected]
           Summary: flink race on wayland
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to