ocornut / ocornut/imgui_test_engine
TestSuite: Framebuffer Mismatches on HiDPI (OSX) Laptop screen
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 629
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Heads up - I'm using GLFW on OSX Ventura (M1, hiDPI) and the framebuffer is mismatched in the capture since I removed my normal-DPI monitor:

It's of a single window (capture tool).
Should look like (screenshot)
.
I'm supposingglfwWindowHint(GLFW_COCOA_RETINA_FRAMEBUFFER, GLFW_TRUE) would solve it ... it's undefined for me as of this time. Looking into it.
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 mismatch in the capture tool on an M1 Mac running OSX Ventura with only the HiDPI laptop display connected. Inspect how GLFW framebuffer settings are used, including GLFW_COCOA_RETINA_FRAMEBUFFER, and compare the result with the expected screenshot; done means the single-window capture matches the expected dimensions and appearance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, macos
- Domain
- desktop-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100