<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/12/2014 20:53, Mario Kleiner
wrote :<br>
</div>
<blockquote
cite="mid:1417550011-10128-4-git-send-email-mario.kleiner.de@gmail.com"
type="cite">
<pre wrap="">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;
</pre>
</blockquote>
<br>
Currently under DRI3 glx, you'll get triple buffering behaviour.<br>
I agree this should not be the default, and your patches fixes that.<br>
Ideally a user option should be added to control triple buffering.<br>
<br>
If you add a comment above these lines, saying something like:<br>
<br>
It is possible to enable triple buffering behaviour by not using<br>
XCB_PRESENT_OPTION_ASYNC, but this should not be the default.<br>
<br>
You can add my <br>
Reviewed-by: Axel Davy <a class="moz-txt-link-rfc2396E" href="mailto:axel.davy@ens.fr"><axel.davy@ens.fr></a><br>
<br>
Axel Davy<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</body>
</html>