Bug 22123 - Disable SGI_swap_control extension for DRI2
Summary: Disable SGI_swap_control extension for DRI2
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: GLX (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-06 11:58 UTC by Owen Taylor
Modified: 2009-08-24 12:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch as described (1.27 KB, patch)
2009-06-06 12:00 UTC, Owen Taylor
Details | Splinter Review

Description Owen Taylor 2009-06-06 11:58:49 UTC
While there are plans to support VBlank sync in DRI2, for the
moment, for a direct context SGI_swap_control is reported, 
glXSwapIntervalSGI() appears to succeed, but does nothing.

Disabling reporting the extension allows apps to fall back to:

 A) SGI_video_sync which still basically works (it's just the
    old DRI1 method of blocking in the kernel until vblank)

 B) Time-based frame-rate limiting mechanisms
Comment 1 Owen Taylor 2009-06-06 12:00:06 UTC
Created attachment 26496 [details] [review]
Patch as described
Comment 2 Owen Taylor 2009-07-15 13:05:09 UTC
This patch is present in the master and mesa_7_5_branch branches
Comment 3 Adam Jackson 2009-08-24 12:32:20 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.