projects
/
spiceterm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3112e0
)
set SPICE_IMAGE_FLAGS_CACHE_ME flag
author
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 8 Oct 2013 06:57:18 +0000
(08:57 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Tue, 8 Oct 2013 06:57:18 +0000
(08:57 +0200)
This is required in order to cache images.
screen.c
patch
|
blob
|
blame
|
history
diff --git
a/screen.c
b/screen.c
index ff36f18d98ef35ffd4449c48b7c8060ad5184312..76775fd66e849fd172e4f1ab3d5a1464d190ffd1 100644
(file)
--- a/
screen.c
+++ b/
screen.c
@@
-165,6
+165,7
@@
spice_screen_update_from_bitmap_cmd(uint32_t surface_id, QXLRect bbox, uint8_t *
if (cache_id) {
QXL_SET_IMAGE_ID(image, QXL_IMAGE_GROUP_DEVICE, cache_id);
+ image->descriptor.flags = SPICE_IMAGE_FLAGS_CACHE_ME;
} else {
QXL_SET_IMAGE_ID(image, QXL_IMAGE_GROUP_DEVICE, ++unique);
}