qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4] ui/cocoa: Take refresh rate into account


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v4] ui/cocoa: Take refresh rate into account
Date: Tue, 12 Jul 2022 23:10:58 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 2/7/22 16:25, Akihiko Odaki wrote:
Retreieve the refresh rate of the display and reflect it with
dpy_set_ui_info() and update_displaychangelistener(), allowing the
guest and DisplayChangeListener to consume the information.

The information will be used as a hint how often the display should
be updated. For example, when we run 30 Hz physical display updates
it is pointless for the guest to update the screen at 60Hz
frequency, the guest can spare some work instead.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
---
  meson.build |  3 ++-
  ui/cocoa.m  | 12 ++++++++++++
  2 files changed, 14 insertions(+), 1 deletion(-)

Thanks, patch queued.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]