openframeworks / openframeworks/openFrameworks
Retina OSX 10.11 HiDPI inconsistent on Display Scalings
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Using Retinal 10.11 HiDPI display to render with the flag High Resolution Capable set.
ofSetupOpenGL(2880, 1500, OF_WINDOW);
ofRunApp(new ofApp());
Expected result: rendering (2880 x 1500) in windowed mode will stretch across entire screen.
Got result: sees correct 2880x1500 window when screen display scaling is at Default (Looks like 1440x900 mode). At More Space mode, sees incorrect smallish window about a quarter of the screen big. Thus the HiDPI display is only behaving as expected when the Monitor HiDPI scaling is at Default.
Also a bug occured when rendering this at full screen on More Space mode, where framerate suffered a huge decrease. Similarly, it is rendering at higher than 2880x1800 resolution which is the expected full screen resolution.
Thanks,
Xiaonan
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the shown ofSetupOpenGL(2880, 1500, OF_WINDOW) setup on Retina OS X 10.11, comparing Default and More Space display scalings. Check the windowed and fullscreen results, including size and framerate; done means both modes use the expected display dimensions without the reported performance loss.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100