Login  Register

Re: java11 + release progress thread (also: review)

Posted by Sven Gothel on Aug 20, 2019; 3:38pm
URL: https://forum.jogamp.org/java11-release-progress-thread-also-review-tp4039948p4039974.html

On 8/20/19 11:13 AM, gouessej [via jogamp] wrote:
> :s You'll have to look at GLContextImpl, I suspect my last attempt of fixing
> Mesa detection, maybe a renderer quirk has become unnecessary.

Well, I was hunting witches it seems:
   - GLRendererQuirks.GLNonCompliant
was triggered, i.e. intentionally set and hence the profile dropped.

Our good old:
     * Non compliant GL context due to a buggy implementation not suitable for
use.
     * <p>
     * Currently, Mesa >= 9.1.3 (may extend back as far as 9.0) OpenGL 3.1
compatibility
     * context is not compliant. Most programs will give completely broken
output (or no
     * output at all. For now, this context is not trusted.
     * </p>
     * The above has been confirmed for the following Mesa 9.* GL_RENDERER
strings:
     * <ul>
     *   <li>Mesa .* Intel(R) Sandybridge Desktop</li>
     *   <li>Gallium 0.4 on AMD RS880</li>
     * </ul>
     * </p>
     * <p>
May need to revalidate whether Mesa has re-enabled support for
OpenGL compat profiles >= 3.1?

The real bug here was that GLProfile didn't chose the right profile,
i.e. the default choice should have been made for the core profile.
So I need to fix that.