diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2017-09-18 01:27:49 -0400 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2018-02-28 17:14:45 +0000 |
commit | 554c09fff2c2c1af4f1d806f4779685bdb3cd90b (patch) | |
tree | 32c5aa8d4dc2fb09b53e8814c9efb19e3d5b043a | |
parent | 4bc3f832afb99ab6ecffeb67206453fe14ceb636 (diff) | |
download | xcb-proto-554c09fff2c2c1af4f1d806f4779685bdb3cd90b.tar.gz |
present: Add PresentModeSuboptimalCopy flag
This flag (returned with PresentCompleteNotify event) indicates
that the window could have been flipped instead of copied if
the buffer format/modifier was different. Clients must indicate
that they support the flag by adding option PresentOptionSuboptimal
when calling PresentPixmap.
v2: Add PresentOptionSuboptimal
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
-rw-r--r-- | src/present.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/present.xml b/src/present.xml index a648ad7..fb06e73 100644 --- a/src/present.xml +++ b/src/present.xml @@ -23,7 +23,7 @@ OF THIS SOFTWARE. --> <xcb header="present" extension-xname="Present" extension-name="Present" - major-version="1" minor-version="0"> + major-version="1" minor-version="2"> <import>xproto</import> <import>randr</import> <import>xfixes</import> @@ -51,6 +51,7 @@ OF THIS SOFTWARE. <item name="Async"><bit>0</bit></item> <item name="Copy"><bit>1</bit></item> <item name="UST"><bit>2</bit></item> + <item name="Suboptimal"><bit>3</bit></item> </enum> <enum name="Capability"> @@ -69,6 +70,7 @@ OF THIS SOFTWARE. <item name="Copy"><value>0</value></item> <item name="Flip"><value>1</value></item> <item name="Skip"><value>2</value></item> + <item name="SuboptimalCopy"><value>3</value></item> </enum> <struct name="Notify"> |