diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-03-07 18:21:13 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-03-12 17:57:58 +0400 |
commit | fa88b85dea96ebad8d4380a3dee2a9e6e40c218c (patch) | |
tree | a1b78026d872c66ec937eacb359d3a7928b788ec /ui/trace-events | |
parent | 7945576cf298efb90a03b3e74912e3fe5952db56 (diff) | |
download | qemu-fa88b85dea96ebad8d4380a3dee2a9e6e40c218c.zip qemu-fa88b85dea96ebad8d4380a3dee2a9e6e40c218c.tar.gz qemu-fa88b85dea96ebad8d4380a3dee2a9e6e40c218c.tar.bz2 |
ui/dbus: filter out pending messages when scanout
The "Listener" connection, being private and under the control of the
qemu display, allows for the optimization of discarding pending
intermediary messages when queuing a new scanout. This ensures that the
client receives only the latest scanout update, improving communication
efficiency.
While the current implementation does not provide a mechanism for
clients who may wish to receive all updates, making this behavior
optional could be considered in the future. For now, adopting this new
default behavior accelerates the communication process without a
guarantee of delivering all updates.
The filter is removed when the connection is dropped.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'ui/trace-events')
-rw-r--r-- | ui/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/trace-events b/ui/trace-events index 16c35c9..e6a2894 100644 --- a/ui/trace-events +++ b/ui/trace-events @@ -161,6 +161,7 @@ dbus_clipboard_register(const char *bus_name) "peer %s" dbus_clipboard_unregister(const char *bus_name) "peer %s" dbus_scanout_texture(uint32_t tex_id, bool backing_y_0_top, uint32_t backing_width, uint32_t backing_height, uint32_t x, uint32_t y, uint32_t w, uint32_t h) "tex_id:%u y0top:%d back:%ux%u %u+%u-%ux%u" dbus_gl_gfx_switch(void *p) "surf: %p" +dbus_filter(unsigned int serial, unsigned int filter) "serial=%u (<= %u)" # egl-helpers.c egl_init_d3d11_device(void *p) "d3d device: %p" |