Replies: 1 comment
-
If you mean the backingScaleFactor, that is always fixed at 2.0 for HiDPI resolutions and 1.0 for LoDPI resolutions in current macOS versions. For virtual screen framebuffer to real pixel scaling factor is meaningless as there is no real display so there is no additional scaling, just the framebuffer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a new display, and I see more resolutions at MacOS Display settings tab than api call CGDisplayCopyAllDisplayModes returned to me. I understand it's related to scaled resolutions, but how to get scale factor of virtual display programmatically?
I use this code for testing
And I received:
But in the MacOS settings I see more
In the BetterDisplay I see Resolution step multiplier 2.0, but how to get it? Can you give me any suggestion how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions