Use qemu_memfd_alloc() to allocate the display surface memory, which
will fallback on tmpfile/mmap() on systems without memfd, and allow to
share the display with other processes.
This is similar to how display memory is allocated on win32 since commit
|
||
|---|---|---|
| .. | ||
| clipboard.h | ||
| console.h | ||
| dbus-display.h | ||
| dbus-module.h | ||
| dmabuf.h | ||
| egl-context.h | ||
| egl-helpers.h | ||
| gtk.h | ||
| input.h | ||
| kbd-state.h | ||
| pixel_ops.h | ||
| pixman-minimal.h | ||
| qemu-pixman.h | ||
| qemu-spice-module.h | ||
| qemu-spice.h | ||
| rect.h | ||
| sdl2.h | ||
| shader.h | ||
| spice-display.h | ||
| surface.h | ||
| win32-kbd-hook.h | ||