<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1383</bug_id>
          
          <creation_ts>2019-08-20 19:43:19 +0200</creation_ts>
          <short_desc>GLProfile fails to select default core profiles when no compat profiles are available.</short_desc>
          <delta_ts>2019-08-23 10:01:11 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>opengl</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1382</dependson>
    
    <dependson>1384</dependson>
          <blocked>1385</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>c896476cc309ab9705329da2c9776a6c481fdb5f
5d27c6400a472517e08a86165878f2360d4077bc
9a5f4c464404c1cde2a9b0eabdef39969349fda0
615359e6a70f88bbe3db9664d27c7a4276e58415
bd4be8b54a43b95d7dec90f6dbd0905987ad7605
21f82eb8b74a60cc8a869e073e124d44c75f217e</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6276</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-08-20 19:43:19 +0200</bug_when>
    <thetext>GLProfile fails to select default core profiles when no compat profiles are available.

This is what is left from Bug 1382:
Compat profiles being disabled via GLRendererQuirks.GLNonCompliant
and GLProfile fails to use the highest core profile available as default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6285</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-08-22 20:17:40 +0200</bug_when>
    <thetext>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 -&gt; GLRendererQuirks.GL3CompatNonCompliant

Notable is Bug 1385, i.e. GL3CompatNonCompliant is now more required 
for Mesa &gt;= 18.2.0 ;-)

However, this cleanup &amp; fix was worth its time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6288</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-08-23 07:33:21 +0200</bug_when>
    <thetext>commit 21f82eb8b74a60cc8a869e073e124d44c75f217e

Tighten version/profile qualification: fail if: requested compat profile &amp;&amp; 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 &gt;= 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 &lt; 18.2.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6294</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Gouesse">gouessej</who>
    <bug_when>2019-08-23 10:01:11 +0200</bug_when>
    <thetext>(In reply to Sven Gothel from comment #1)
&gt; Notable is Bug 1385, i.e. GL3CompatNonCompliant is now more required 
&gt; for Mesa &gt;= 18.2.0 ;-)
&gt; 
You meant &quot;no more&quot; of course.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>