diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-06-30 22:18:36 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-02 16:47:28 +0200 |
commit | 92c678220936c88b3f66b6687aa2d969736aa896 (patch) | |
tree | 6250f517f17c6a410048db92dc4337774685d9a5 /spice/qxl_dev.h | |
parent | a1262cc6118f8fe778d9f90ae59b228cc5be680f (diff) | |
download | spice-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.h | 8 |
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; |