aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-11-29 06:54:03 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-12-05 09:34:59 +0100
commit5d28b364bb50eadd1f223087f6214337d7ea09d2 (patch)
tree535d4377acd4d0a6882c7310ac929568217d4eb3
parent299999ba9bc14a7567307ff55c202012504dfedb (diff)
downloadvirtio-spec-5d28b364bb50eadd1f223087f6214337d7ea09d2.tar.gz
virtio-gpu: 3d commands -- shared [fixup]
-rw-r--r--virtio-gpu.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/virtio-gpu.tex b/virtio-gpu.tex
index 631aaf2..4c35d77 100644
--- a/virtio-gpu.tex
+++ b/virtio-gpu.tex
@@ -172,7 +172,8 @@ the shape use VIRTIO_GPU_CMD_MOVE_CURSOR instead.
\subsubsection{Device Operation: Shared resources}
In case VIRTIO_GPU_F_RESOURCE_SHARED is negotiated the driver can use
-the VIRTIO_GPU_CMD_RESOURCE_CREATE_2D_SHARED command to create shared
+the VIRTIO_GPU_CMD_RESOURCE_CREATE_2D_SHARED and
+VIRTIO_GPU_CMD_RESOURCE_CREATE_3D_SHARED commands to create shared
resources. Normal resources have both a guest buffer and host buffer
for the resource and the VIRTIO_GPU_CMD_TRANSFER_* commands are used
to transfer data between host and guest. Shared (guest allocated)
@@ -222,6 +223,7 @@ enum virtio_gpu_ctrl_type {
VIRTIO_GPU_CMD_TRANSFER_TO_HOST_3D,
VIRTIO_GPU_CMD_TRANSFER_FROM_HOST_3D,
VIRTIO_GPU_CMD_SUBMIT_3D,
+ VIRTIO_GPU_CMD_RESOURCE_CREATE_3D_SHARED,
/* cursor commands */
VIRTIO_GPU_CMD_UPDATE_CURSOR = 0x0300,
@@ -512,6 +514,7 @@ feature flag is set.
Manage OpenGL contexts.
\item[VIRTIO_GPU_CMD_RESOURCE_CREATE_3D]
+\item[VIRTIO_GPU_CMD_RESOURCE_CREATE_3D_SHARED]
Create OpenGL resources.
\item[VIRTIO_GPU_CMD_TRANSFER_TO_HOST_3D]