[PATCH 6/6] glamor: Use Present to delay Xv painting to vblank interval

Michel Dänzer michel at daenzer.net
Thu Aug 7 00:27:41 PDT 2014


On 07.08.2014 14:21, Keith Packard wrote:
> For un-redirected windows, this uses present_vblank_window_queue to
> start painting the screen during vblank and reduce tearing on the
> screen

The keyword being 'reduce'. This won't reliably prevent tearing in
general, so I'm not sure I see the point of jumping through all those hoops.

If glamor Xv used (something like) present_pixmap(), that would reliably
prevent tearing at least in the fullscreen case, wouldn't it?

If you don't want any tearing ever, use a Wayland compositor? :)


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the xorg-devel mailing list