[PATCH 0/3] present: Improve interactions with compositing manager

Keith Packard keithp at keithp.com
Sat Dec 13 00:32:28 PST 2014


Here's a short patch series which reduces lag when using PresentPixmap
with a compositing manager. I wrote up a short description on my blog:

	http://keithp.com/blogs/present-compositor/

The basic idea is to perform the CopyArea immediately upon receipt of
the PresentPixmap request, but to delay the PresentComplete event
until the actual vblank occurs, allowing the compositing manager a
chance to actually get the contents onto the screen at the desired
time.

There are two patches which restructure the code a bit without
changing the semantics at all, then a final patch which adds the new
functionality:

 [PATCH 1/3] present: Store current present mode in vblank instead of
 [PATCH 2/3] present: Create helper functions for the copy and idle
 [PATCH 3/3] present: When composited, get the bits into the window

-keith


More information about the xorg-devel mailing list