Summary: | Documentation of scale option in weston.ini manpage not clear | ||
---|---|---|---|
Product: | Wayland | Reporter: | N. W. <nw9165-3201> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
N. W.
2016-04-05 00:13:21 UTC
Output scale is a roughly related to the pixel density on the output. Applications are usually sized in pixel units. If your output pixel density is huge, the application elements become too small to read. On such high density outputs, you set the output scale to larger than one to roughly match the density legacy applications expect. Applications that do not handle output scale, will be scaled up by the compositor automatically to make them at least readable, if not good looking. I would expect this to be nearest-filtered, but I'm not sure what Weston actually does. Applications that do handle output scale can choose to draw their content in high resolution (buffer scale greater than one), in which case they can avoid the compositor scaling and show a good quality image that is also of readable size. Then there is also the case when an application draws with some buffer scale not one, but the output scale is not matching. The compositor usually scales accordingly to account for the scale difference, but it likely will not look pretty because of non-integer total scaling factor. This can happen when a window is spanning two outputs with different output scales. You can use any integer for output scale, 2 is perhaps most common that is not 1, but any positive integer goes in theory. If this answers all your questions, which parts of it should be in the manual? Can you write a patch and send it to wayland-devel mailing list? Proposed patch sent to mailing list. https://patchwork.freedesktop.org/patch/82763/ Patch v2: https://patchwork.freedesktop.org/patch/83414/ Commit 425d9d9a67c64d13aae80d953b7e266066ece7ed |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.