[PATCH 0/2] Support for high DPI outputs via scaling

John Kåre Alsaker john.kare.alsaker at gmail.com
Mon May 13 22:22:34 PDT 2013


> I expect a compositor to render deviations of the desired scaling factor
> without scaling windows. The range when this is allowed is reported to
> clients so they can try to render at a size which will avoid scaling.
>
> For example a compositor may want to use a 1-1.2 range with 1.1 as the
> desired scaling factor. A clients which are only able to draw at integer
> scaling factor would round that up to 2 and let the compositor downscale
> it. When the range for which compositor won't scale is send to clients we
> can avoid this.
>
Giving this range to clients also tells when if they will be scaled on the
targeted output. If they are they can ignore information about the pixel
layout of the output.

We may also allow scaling factors below 1. When 0 clients should draw using
the smallest amount of pixels possible while still being understandable. I
doubt that will be very useful and clients could just have 1 as a lower
bound.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130514/3e03e0a8/attachment.html>


More information about the wayland-devel mailing list