jMonkeyEngine / jMonkeyEngine/jmonkeyengine
AWTPanels forcing OpenGL 2.0 (Compat Profile)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
Background: On Mac OS X everything runs in 2.1 mode unless it requests the Core Profile, so I added a "force OpenGL 3.2 core profile on Mac OS X" for the SDK. Another reason is that the PBR fixes aren't in 3.3.0-stable, effectively breaking PBR on Mac OS X' 3.3.0 SDK.
Why is this here and shouldn't we remove it? I guess it stems back from a time where OpenGL 2 was new and 1 was the default?
@normen any idea?
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 reading jme3-desktop/src/main/java/com/jme3/system/awt/AwtPanelsContext.java around line 233 and trace how the AWT panels context selects an OpenGL profile on Mac OS X. Reproduce the reported profile and PBR behavior if possible, then verify the chosen behavior against the SDK's compatibility requirements. Done means the issue's profile-forcing rationale is resolved and the relevant Mac OS X behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- 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