Mode setting from application

Kristian Høgsberg krh at bitplanet.net
Mon Apr 11 09:55:38 PDT 2011


On Mon, Apr 11, 2011 at 10:50 AM, Magnus Wendt <magnus.wendt at gmail.com> wrote:
> Hi,
>
> I was just thinking of a use case and wondering if it has been considered in
> Wayland.
>
> A full screen video player would like to match the refresh rate of the
> display to the refresh rate of the video to get smooth playback. (e.g. XBMC
> playing a 24Hz movie on your TV.)
>
> I was thinking that the preferred mode would be some kind of "window
> property". While the app was running in windowed mode the compositor would
> use whatever mode it preferred, but when i goes into full screen mode the
> compositor would choose the mode preferred by the full screen app.
>
> Is this something that has been considered already?

Yup, that's the idea.  It's much the same use case as fullscreen
games, which we talked about on the list earlier:

  http://lists.freedesktop.org/archives/wayland-devel/2010-November/000117.html

Kristian


More information about the wayland-devel mailing list