Advertisement
Guest User

Untitled

a guest
Oct 5th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. <Cloudef> vooze: wayland will not do non integral scaling for surfaces
  2. <Cloudef> vooze: non-integral scaling is possible to be implemented by compositor (usually by forcing resolution of output), but doing this for surfaces becomes very complicated fast
  3. <Cloudef> vooze: also note that non integral scaling will give you blurry details
  4. <vooze> Cloudef: ah okay, thats why Windows sucks at anything but 100 or 200% :)
  5. <Cloudef> yes
  6. <vooze> So it is up to the single applications, like firefox (doing perfectly btw.)
  7. <Cloudef> But for example sway, does this by setting custom resolution to output that is then scaled to your real resolution
  8. <Cloudef> so effectively it's non-integral scaling
  9. <Cloudef> vooze: applications that support hidpi can do whatever they want
  10. <Cloudef> the scale number is just protocol hint for surfaces in wayland
  11. <Cloudef> surface scale > output scale on compositor = compositor shrinks the surface
  12. <Cloudef> surface scale < output scale on compositor = compositor zooms the surface
  13. <Cloudef> surface scale == output scale on compositor = compositor does nothing
  14. <vooze> what is sway? Is that what MS is using, or Apple? Or something else? (google gives a lot of diffrent results)
  15. <Cloudef> no, sway is compositor for wayland
  16. <Cloudef> !give vooze gh SirCmpwn/sway
  17. <phrik> vooze: SirCmpwn/sway ยท GitHub: <https://github.com/SirCmpwn/sway>
  18. <Cloudef> though, wlc (which is the library sway uses) does not handle the surface scale hint yet. Thus it won't scale or shrink surfaces as I specified above
  19. <vooze> Ah okay, so its comming?
  20. <ElectroCat> Hey, does anyone know why ghc still hasn't been updated?
  21. <Cloudef> vooze: https://github.com/Cloudef/wlc/issues/57
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement