diff options
author | Alon Levy <alevy@redhat.com> | 2012-05-15 13:36:36 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-05-15 18:01:54 +0300 |
commit | 05f4276cc128c500cd88df13e44b4bff7d5d0937 (patch) | |
tree | 07967ffc18f0d30bc315a8ae761971a59c901bd0 /server/red_parse_qxl.h | |
parent | cc1fd8eae7a126d9320c4432eb6ebc54b1ffc201 (diff) | |
download | spice-05f4276cc128c500cd88df13e44b4bff7d5d0937.tar.gz spice-05f4276cc128c500cd88df13e44b4bff7d5d0937.tar.xz spice-05f4276cc128c500cd88df13e44b4bff7d5d0937.zip |
server: move self_bitmap_image to RedDrawable
Simplify keeping count of self_bitmap_image by putting it in
RedDrawable. It is allocated on reading from the command pipe and
deallocated when the last reference to the RedDrawable is dropped,
instead of keeping track of it in GlzDrawable and Drawable.
Diffstat (limited to 'server/red_parse_qxl.h')
-rw-r--r-- | server/red_parse_qxl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_parse_qxl.h b/server/red_parse_qxl.h index d01d363e..70f85093 100644 --- a/server/red_parse_qxl.h +++ b/server/red_parse_qxl.h @@ -31,6 +31,7 @@ typedef struct RedDrawable { uint8_t type; uint8_t self_bitmap; SpiceRect self_bitmap_area; + SpiceImage *self_bitmap_image; SpiceRect bbox; SpiceClip clip; uint32_t mm_time; |