Skip to content
Snippets Groups Projects
Commit 68fd1670 authored by Marc-André Lureau's avatar Marc-André Lureau
Browse files

vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN


This simply means that 2d drawing updates won't be handled, but 3d
should work.

Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent d7e94796
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,7 @@ vhost_user_gpu_handle_display(VhostUserGPU *g, VhostUserGpuMsg *msg)
dpy_gl_update(con, m->x, m->y, m->width, m->height);
break;
}
#ifdef CONFIG_PIXMAN
case VHOST_USER_GPU_UPDATE: {
VhostUserGpuUpdate *m = &msg->payload.update;
......@@ -334,6 +335,7 @@ vhost_user_gpu_handle_display(VhostUserGPU *g, VhostUserGpuMsg *msg)
}
break;
}
#endif
default:
g_warning("unhandled message %d %d", msg->request, msg->size);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment