On Wed, 14 Apr 2010 17:57:07 +0200 Mario Kleiner <mario.klei...@tuebingen.mpg.de> wrote:
> Hmm. The patch inits mesa's local cached copy of swap_interval to > zero. The DRI2CreateDrawable() function inside the xserver's xserver/ > hw/xfree86/dri2/dri2.c implementation inits its own copy of > swap_interval to 1, at least in the DRI2 patch series of Jesse and > mine that is supposed be pulled of the next x-server release. > > So until client code calls glXSetSwapIntervalMESA() or > glXSetSwapIntervalSGI() the first time, the returned value will not > match the true setting. > > Either we need to match the defaults, or propagate the mesa setting > to the server at drawable creation time, or query the server's > setting to init mesa's copy. Got distracted by other things last week, but the fix is pushed now to both 7.8 and master. commit 385e2896ebf54ac0b016132fe513f21a5b67ba4f Author: Jesse Barnes <jbar...@virtuousgeek.org> Date: Mon Apr 19 09:54:08 2010 -0700 DRI2: synchronize swap interval with server at startup time -- Jesse Barnes, Intel Open Source Technology Center ------------------------------------------------------------------------------ Download Intel® 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