sony / flutter-embedded-linux

Embedded Linux embedding for Flutter
BSD 3-Clause "New" or "Revised" License
1.16k stars 123 forks source link

Add initial support for HighDPI on Wayland #314

Closed vially closed 1 year ago

vially commented 1 year ago

Warning

This pull-request is currently marked as a draft because it depends on a couple of pull-requests which haven't been merged yet: #311, #312, #313.

This pull-request contains various fixes related to HighDPI support on Wayland. Most of the fixes involve using the current window scale where needed and keeping the buffer scale in sync with the window scale.

The screen recordings below show a basic app before and after these fixes. The most notable difference is getting rid of the blurriness and the oversized widgets when running on a HighDPI screen on Wayland.

before.webm

after.webm

TODO

Note: I agree to delegate all rights related to this PR to Sony.

HidenoriMatsubayashi commented 1 year ago

Thank you so much.