this DRI2_Flush extension is used by egl driver, but DRI2_Flush extension doesn&#39;t implement dri2_flush_drawable() function.<br><br><div class="gmail_quote">2011/8/16 Michel Dänzer <span dir="ltr">&lt;<a href="mailto:michel@daenzer.net">michel@daenzer.net</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Mon, 2011-08-15 at 19:32 +0800, Cooper Yuan wrote:<br>
&gt; Hi All, please review this changelist that&#39;s going to enable<br>
&gt; eglWaitClient() which has the same effect with glFinish according to<br>
&gt; specification.<br>
&gt; before, egl applications using pixmap or pbuffer flicker always<br>
&gt; because of no flush.<br>
&gt;<br>
&gt;<br>
&gt; Cooper<br>
&gt; ---<br>
&gt;  src/gallium/state_trackers/dri/drm/dri2.c |    4 ++++<br>
&gt;  1 files changed, 4 insertions(+), 0 deletions(-)<br>
&gt;<br>
&gt;<br>
&gt; diff --git a/src/gallium/state_trackers/dri/drm/dri2.c<br>
&gt; b/src/gallium/state_trackers/dri/drm/dri2.c<br>
&gt; index d491e46..908a735 100644<br>
&gt; --- a/src/gallium/state_trackers/dri/drm/dri2.c<br>
&gt; +++ b/src/gallium/state_trackers/dri/drm/dri2.c<br>
&gt; @@ -46,6 +46,10 @@<br>
&gt;  static void<br>
&gt;  dri2_flush_drawable(__DRIdrawable *draw)<br>
&gt;  {<br>
&gt; +   struct dri_drawable *drawable = dri_drawable(draw);<br>
&gt; +   struct dri_context *ctx = dri_get_current(draw-&gt;driScreenPriv);<br>
&gt; +<br>
&gt; +   ctx-&gt;st-&gt;flush(ctx-&gt;st, 0, NULL);<br>
&gt;  }<br>
<br>
</div></div>Shouldn&#39;t this rather be dealt with in EGL code?<br>
<font color="#888888"><br>
--<br>
Earthling Michel Dänzer           |                   <a href="http://www.amd.com" target="_blank">http://www.amd.com</a><br>
Libre software enthusiast         |          Debian, X and DRI developer<br>
</font></blockquote></div><br>