mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
console/win32: allocate shareable display surface
Introduce qemu_win32_map_alloc() and qemu_win32_map_free() to allocate shared memory mapping. The handle can be used to share the mapping with another process. Teach qemu_create_displaysurface() to allocate shared memory. Following patches will introduce other places for shared memory allocation. Other patches for -display dbus will share the memory when possible with the client, to avoid expensive memory copy between the processes. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20230606115658.677673-10-marcandre.lureau@redhat.com>
This commit is contained in:
parent
439e0164cd
commit
09b4c198b8
7 changed files with 102 additions and 8 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "ui/console.h"
|
||||
#include "standard-headers/drm/drm_fourcc.h"
|
||||
#include "trace.h"
|
||||
|
||||
PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t format)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue