From 1d125178d5d373b0f7205b171f0c067055f3cb1b Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Tue, 26 Dec 2023 22:05:17 +0800 Subject: [PATCH] Add DOUBLE-BUFFER extension specification. Signed-off-by: zhang-liang-pengkun (cherry picked from commit 62cd99d4f863c4d1dc9aa9ecdc25fbf94b03467a) --- ...OUBLE-BUFFER-extension-specification.patch | 184 ++++++++++++++++++ xcb-proto.spec | 6 +- 2 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 0001-Add-DOUBLE-BUFFER-extension-specification.patch diff --git a/0001-Add-DOUBLE-BUFFER-extension-specification.patch b/0001-Add-DOUBLE-BUFFER-extension-specification.patch new file mode 100644 index 0000000..2b7e7d0 --- /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 a8986b1..3fd948d 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 -- Gitee