Making Wayland Game-friendly
Luke Benstead
kazade at gmail.com
Tue Nov 9 02:16:24 PST 2010
On 9 November 2010 10:14, Nikolai Kondrashov <spbnick at gmail.com> wrote:
> On 11/09/2010 12:54 PM, Luke Benstead wrote:
>
>> I do have another idea, but whether it would work in practice I'm not
>> sure, so I'll just throw this out there. What if, instead of changing
>> the native resolution, Wayland allocated an off-screen buffer of the
>> requested resolution. As far as the app is concerned it's rendering to a
>> fullscreen window at the requested res, but then Wayland scales the
>> offscreen buffer and blits it to the screen. If the window loses focus
>> then it's minimized. (I know we are sort of stumbling onto WM territory
>> here, I'm not really sure how to handle that. Perhaps it doesn't need to
>> be minimized just displayed non-fullscreen).
>>
> Sorry, I misinterpreted your idea. I thought you were talking about
> switching resolutions transparently for the application. However, the idea
> of keeping the native LCD resolution seems to be very nice, yet supporting
> real resolution switching might be needed anyway.
>
> Sincerely,
> Nick
>
Yeah, of course. I don't doubt that native resolutions switches will be
required. But if temporary switches can be handled by rendering offscreen,
and full resolutions switches happen in a similar style to xrandr, that at
least removes the problems with the common cases.
Luke.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20101109/91ad1ff8/attachment.html>
More information about the wayland-devel
mailing list