Lines Matching refs:dmabuf
253 QemuDmaBuf *dmabuf; in vhost_user_gpu_handle_display() local
265 dmabuf = g->dmabuf[m->scanout_id]; in vhost_user_gpu_handle_display()
267 if (dmabuf) { in vhost_user_gpu_handle_display()
268 qemu_dmabuf_close(dmabuf); in vhost_user_gpu_handle_display()
269 dpy_gl_release_dmabuf(con, dmabuf); in vhost_user_gpu_handle_display()
270 g_clear_pointer(&dmabuf, qemu_dmabuf_free); in vhost_user_gpu_handle_display()
275 g->dmabuf[m->scanout_id] = NULL; in vhost_user_gpu_handle_display()
284 dmabuf = qemu_dmabuf_new(m->fd_width, m->fd_height, in vhost_user_gpu_handle_display()
290 dpy_gl_scanout_dmabuf(con, dmabuf); in vhost_user_gpu_handle_display()
291 g->dmabuf[m->scanout_id] = dmabuf; in vhost_user_gpu_handle_display()