diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-05-18 17:01:29 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-08-24 13:37:51 -0400 |
commit | c0b048ebef41b3a79d42e96c0ecaef65e1bb7599 (patch) | |
tree | eb634cbf7d8a07379490c36a795c6522bea58095 /common/canvas_base.h | |
parent | 0c1b6de4ad1b3e9d6da50979bb259f0acdc2fd2f (diff) | |
download | spice-common-c0b048ebef41b3a79d42e96c0ecaef65e1bb7599.tar.gz spice-common-c0b048ebef41b3a79d42e96c0ecaef65e1bb7599.tar.xz spice-common-c0b048ebef41b3a79d42e96c0ecaef65e1bb7599.zip |
Add support for A8 images to the LZ routines
This format is needed to add Render support to the X driver, so we
need the ability to compress and decompress it.
Diffstat (limited to 'common/canvas_base.h')
-rw-r--r-- | common/canvas_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/canvas_base.h b/common/canvas_base.h index bdf12a1..637cdc1 100644 --- a/common/canvas_base.h +++ b/common/canvas_base.h @@ -133,6 +133,7 @@ typedef struct { void (*draw_text)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceText *text); void (*draw_stroke)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceStroke *stroke); void (*draw_rop3)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceRop3 *rop3); + void (*draw_composite)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceComposite *composite); void (*draw_blend)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlend *blend); void (*draw_blackness)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceBlackness *blackness); void (*draw_whiteness)(SpiceCanvas *canvas, SpiceRect *bbox, SpiceClip *clip, SpiceWhiteness *whiteness); @@ -306,7 +307,7 @@ typedef struct { void (*copy_region)(SpiceCanvas *canvas, pixman_region32_t *dest_region, int dx, int dy); - pixman_image_t *(*get_image)(SpiceCanvas *canvas); + pixman_image_t *(*get_image)(SpiceCanvas *canvas, int force_opaque); } SpiceCanvasOps; void spice_canvas_set_usr_data(SpiceCanvas *canvas, void *data, spice_destroy_fn_t destroy_fn); |