<?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>876</bug_id>
          
          <creation_ts>2013-10-29 09:35:39 +0100</creation_ts>
          <short_desc>BuildComposablePipeline: getGL*() shall not return downstream.getGL*() [TraceGL* / DebugGL*]</short_desc>
          <delta_ts>2013-10-29 11:11:46 +0100</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2</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>---</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>d83d54f2aaf9b8389a64fba7a8c05c495873d941</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3206</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-29 09:35:39 +0100</bug_when>
    <thetext>Regression of commit 0002fccdcd6383874b2813dc6bbe3e33f5f00924:
  Handled getGL*() same as isGL*().
  The patch is right for the latter isGL*(),
  however, getGL*() returned the downstream object which makes the caller loosing the pipeline!

  Instead, we shall produce !GEN_GL_IDENTITY_BY_ASSIGNABLE_CLASS:
     &quot;if( isGL&lt;type&gt;() ) { return this; }
     throw new GLException(&quot;Not a &lt;type&gt; implementation&quot;);&quot;
  or for GEN_GL_IDENTITY_BY_ASSIGNABLE_CLASS:
     &quot;return this;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3210</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-10-29 11:11:46 +0100</bug_when>
    <thetext>d83d54f2aaf9b8389a64fba7a8c05c495873d941

    Regression of commit 0002fccdcd6383874b2813dc6bbe3e33f5f00924:
      &quot;Trace/Debug shall utilize downstream identification for isGL*() and getGL*() methods.&quot;
    
      Using the downstream identification commit is right for the isGL*() case,
      however, getGL*() returned the downstream object which makes the caller loosing the pipeline!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>