qemu/stubs/virtio-gpu-udmabuf.c
<<
>>
Prefs
   1#include "qemu/osdep.h"
   2#include "hw/virtio/virtio-gpu.h"
   3
   4bool virtio_gpu_have_udmabuf(void)
   5{
   6    /* nothing (stub) */
   7    return false;
   8}
   9
  10void virtio_gpu_init_udmabuf(struct virtio_gpu_simple_resource *res)
  11{
  12    /* nothing (stub) */
  13}
  14
  15void virtio_gpu_fini_udmabuf(struct virtio_gpu_simple_resource *res)
  16{
  17    /* nothing (stub) */
  18}
  19
  20int virtio_gpu_update_dmabuf(VirtIOGPU *g,
  21                             uint32_t scanout_id,
  22                             struct virtio_gpu_simple_resource *res,
  23                             struct virtio_gpu_framebuffer *fb)
  24{
  25    /* nothing (stub) */
  26    return 0;
  27}
  28