[Wayland-bugs] [Bug 93315] Automatically scale windows?
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu May 19 15:32:13 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=93315
--- Comment #17 from Olivier Fourdan <fourdan at xfce.org> ---
(In reply to Adam Goode from comment #16)
> Will these ideas also work for fractional scales? 1.25x screens are common
> now.
The scaling facter is an integer in Wayland protocol:
<event name="scale" since="2">
<description summary="output scaling properties">
This event contains scaling geometry information
that is not in the geometry event. It may be sent after
binding the output object or if the output scale changes
later. If it is not sent, the client should assume a
scale of 1.
A scale larger than 1 means that the compositor will
automatically scale surface buffers by this amount
when rendering. This is used for very high resolution
displays where applications rendering at the native
resolution would be too small to be legible.
It is intended that scaling aware clients track the
current output of a surface, and if it is on a scaled
output it should use wl_surface.set_buffer_scale with
the scale of the output. That way the compositor can
avoid scaling the surface, and the client can supply
a higher detail image.
</description>
<arg name="factor" type="int" summary="scaling factor of output"/>
</event>
Beside, I am not sure how a quarter of a pixel would look like.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160519/bcd96dad/attachment.html>
More information about the wayland-bugs
mailing list