[Mesa-stable] [Mesa-dev] [PATCH 3/5] glx/dri3: Request non-vsynced Present for swapinterval zero. (v2)

Axel Davy axel.davy at ens.fr
Thu Dec 4 02:20:04 PST 2014


On 02/12/2014 20:53, Mario Kleiner wrote :
> Restores proper immediate tearing swap behaviour for
> OpenGL bufferswap under DRI3/Present.
>
>
>   
> +      if (priv->swap_interval == 0)
> +          options |= XCB_PRESENT_OPTION_ASYNC;
> +
>         back->busy = 1;

Currently under DRI3 glx, you'll get triple buffering behaviour.
I agree this should not be the default, and your patches fixes that.
Ideally a user option should be added to control triple buffering.

If you add a comment above these lines, saying something like:

It is possible to enable triple buffering behaviour by not using
XCB_PRESENT_OPTION_ASYNC, but this should not be the default.

You can add my
Reviewed-by: Axel Davy <axel.davy at ens.fr>

Axel Davy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-stable/attachments/20141204/7a83b323/attachment.html>


More information about the mesa-stable mailing list