<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - GLX_OML_swap_method not fully supported"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97516">bug 97516</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>t_arceri@yahoo.com.au
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GLX_OML_swap_method not fully supported"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97516#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GLX_OML_swap_method not fully supported"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97516">bug 97516</a>
from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
<pre>GLX_SWAP_COPY_OML should be working Thomas Hellstrom added support for it
towards the end of 2017. Partial support was also added for
GLX_SWAP_EXCHANGE_OML below is a direct copy of Thomas's reply when I asked him
what remained to properly expose GLX_SWAP_EXCHANGE_OML [1].
"You need to get the X server AIGLX to advertize it, because the
available features are the intersection of the X server AIGLX features
and the dri driver features, even if this is purely implemented in the
dri client. The reason GLX works this way is that after you've choosen
your config you can either choose to select a direct or indirect
context. That was a poor design.
Now the problem is that AIGLX isn't able to support it, because it uses
the dri driver dri2 path rather than the dri3 path, and I never got to
modifying AIGLX to use the dri3 path. Didn't think it was worth the
extra work.
In any case, you can hack-enable GLX_SWAP_EXCHANGE_OML if the client is
using dri3 by adding __DRI_ATTRIB_SWAP_EXCHANGE to back_buffer_modes[]
in src/gallium/state_trackers/dri/dri_screen.c, recompile and make sure
the X server also picks up the recompiled driver. That is if you have a
gallium driver. This worked fine with vmwgfx at the time I pushed the
patch as tested by the corresponding piglit test.
For the other dri drivers there should be a similar way to set the
back_buffer_modes[]."
[1] <a href="https://lists.freedesktop.org/archives/mesa-dev/2018-September/204407.html">https://lists.freedesktop.org/archives/mesa-dev/2018-September/204407.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>