diff --git a/0001-Add-DOUBLE-BUFFER-extension-specification.patch b/0001-Add-DOUBLE-BUFFER-extension-specification.patch new file mode 100644 index 0000000000000000000000000000000000000000..2b7e7d075c9da3ffbb55f563328f865a71c38fdd --- /dev/null +++ b/0001-Add-DOUBLE-BUFFER-extension-specification.patch @@ -0,0 +1,184 @@ +From 748b0f0098b4b4754649c01fc81f02deb79e48ef Mon Sep 17 00:00:00 2001 +From: Mike Sharov +Date: Thu, 16 Jun 2022 15:29:55 +0000 +Subject: [PATCH] Add DOUBLE-BUFFER extension specification. + +--- + src/Makefile.am | 1 + + src/dbe.xml | 152 ++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 153 insertions(+) + create mode 100644 src/dbe.xml + +diff --git a/src/Makefile.am b/src/Makefile.am +index d81d818..aa10860 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -4,6 +4,7 @@ xcbinclude_HEADERS = \ + bigreq.xml \ + composite.xml \ + damage.xml \ ++ dbe.xml \ + dpms.xml \ + dri2.xml \ + dri3.xml \ +diff --git a/src/dbe.xml b/src/dbe.xml +new file mode 100644 +index 0000000..8e891f4 +--- /dev/null ++++ b/src/dbe.xml +@@ -0,0 +1,152 @@ ++ ++ ++ ++ ++ xproto ++ ++ ++ ++ ++ ++ 0 ++ 1 ++ 2 ++ 3 ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ n_infos ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Queries the version of this extension ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Allocates a back buffer ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Deallocates a back buffer ++ ++ ++ ++ ++ ++ ++ ++ ++ n_actions ++ ++ ++ Swaps front and back buffers ++ ++ ++ ++ ++ ++ ++ ++ ++ Begins a logical swap block ++ ++ ++ ++ ++ Ends a logical swap block ++ ++ ++ ++ ++ ++ n_drawables ++ ++ ++ ++ ++ ++ ++ n_supported_visuals ++ ++ ++ Requests visuals that support double buffering ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Gets back buffer attributes ++ ++ ++ ++ ++ ++ +-- +2.39.0.windows.2 + diff --git a/xcb-proto.spec b/xcb-proto.spec index a8986b19ed1c591810133feba1aa13a349d7abd8..3fd948d9f2ca98c72536e73481a444d43ba44eda 100644 --- a/xcb-proto.spec +++ b/xcb-proto.spec @@ -1,11 +1,12 @@ %define debug_package %{nil} Name: xcb-proto Version: 1.15 -Release: 2 +Release: 3 Summary: XCB protocol descriptions License: MIT URL: https://gitlab.freedesktop.org/xorg/proto/xcbproto/ Source0: https://xcb.freedesktop.org/dist/%{name}-%{version}.tar.gz +Patch01: 0001-Add-DOUBLE-BUFFER-extension-specification.patch BuildArch: noarch @@ -36,6 +37,9 @@ to the protocol, improved threading support, and extensibility. %{python3_sitelib}/xcbgen %changelog +* Tue Dec 26 2023 zhangliangpengkun - 1.15-3 +- Add DOUBLE-BUFFER extension specification. + * Fri Jan 6 2023 yangbo - 1.15-2 - Modify spec URL