openframeworks / openframeworks/openFrameworks

Retina OSX 10.11 HiDPI inconsistent on Display Scalings

Open
#4,582 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug macOS
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.