<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - glxSwapBuffers has no effect"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105132#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - glxSwapBuffers has no effect"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105132">bug 105132</a>
from <span class="vcard"><a class="email" href="mailto:julien.isorce@gmail.com" title="Julien Isorce <julien.isorce@gmail.com>"> <span class="fn">Julien Isorce</span></a>
</span></b>
<pre>(In reply to Scott D Phillips from <a href="show_bug.cgi?id=105132#c1">comment #1</a>)
<span class="quote">> maybe change the dri2 code to use xcb-dri2.</span >
Hi Scott, were you thinking to make
<a href="https://cgit.freedesktop.org/mesa/mesa/tree/src/glx/dri2_glx.c">https://cgit.freedesktop.org/mesa/mesa/tree/src/glx/dri2_glx.c</a> use more
xcb_dri2_* calls ?
Currently it uses a mix, for example it calls "DRI2Connect" but also calls
"xcb_dri2_swap_buffers"
The remaining DRI2 calls are:
DRI2Connect
DRI2Authenticate
DRI2CreateDrawable
DRI2DestroyDrawable
DRI2CopyRegion
DRI2GetBuffersWithFormat
DRI2QueryExtension
DRI2QueryVersion
Looks like
<a href="https://cgit.freedesktop.org/mesa/mesa/tree/src/egl/drivers/dri2/platform_x11.c#n612">https://cgit.freedesktop.org/mesa/mesa/tree/src/egl/drivers/dri2/platform_x11.c#n612</a>
is a good example for this conversion. Also some refactoring can be done to
share the code between mesa/src/glx/dri2_glx.c and
mesa/src/egl/drivers/dri2/platform_x11.c
But why it will solve the fact that currently
mesa/src/glx/dri2.c::DRI2WireToEvent::dri2InvalidateBuffers is not called when
the app owns the event queue ?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>