[PATCH 14/19] present: Add window flip mode

Keith Packard keithp at keithp.com
Wed Feb 7 04:04:27 UTC 2018

Roman Gilg <subdiff at gmail.com> writes:

> An unflip might happen at any time when the window is reconfigured and
> the check_flip_window function returns false. Then we need again a
> pixmap for the window to paint to.

Yup, no different than any existing resize operation today.

> This is indeed a problematic corner case. But do such clients really
> exist? A client using one of its child windows to flip pixmaps on,
> most likely with DRI, and then at some point deciding to paint to the
> current window pixmap of the same child window directly instead seems
> kind of odd.

The core flip code actually handles this by resetting all appropriate
windows to point at the scanout pixmap. I'd assume the window flip code
would do the same thing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180206/d8605ffb/attachment.sig>

More information about the xorg-devel mailing list