[Libva] [PATCH] va/x11: Require synchronisation to vblank with DRI2SwapBuffers

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 24 07:48:07 PST 2015


On Thu, Dec 24, 2015 at 03:42:37PM +0000, Chris Wilson wrote:
> By passing divisor=0, we imply we do not care about synchronisation of
> this request to the vertical refresh - the spec says that if we miss the
> target frame, the swap will be presented as quickly as possible and may
> forgo waiting until the next vblank. By using divisor=1, we request that
> the swap be presented upon the vertical refresh immediately following
> recipe, enforcing the synchronisation to vblank and avoiding tearing.
  ^receipt
-Chris with his mind on other things.

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Libva mailing list