Making Wayland Game-friendly
Nikolai Kondrashov
spbnick at gmail.com
Tue Nov 9 02:14:22 PST 2010
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
More information about the wayland-devel
mailing list