Document BIG-REQUESTS

Upstream commit Document BIG-REQUESTS

Signed-off-by: Zile Yao <yaozile@xfusion.com>
This commit is contained in:
Zile Yao 2023-07-15 21:59:06 +08:00
parent 2f8b265a80
commit 482f2fc15a
2 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,38 @@
From bf228d330ed0be8bfb5d9055febabf81b785b8fa Mon Sep 17 00:00:00 2001
From: Demi Marie Obenour <demiobenour@gmail.com>
Date: Sun, 21 Aug 2022 10:26:47 -0400
Subject: [PATCH] Document BIG-REQUESTS
Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
src/bigreq.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/bigreq.xml b/src/bigreq.xml
index 3cca2f7..ddd1e21 100644
--- a/src/bigreq.xml
+++ b/src/bigreq.xml
@@ -33,6 +33,20 @@ authorization from the authors.
<reply>
<pad bytes="1" />
<field type="CARD32" name="maximum_request_length" />
+ <doc>
+ <field name="maximum_request_length">
+The maximum length of requests supported by the server, in 4-byte units.
+ </field>
+ </doc>
</reply>
+ <doc>
+ <brief>Enable the BIG-REQUESTS extension</brief>
+ <description>
+This enables the BIG-REQUESTS extension, which allows for requests larger than
+262140 bytes in length. When enabled, if the 16-bit length field is zero, it
+is immediately followed by a 32-bit length field specifying the length of the
+request in 4-byte units.
+ </description>
+ </doc>
</request>
</xcb>
--
2.36.0.windows.1

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: xcb-proto
Version: 1.15.2
Release: 2
Release: 3
Summary: XCB protocol descriptions
License: MIT
URL: https://gitlab.freedesktop.org/xorg/proto/xcbproto/
@ -14,6 +14,7 @@ Requires: pkgconfig
Patch0001: backport-0001-Document-the-MIT-SHM-extension.patch
Patch0002: Add-documentation-for-XFixes-v6.patch
Patch0003: Document-BIG-REQUESTS.patch
%description
The X protocol C-language Binding (XCB) is a replacement for
@ -39,6 +40,9 @@ to the protocol, improved threading support, and extensibility.
%{python3_sitelib}/xcbgen
%changelog
* Sat Jul 15 2023 yaozile <yaozile@xfusion.com> - 1.15.2-3
- Add-documentation-for-XFixes-v6.patch
* Fri Jul 7 2023 yaozile <yaozile@xfusion.com> - 1.15.2-2
- Add-documentation-for-XFixes-v6.patch