[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] ui/cocoa: Take refresh rate into account
From: |
Peter Maydell |
Subject: |
Re: [PATCH v4] ui/cocoa: Take refresh rate into account |
Date: |
Mon, 4 Jul 2022 14:43:44 +0100 |
On Sat, 2 Jul 2022 at 15:25, Akihiko Odaki <akihiko.odaki@gmail.com> 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>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM