aeffd071ed
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> |
||
---|---|---|
.. | ||
clipboard.h | ||
console.h | ||
dbus-display.h | ||
dbus-module.h | ||
egl-context.h | ||
egl-helpers.h | ||
gtk.h | ||
input.h | ||
kbd-state.h | ||
pixel_ops.h | ||
qemu-pixman.h | ||
qemu-spice-module.h | ||
qemu-spice.h | ||
sdl2.h | ||
shader.h | ||
spice-display.h | ||
win32-kbd-hook.h |