Can I enable mode switching from wayland/weston?
Robert Folland
robert.folland at me.com
Tue Oct 6 01:41:09 PDT 2015
On 02 Oct, 2015,at 09:13 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> However, for special use cases like yours, there are alternatives that
> would work more reliably, but also require more work to implement:
>
> - fullscreen shell; This is a replacement to desktop shell, which means
> you cannot run desktop apps on it, unless they (the toolkit they use)
> specifically implements support for it. This is primarily meant for
> running another Wayland compositor on Weston, using Wayland as
> the hardware abstraction.
>
> - Not using a display server at all. This is the most reliable way
> which gives you all the control without anything else meddling with
> your program and direct feedback from the kernel driver on what
> really is going on, but the downside is that you get to implement
> DRM/KMS usage and the whole input handling yourself. The good thing
> is that nowadays you don't need to use any hardware or driver
> specific APIs to do this (the xf86-video-* driver component is not
> necessary anymore).
>
> Btw. I don't think SDL2 exposes any timing interfaces, does it? So if
> you care about exact timings and knowing when your frame was presented,
> you'd have to use something else. I have a vague recollection SDL2
> would not even be able to tell you that the display server has accepted
> your frame (the frame callback in Wayland) which we normally use for
> driving the rendering loop in an app to avoid wasted rendering.
Thank you for the explanation. Using desktop should not really be neccessary for my use, since this is a dedicated tool.
I will try one of the other options.
Thanks,
-Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151006/b0c99906/attachment-0001.html>
More information about the wayland-devel
mailing list