Summary: | GLProfile fails to select default core profiles when no compat profiles are available. | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Sven Gothel <sgothel> |
Component: | opengl | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | gouessej |
Priority: | P1 | ||
Version: | 2.4.0 | ||
Hardware: | All | ||
OS: | all | ||
Type: | DEFECT | SCM Refs: |
c896476cc309ab9705329da2c9776a6c481fdb5f
5d27c6400a472517e08a86165878f2360d4077bc
9a5f4c464404c1cde2a9b0eabdef39969349fda0
615359e6a70f88bbe3db9664d27c7a4276e58415
bd4be8b54a43b95d7dec90f6dbd0905987ad7605
21f82eb8b74a60cc8a869e073e124d44c75f217e
|
Workaround: | --- | ||
Bug Depends on: | 1382, 1384 | ||
Bug Blocks: | 1385 |
Description
Sven Gothel
2019-08-20 19:43:19 CEST
Fixed as described in the git logs. First patches clean-up the affected code-path w/o semantic change, where the subsequent patches clean up semantics and fix the issue. GLRendererQuirks.GLNonCompliant -> GLRendererQuirks.GL3CompatNonCompliant Notable is Bug 1385, i.e. GL3CompatNonCompliant is now more required for Mesa >= 18.2.0 ;-) However, this cleanup & fix was worth its time. commit 21f82eb8b74a60cc8a869e073e124d44c75f217e Tighten version/profile qualification: fail if: requested compat profile && has core profile On Mesa, if requesting a 3.1 compat profile, we receive a 4.5 core profile. This is natural due to constraints within glXCreateContextAttribsARB, i.e. GLX_CONTEXT_PROFILE_MASK_ARB is only a available for versions >= 3.2 and these are not available on Mesa. Tested with Mesa 18.3.6 of Debian 10 Buster, which also confirms Bug 1385 fix of limitating GL3CompatNonCompliant to Mesa < 18.2.0 (In reply to Sven Gothel from comment #1) > Notable is Bug 1385, i.e. GL3CompatNonCompliant is now more required > for Mesa >= 18.2.0 ;-) > You meant "no more" of course. |