mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
ddx/ati: Add option "SwapbuffersWait" to control vsync of DRI2 swaps.
A new optional kms driver option "SwapbuffersWait" is defined for xorg.conf, which defaults to "on". If "on", DRI2 bufferswaps will be synchronized to vsync, otherwise not. This currently only affects copy-swaps, not pageflipped swaps. It also requires a swap_interval setting of zero by the OpenGL client. Ideally, we'd provide a way for dri2 to pass the current swap interval to the ddx so we could change this dynamically. Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
This commit is contained in:
committed by
Alex Deucher
parent
0de6807302
commit
122536ee0a
@@ -364,6 +364,17 @@ Color tiling will be automatically disabled in interlaced or doublescan screen m
|
||||
.br
|
||||
The default value is
|
||||
.B on.
|
||||
.TP
|
||||
.BI "Option \*qSwapbuffersWait\*q \*q" boolean \*q
|
||||
This option controls the behavior of glXSwapBuffers and glXCopySubBufferMESA
|
||||
calls by GL applications. If enabled, the calls will avoid tearing by making
|
||||
sure the display scanline is outside of the area to be copied before the copy
|
||||
occurs. If disabled, no scanline synchronization is performed, meaning tearing
|
||||
will likely occur. Note that when enabled, this option can adversely affect
|
||||
the framerate of applications that render frames at less than refresh rate.
|
||||
.IP
|
||||
The default value is
|
||||
.B on.
|
||||
.TP
|
||||
.BI "Option \*qIgnoreEDID\*q \*q" boolean \*q
|
||||
Do not use EDID data for mode validation. DDC is still used
|
||||
|
||||
Reference in New Issue
Block a user