qemu/include/ui
Akihiko Odaki aeffd071ed ui: Deliver refresh rate via QemuUIInfo
This change adds a new member, refresh_rate to QemuUIInfo in
include/ui/console.h. It represents the refresh rate of the
physical display backend, and it is more appropriate than
GUI update interval as the refresh rate which the emulated device
reports:
- sdl may set GUI update interval shorter than the refresh rate
  of the physical display to respond to user-generated events.
- sdl and vnc aggressively changes GUI update interval, but
  a guests is typically not designed to respond to frequent
  refresh rate changes, or frequent "display mode" changes in
  general. The frequency of refresh rate changes of the physical
  display backend matches better to the guest's expectation.

QemuUIInfo also has other members representing "display mode",
which makes it suitable for refresh rate representation. It has
a throttling of update notifications, and prevents frequent changes
of the display mode.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220226115516.59830-3-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2022-06-14 10:34:37 +02:00
..
clipboard.h ui/clipboard: add a clipboard reset serial event 2021-12-21 10:50:21 +04:00
console.h ui: Deliver refresh rate via QemuUIInfo 2022-06-14 10:34:37 +02:00
dbus-display.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
dbus-module.h Clean up ill-advised or unusual header guards 2022-05-11 16:50:01 +02:00
egl-context.h ui: split the GL context in a different object 2021-12-21 10:50:21 +04:00
egl-helpers.h ui: Create sync objects and fences only for blobs 2021-09-15 08:41:59 +02:00
gtk.h ui: Deliver refresh rate via QemuUIInfo 2022-06-14 10:34:37 +02:00
input.h
kbd-state.h
pixel_ops.h
qemu-pixman.h Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
qemu-spice-module.h
qemu-spice.h spice: Update QXLInterface for spice >= 0.15.0 2022-01-18 16:42:41 +00:00
sdl2.h ui: avoid warnings about directdb on Alpine / musl libc 2022-01-18 16:42:41 +00:00
shader.h
spice-display.h ui: move qemu_spice_fill_device_address to ui/util.c 2021-12-21 10:50:21 +04:00
win32-kbd-hook.h