On Tue, 2010-04-06 at 04:56 -0700, Chia-I Wu wrote: 
> Module: Mesa
> Branch: master
> Commit: d18d0fdcd8daa0d9979b72978795f0305d2db7c8
> URL:    
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=d18d0fdcd8daa0d9979b72978795f0305d2db7c8
> 
> Author: Chia-I Wu <o...@lunarg.com>
> Date:   Tue Apr  6 19:52:39 2010 +0800
> 
> egl_dri2: Flush before context switch and swap buffers.
> 
> DRI does not define any callback to flush the current context.  GLX
> loader simply calls glFlush.  Follow the GLX loader here.

Beware that the GLX loader doesn't follow the GLX spec for SwapBuffers
(3.3.10):

        *If* dpy and draw are the display and drawable for the calling
        thread’s current context, glXSwapBuffers performs an implicit
        glFlush.

(emphasis mine)


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to