diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-10-07 19:37:54 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-10-07 19:37:54 -0700 |
commit | 4e5e08b3251fe9174ae94e01ce3b682b0ffa9967 (patch) | |
tree | d0bab41b77d8090199be6d8b419a04d5494a540a | |
parent | b8071b0fa537a759be69892508ea8b9427b2adb1 (diff) | |
download | xcb-proto-4e5e08b3251fe9174ae94e01ce3b682b0ffa9967.tar.gz |
Make CompositeGlyphs* usable.
render.xml no longer describes the CompositeGlyphs* requests as taking
lists of complicated unions of structures of lists: it says instead that
they take a LISTofBYTE. The caller is responsible for constructing an
appropriate sequence of glyph elements. Previously, the requests could
not actually be used because XCB did not correctly compute the length of
the provided data.
-rw-r--r-- | src/extensions/render.xml | 65 |
1 files changed, 3 insertions, 62 deletions
diff --git a/src/extensions/render.xml b/src/extensions/render.xml index a59f7e7..7dbf926 100644 --- a/src/extensions/render.xml +++ b/src/extensions/render.xml @@ -373,31 +373,6 @@ for licensing information. <list type="GLYPH" name="glyphs" /> </request> - <struct name="GLYPHSETELT"> - <field type="CARD8" name="len" /> - <pad bytes="3" /> - <field type="INT16" name="deltax" /> - <field type="INT16" name="deltay" /> - <field type="GLYPHSET" name="glyphset" /> - </struct> - - <!-- CompositeGlyphs8 --> - - <struct name="GLYPHELT8"> - <field type="CARD8" name="len" /> - <pad bytes="3" /> - <field type="INT16" name="deltax" /> - <field type="INT16" name="deltay" /> - <list type="CARD8" name="glyphs"> - <fieldref>len</fieldref> - </list> - </struct> - - <union name="GLYPHITEM8"> - <field type="GLYPHELT8" name="glyphelt" /> - <field type="GLYPHSETELT" name="glyphset" /> - </union> - <request name="CompositeGlyphs8" opcode="23"> <field type="CARD8" name="op" /> <pad bytes="3" /> @@ -407,26 +382,9 @@ for licensing information. <field type="GLYPHSET" name="glyphset" /> <field type="INT16" name="src_x" /> <field type="INT16" name="src_y" /> - <list type="GLYPHITEM8" name="glyphcmds" /> + <list type="BYTE" name="glyphcmds" /> </request> - <!-- CompositeGlyphs16 --> - - <struct name="GLYPHELT16"> - <field type="CARD8" name="len" /> - <pad bytes="3" /> - <field type="INT16" name="deltax" /> - <field type="INT16" name="deltay" /> - <list type="CARD16" name="glyphs"> - <fieldref>len</fieldref> - </list> - </struct> - - <union name="GLYPHITEM16"> - <field type="GLYPHELT16" name="glyphelt" /> - <field type="GLYPHSETELT" name="glyphset" /> - </union> - <request name="CompositeGlyphs16" opcode="24"> <field type="CARD8" name="op" /> <pad bytes="3" /> @@ -436,26 +394,9 @@ for licensing information. <field type="GLYPHSET" name="glyphset" /> <field type="INT16" name="src_x" /> <field type="INT16" name="src_y" /> - <list type="GLYPHITEM16" name="glyphcmds" /> + <list type="BYTE" name="glyphcmds" /> </request> - <!-- CompositeGlyphs32 --> - - <struct name="GLYPHELT32"> - <field type="CARD8" name="len" /> - <pad bytes="3" /> - <field type="INT16" name="deltax" /> - <field type="INT16" name="deltay" /> - <list type="CARD32" name="glyphs"> - <fieldref>len</fieldref> - </list> - </struct> - - <union name="GLYPHITEM32"> - <field type="GLYPHELT32" name="glyphelt" /> - <field type="GLYPHSETELT" name="glyphset" /> - </union> - <request name="CompositeGlyphs32" opcode="25"> <field type="CARD8" name="op" /> <pad bytes="3" /> @@ -465,7 +406,7 @@ for licensing information. <field type="GLYPHSET" name="glyphset" /> <field type="INT16" name="src_x" /> <field type="INT16" name="src_y" /> - <list type="GLYPHITEM32" name="glyphcmds" /> + <list type="BYTE" name="glyphcmds" /> </request> <!-- new in version 0.1 --> |