diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-07-01 17:55:33 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:47 +0100 |
commit | e37ce72809d4bf114ff69bf600d943b43e510137 (patch) | |
tree | 00baacd4be29828fcbc03b17e594ea94ff7d3aa3 /common/canvas_base.h | |
parent | 4b6605fc4214de1ec31148f4a7d34ac110bc9504 (diff) | |
download | spice-common-e37ce72809d4bf114ff69bf600d943b43e510137.tar.gz spice-common-e37ce72809d4bf114ff69bf600d943b43e510137.tar.xz spice-common-e37ce72809d4bf114ff69bf600d943b43e510137.zip |
Properly parse QXLImage to the new-world SpiceImage
SpiceImage now replaces RedImage and has all image types in it.
All image data are now chunked (and as such not copied when demarshalling).
Diffstat (limited to 'common/canvas_base.h')
-rw-r--r-- | common/canvas_base.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/common/canvas_base.h b/common/canvas_base.h index 9dfbe85..36199a7 100644 --- a/common/canvas_base.h +++ b/common/canvas_base.h @@ -33,7 +33,6 @@ typedef struct _SpicePaletteCache SpicePaletteCache; typedef struct _SpiceGlzDecoder SpiceGlzDecoder; typedef struct _SpiceJpegDecoder SpiceJpegDecoder; typedef struct _SpiceZlibDecoder SpiceZlibDecoder; -typedef struct _SpiceVirtMapping SpiceVirtMapping; typedef struct _SpiceCanvas SpiceCanvas; typedef struct { @@ -121,16 +120,6 @@ struct _SpiceZlibDecoder { }; typedef struct { - void *(*get_virt)(SpiceVirtMapping *mapping, unsigned long addr, uint32_t add_size); - void (*validate_virt)(SpiceVirtMapping *mapping, unsigned long virt, - unsigned long from_addr, uint32_t add_size); -} SpiceVirtMappingOps; - -struct _SpiceVirtMapping { - SpiceVirtMappingOps *ops; -}; - -typedef struct { void (*draw_fill)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceFill *fill); void (*draw_copy)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceCopy *copy); void (*draw_opaque)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceOpaque *opaque); |