From: Michel D. <mi...@da...> - 2010-04-06 15:22:19
|
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 <ol...@lu...> > 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 |