https://bugs.freedesktop.org/show_bug.cgi?id=27628
--- Comment #4 from Jesse Barnes <[email protected]> 2010-04-19 09:57:49 PDT --- On Wed, 14 Apr 2010 17:57:07 +0200 Mario Kleiner <[email protected]> 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 <[email protected]> Date: Mon Apr 19 09:54:08 2010 -0700 DRI2: synchronize swap interval with server at startup time -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
