Hi,

> +    VHOST_USER_GPU_SCANOUT,
> +    VHOST_USER_GPU_UPDATE,
> +    VHOST_USER_GPU_DMABUF_SCANOUT,
> +    VHOST_USER_GPU_DMABUF_UPDATE,

Hmm, still two command versions.

I still think there should be no separate 2d code path.  Just
put the 2d display updates into a texture, or into a drm buffer,
then use VHOST_USER_GPU_DMABUF_* for both 2d and 3d updates (see
also ui/console-gl.c, which does basically the same).

cheers,
  Gerd


Reply via email to