<?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>896</bug_id>
          
          <creation_ts>2013-11-06 16:52:41 +0100</creation_ts>
          <short_desc>Use EGL_KHR_create_context allowing EGLContext to create OpenGL Destop Contex and using Debug profiles (for desktop and mobile)</short_desc>
          <delta_ts>2015-09-27 01:31:18 +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>core</component>
          <version>2.3.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>1203</blocked>
          <everconfirmed>1</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>35622a7cef4a28ce7e32bf008ef331d9a0d9e3e2
38baef0371fc55405779590d503f6e0de10fa9cc</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3283</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-06 16:52:41 +0100</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4468</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-12-07 04:04:40 +0100</bug_when>
    <thetext>35622a7cef4a28ce7e32bf008ef331d9a0d9e3e2

    - Detect EGL_KHR_create_context capability and utilize if available.
    
    - Implement EGLContext.createContextARBImpl(..),
      allowing native DEBUG context usage, where available.
    
    - EGL implements SharedResourceRunner, i.e. probing profiles
      on dedicated thread using common interface.
    
    - Probe desktop profile/context ability
      in EGLDrawableFactory SharedResourceRunner,
      Where EGLGLnDynamicLibraryBundleInfo covers EGL + desktop GL.
    
    - TODO: Tests w/ capable implementation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4537</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-01-23 15:13:39 +0100</bug_when>
    <thetext>38baef0371fc55405779590d503f6e0de10fa9cc
    Refine criteria to allow OpenGL API usage for EGL
    
    It has been experienced w/ Mesa 10.3.2 (EGL 1.4/Gallium)
    that even though initial OpenGL context can be created w/o &apos;EGL_KHR_create_context&apos;,
    switching the API via &apos;eglBindAPI(EGL_OpenGL_API)&apos; the latter &apos;eglCreateContext(..)&apos; fails w/ EGL_BAD_ACCESS.
    
    Hence we require both: OpenGL API support _and_  &apos;EGL_KHR_create_context&apos;.
    
    FIXME: Evaluate this issue in more detail!
    
    FIXME: Utilization of eglBindAPI(..) must be re-evaluated in case we mix ES w/ OpenGL, see EGL 1.4 spec.
           This is due to new semantics, i.e. API is bound on a per thread base,
           hence it must be switched before makeCurrent w/ different APIs, see:
              eglWaitClient();</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5025</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-08-28 00:57:37 +0200</bug_when>
    <thetext>Further work to achieve this feature is being 
continued in Bug 1203.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>