[Xcb] [PATCH proto 1/5] glx: add non-default start-aligns for replies
Christian Linhart
chris at demorecorder.com
Sun Nov 1 09:26:30 PST 2015
Signed-off-by: Christian Linhart <chris at demorecorder.com>
---
src/glx.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/glx.xml b/src/glx.xml
index 2a36daa..f4437fb 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -661,14 +661,15 @@ <request name="GetBooleanv" opcode="112">
</reply>
</request>
<request name="GetClipPlane" opcode="113">
<field type="CONTEXT_TAG" name="context_tag" />
<field type="INT32" name="plane" />
<reply>
+ <required_start_align align="8" />
<pad bytes="1" />
<pad bytes="24" />
<list type="FLOAT64" name="data">
<op op="/">
<fieldref>length</fieldref>
<value>2</value>
</op>
@@ -676,14 +677,15 @@ <request name="GetClipPlane" opcode="113">
</reply>
</request>
<request name="GetDoublev" opcode="114">
<field type="CONTEXT_TAG" name="context_tag" />
<field type="CARD32" name="pname" />
<reply>
+ <required_start_align align="8" />
<pad bytes="1" />
<pad bytes="4" />
<field type="CARD32" name="n" />
<field type="FLOAT64" name="datum" />
<pad bytes="8" />
<list type="FLOAT64" name="data">
<fieldref>n</fieldref>
@@ -762,14 +764,15 @@ <request name="GetLightiv" opcode="119">
</request>
<request name="GetMapdv" opcode="120">
<field type="CONTEXT_TAG" name="context_tag" />
<field type="CARD32" name="target" />
<field type="CARD32" name="query" />
<reply>
+ <required_start_align align="8" />
<pad bytes="1" />
<pad bytes="4" />
<field type="CARD32" name="n" />
<field type="FLOAT64" name="datum" />
<pad bytes="8" />
<list type="FLOAT64" name="data">
<fieldref>n</fieldref>
@@ -949,14 +952,15 @@ <request name="GetTexEnviv" opcode="131">
</request>
<request name="GetTexGendv" opcode="132">
<field type="CONTEXT_TAG" name="context_tag" />
<field type="CARD32" name="coord" />
<field type="CARD32" name="pname" />
<reply>
+ <required_start_align align="8" />
<pad bytes="1" />
<pad bytes="4" />
<field type="CARD32" name="n" />
<field type="FLOAT64" name="datum" />
<pad bytes="8" />
<list type="FLOAT64" name="data">
<fieldref>n</fieldref>
--
2.1.4
More information about the Xcb
mailing list