[Spice-devel] [PATCH] RFC: add QXLListCmd for batched commands
Alon Levy
alevy at redhat.com
Thu Jan 24 05:26:38 PST 2013
---
spice/qxl_dev.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index a3e91a5..c2fda3a 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -351,6 +351,12 @@ typedef struct SPICE_ATTR_PACKED QXLCursorCmd {
uint8_t device_data[QXL_CURSUR_DEVICE_DATA_SIZE]; //todo: dynamic size from rom
} QXLCursorCmd;
+typedef struct SPICE_ATTR_PACKED QXLListCmd {
+ QXLReleaseInfo release_info;
+ uint16_t count;
+ QXLPHYSICAL commands[0];
+} QXLListCmd;
+
enum {
QXL_DRAW_NOP,
QXL_DRAW_FILL,
--
1.8.0.1
More information about the Spice-devel
mailing list