| Summary: | [PATCH] wayland: HiDPI support | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sebastian Krzyszkowiak <dos> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | me |
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: |
0001-wayland-HiDPI-support.patch
wayland: HiDPI support |
||
Tagging a bunch of bugs with "target-2.0.10" so we have a clear list of things to address before a 2.0.10 release. Please note that "addressing" one of these bugs might mean deciding to defer on it until after 2.0.10, or resolving it as WONTFIX, etc. This is just here to tell us we should look at it carefully, and soon. If you have new information or feedback on this issue, this is a good time to add it to the conversation, as we're likely to be paying attention to this specific report in the next few days/weeks. Thanks! --ryan. We need to revisit how high DPI support works in SDL. I didn't see this first, so I came up with a similar patch myself. I've tested Sebastian's patch on wayland with the sway compositor (though only single-monitor) and it worked as I expected it to. I'm hoping to see this included in the next release It's especially important to have it supported rather sooner than later given that the devices devices that rely on Wayland and hidpi scaling, such as Librem 5 and PinePhone smartphones, are soon to be released. Created attachment 3820 [details]
wayland: HiDPI support
Updated the patch to apply cleanly on the current tip and to include Vulkan support, which I forgot about earlier.
Okay, patch reviewed and added: https://hg.libsdl.org/SDL/rev/d92b5fbb5ac0 Thanks! |
Created attachment 3655 [details] 0001-wayland-HiDPI-support.patch Implemented hidpi support on the Wayland platform.