Skip to content
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

HiDPI support #992

Merged
merged 6 commits into from Sep 6, 2020
Merged

HiDPI support #992

merged 6 commits into from Sep 6, 2020

Conversation

Copy link
Contributor

@driver1998 driver1998 commented Sep 3, 2020

Supports System Aware (All Windows versions) and Per Monitor DPI Aware v2 (Win10 v1703+).

UI stuff scales base on DPI automatically.

Emulated screen can also scale base on DPI (optional, toggle in View->HiDPI scaling).
HiDPI scaling is applied on top of the current render scaling options, so 1.5x scaling @ 200% DPI will give you 3x.
So if you want pixel-perfect output, set "Window scale factor" to 1x and disable HiDPI scaling.

Tested on 100%, 125% , 150%, 175% and 200% DPI options, and dragging around two monitors with different DPI setting.

Before (125% DPI):
QQ截图20200903123213

After:
QQ截图20200903123021

After with HiDPI scaling off:
QQ截图20200903123052

@OBattler OBattler merged commit 1e7b176 into 86Box:master Sep 6, 2020
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants