[Wayland-bugs] [Bug 93315] Automatically scale windows?
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 15 07:56:04 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93315
--- Comment #14 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Alexander Larsson from comment #12)
> I don't think that is really a problem though.
>
> not dynamic: We could just always allocate a scale 2 screen.
>
> can't blit across screens: When would you need that. Apps would generally
> just connect to either one, and ignore the other. The compositor can do
> blitting on the wayland side.
>
> windows can't share screens or move to other screen: Well, either the app
> has no knowledge of hidpi, we then always want it to be on the screen that
> has scale=1 (i.e. is scaled up if the real output is scale=2). Apps that are
> hidpi aware are passed the unmodified screen (and some env var is set about
> the scale), and then they can render in full resolution. Then the compositor
> can scale these down to scale=1 outputs in the mixed-scale case.
Hm, right; I think that could well work, but would require a fair bit of
surgery. Especially on the XWayland side, where we have to perform the mapping
back into a fixed/linear co-ordinate space. But yeah, it could well just work
...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20151215/2a18f335/attachment.html>
More information about the wayland-bugs
mailing list