summaryrefslogtreecommitdiffstats
path: root/spice/qxl_dev.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-06-30 22:18:36 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-02 16:47:28 +0200
commit92c678220936c88b3f66b6687aa2d969736aa896 (patch)
tree6250f517f17c6a410048db92dc4337774685d9a5 /spice/qxl_dev.h
parenta1262cc6118f8fe778d9f90ae59b228cc5be680f (diff)
downloadspice-protocol-92c678220936c88b3f66b6687aa2d969736aa896.tar.gz
spice-protocol-92c678220936c88b3f66b6687aa2d969736aa896.tar.xz
spice-protocol-92c678220936c88b3f66b6687aa2d969736aa896.zip
Update SpiceString to use an array of pointers for glyphs
Diffstat (limited to 'spice/qxl_dev.h')
-rw-r--r--spice/qxl_dev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 47f0ce7..353f2bb 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -305,6 +305,14 @@ enum {
QXL_DRAW_ALPHA_BLEND,
};
+typedef struct SPICE_ATTR_PACKED QXLRasterGlyph {
+ QXLPoint render_pos;
+ QXLPoint glyph_origin;
+ uint16_t width;
+ uint16_t height;
+ uint8_t data[0];
+} QXLRasterGlyph;
+
typedef struct SPICE_ATTR_PACKED QXLString {
uint32_t data_size;
uint16_t length;