From: Marc-André Lureau Date: Tue, 6 Jun 2023 11:56:48 +0000 (+0400) Subject: ui/dbus: use shared memory when possible on win32 X-Git-Tag: pull-xen-20230801~64^2~10 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=48dddba1763b2134e81ae6765b19184fd907f142;p=people%2Faperard%2Fqemu-dm.git ui/dbus: use shared memory when possible on win32 When the display surface has an associated HANDLE, we can duplicate it to the client process and let it map the memory to avoid expensive copies. Introduce two new win32-specific methods ScanoutMap and UpdateMap. The first is used to inform the listener about the a shared map availability, and the second for display updates. Signed-off-by: Marc-André Lureau Message-Id: <20230606115658.677673-12-marcandre.lureau@redhat.com> --- diff --git a/ui/dbus-display1.xml b/ui/dbus-display1.xml index 06e8779c04..7233286b28 100644 --- a/ui/dbus-display1.xml +++ b/ui/dbus-display1.xml @@ -370,9 +370,7 @@ - - - + + + + + + + + + + + + + + + + + + + + +