diff options
author | Alon Levy <alevy@redhat.com> | 2012-06-07 14:30:34 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-06-27 16:57:05 +0300 |
commit | da908f89b581fd4725da997fdaea209f8e6548f6 (patch) | |
tree | 83d68c6610689517b4cead5a2eb331b9ad4dd634 /spice/enums.h | |
parent | 86eb1a334ebef63a43df9a267cfa42e4128966ae (diff) | |
download | spice-protocol-da908f89b581fd4725da997fdaea209f8e6548f6.tar.gz spice-protocol-da908f89b581fd4725da997fdaea209f8e6548f6.tar.xz spice-protocol-da908f89b581fd4725da997fdaea209f8e6548f6.zip |
support multiple monitors on a single display channel
Adds on device:
RAM
Header
monitors_config - pointer
QXLMonitorsConfig
count == n
max_allowed = N >= 0
QXLHead 1
...
QXLHead n
id, surface_id, x, y, width, height, flags
IO:
QXL_IO_MONITORS_CONFIG
server flushes command ring, then calls server callback for changing monitors config.
New revision to let the driver know about the new io:
QXL_REVISION_STABLE_V12=0x04,
Adds server/client capability:
SPICE_DISPLAY_CAP_MONITORS_CONFIG
Server message will be added in spice-server and spice-common.
Version is bumped to 0.12.0 to indicate new IO and structs
Diffstat (limited to 'spice/enums.h')
-rw-r--r-- | spice/enums.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spice/enums.h b/spice/enums.h index d3a2141..c4e38aa 100644 --- a/spice/enums.h +++ b/spice/enums.h @@ -430,6 +430,7 @@ enum { SPICE_MSG_DISPLAY_SURFACE_CREATE, SPICE_MSG_DISPLAY_SURFACE_DESTROY, SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, + SPICE_MSG_DISPLAY_MONITORS_CONFIG, SPICE_MSG_END_DISPLAY }; |