[RFC presentproto v6 02/14] Add PresentCompleteModeSuboptimalCopy flag for Complete event

Keith Packard keithp at keithp.com
Wed Feb 21 23:56:41 UTC 2018

Louis-Francis Ratté-Boulianne <lfrb at collabora.com> writes:

> If the Complete event has this mode, the client is not using
> the more optimal format/modifier for the buffer allocation. The
> client must explicitely inform the server that it understands
> this mode by adding the PresentOptionSuboptimal flag when calling
> PresentPixmap.
> Its main usage as of now is to allow clients to re-fetch DRI3
> format modifiers as some modifiers might allow direct scanout.
> v2: Add PresentOptionSuboptimal
> Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>

Looks good to me.

Reviewed-by: Keith Packard <keithp at keithp.com>

Note that this patch should be applied to the xorgproto repo, not the
(now deprecated) presentproto repo.

-------------- 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/20180221/60d0f073/attachment-0001.sig>

More information about the xorg-devel mailing list