<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland buffer synchronisation is undocumented"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97379">97379</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Wayland buffer synchronisation is undocumented
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>wayland
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tomek.bury@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Wayland silently assumes implicit cross-process fencing on shared buffers. This
assumption goes beyond EGL/GLES core spec and any Wayland extension but is not
specified anywhere.
It would be much easier for driver or compositor authors to have very clearly
spelled out requirements and guarantrees, especially around shared resources.
Current mechanism, as far as I understand it, looks rather weird: EGL is
responsible for handing a buffer over from client to compositor, but EGL is not
involved (and completely unaware) of handing buffer back to client.
As it's pretty much guaranteed that drivers and compositors will come from
completely unrelated parties and can be mixed and matched, implicit assumptions
in this area must lead to interoperability issues and a lot of confusion as to
what is valid or invalid behaviour.
Could you clearly document responsibilities and guarantees of both driver and
compositor in buffer management, including CPU-GPU synchronisation please?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>