-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support high-DPI rendering in a cross-platform way #1816
Open
csnover
wants to merge
7
commits into
WerWolv:master
Choose a base branch
from
csnover:new-eyeglasses
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f3a834a - Browse repository at this point
Copy the full SHA f3a834aView commit details
Commits on Jul 18, 2024
-
feat: Implement cross-platform DPI scaling
This replaces the Windows-only code with code that should work on all the platforms. Tested on Linux/Wayland. The “Scaling” option is now just treated like a normal UI zoom control for users who want a larger UI. This means “Native” scaling option is removed now since that does not mean anything.
Configuration menu - View commit details
-
Copy full SHA for a408e65 - Browse repository at this point
Copy the full SHA a408e65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4493fff - Browse repository at this point
Copy the full SHA 4493fffView commit details -
feat: Improve appearance of OOB banner
Rendering at a non-native resolution and then scaling the bitmap looks bad. The scaling seems to try to just get it to end up the same size as the welcome screen, so just use the same size for both.
Configuration menu - View commit details
-
Copy full SHA for a83e2a5 - Browse repository at this point
Copy the full SHA a83e2a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cc56fe - Browse repository at this point
Copy the full SHA 3cc56feView commit details -
Configuration menu - View commit details
-
Copy full SHA for a02dcaf - Browse repository at this point
Copy the full SHA a02dcafView commit details -
impr: Re-render SVG textures on scaling changes
This change also future-proofs the scaling event so it can be fired when users change the scaling mode in the settings, since both user scaling and window content scaling changes require re-rasterisation.
Configuration menu - View commit details
-
Copy full SHA for a94fbe4 - Browse repository at this point
Copy the full SHA a94fbe4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.