<?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>929</bug_id>
          
          <creation_ts>2013-12-21 15:13:24 +0100</creation_ts>
          <short_desc>Reflect ES3 Compatibility with ES2</short_desc>
          <delta_ts>2013-12-22 03:31:56 +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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>852</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>gouessej</cc>
    
    <cc>julien.carlos</cc>
    
    <cc>org.jogamp</cc>
    
    <cc>rami.santina</cc>
    
    <cc>sgothel</cc>
    
    <cc>xerxes</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>3d0ab3e6263dfdbb9dd0014443ad28b1c9b0c238
ac705f0d6eea7c8ba27a7cf7c42674c7446576b4</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3502</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-21 15:13:24 +0100</bug_when>
    <thetext>Reflect ES3 Compatibility with ES2.

F1 p322 of the OpenGL ES 3.0.2 Spec claims backward compatibility with ES2,
hence return true for &apos;glES3.isGLES2()&apos; and allow &apos;glES3.getGLES2()&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3504</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-21 15:21:45 +0100</bug_when>
    <thetext>Current situation w/ ES3 implementers is that either ES3 or ES2 is available,
hence EGLDrawableFactory shall not query ES2 if ES3 is available.

Since ES3 seems to be also fully compatible w/ ES2, the above behavior is OK
and aligns to our ARB ctx GL profile aliasing.

Note: 
  - ES4 will not be compatible w/ ES2.
  - ES4 will drop &apos;deprecated&apos; functionality of ES3
    and hence will not be compatible w/ ES3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3506</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-21 22:06:44 +0100</bug_when>
    <thetext>3d0ab3e6263dfdbb9dd0014443ad28b1c9b0c238
    - Map ES2 -&gt; ES3 GLProfile, if available
    
    - EGLDrawableFactory: Don&apos;t query ES2 if ES3 is available
    
    - Fix queries and get methods (GL, GLContext and GLProfile):
      - glES3.isGLES2()==true and glES3.getGLES2()!=null
      - ctxES3.isGLES2()==true,
      - glES3Profile.isGLES2()==true
    
    - Enhance Unit test: TestGLProfile01NEWT
      - Test all GLProfile availability combinations
        based on implementing GLProfile
    
      - Test all GLProfile&apos;s isGL*()
        based on highest GLProfile identity
    
      - Test all GL&apos;s isGL*()
        based on highest GL identity.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3508</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-12-22 03:31:56 +0100</bug_when>
    <thetext>ac705f0d6eea7c8ba27a7cf7c42674c7446576b4
  See Bug 852 Comment 8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>