Re: Mode setting from application

2011-04-11 Thread Kristian Høgsberg
On Mon, Apr 11, 2011 at 10:50 AM, Magnus Wendt  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
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Mode setting from application

2011-04-11 Thread Magnus Wendt
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?

br,
Magnus
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel