<?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>830</bug_id>
          
          <creation_ts>2013-09-08 20:46:15 +0200</creation_ts>
          <short_desc>GLDrawableUtil.swapGLContextAndAllGLEventListener: Doesn&apos;t work w/ MSAA or AccumBuffer and on- offscreen swap</short_desc>
          <delta_ts>2014-07-31 03:02:47 +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</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>askinner</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>ff5dba28610b4f680c9320e9e52669ed54d4de43
289ba90b9ce118ba987b47ee70870cca77287cc0
2e1484f4c25605c6dc0307f12f3e4e434c429a37</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2947</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-09-08 20:46:15 +0200</bug_when>
    <thetext>GLDrawableUtil.swapGLContextAndAllGLEventListener(gladPre, gladNew):

  If &apos;gladPre&apos; is onscreen and using MSAA (on NV/GLX),
  the ctx cannot be made current in it&apos;s new &apos;gladNew&apos; location.

This bug has been testes w/ printing test cases AWT and NewtCanvasAWT,
where the pre-exisiting GLAD is onscreen w/ MSAA.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4053</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-30 20:34:48 +0200</bug_when>
    <thetext>ff5dba28610b4f680c9320e9e52669ed54d4de43

Bug 830 - Add Heuristics for to query whether GLDrawableUtil.swapGLContextAndAllGLEventListener is safe (Doesn&apos;t work w/ pre MSAA onscreen drawable)

GLDrawableUtil.isSwapGLContextSafe(..) allows user to query whether &apos;we think&apos; it&apos;s safe
to utilize swapping of GLContext between GLAutoDrawable instances.

Currently known unsafe cases are:
    - between on- and offscreen and one of the following:
    - MSAA involved, or
    - STEREO involved

Enhanced unit tests in this regard:
    - TestGLContextDrawableSwitch02AWT
    - using GLContextDrawableSwitchBase0
    - TestGLContextDrawableSwitch02NEWT
    - using GLContextDrawableSwitchBase0

Utilized safe query for setupPrint(..) action in:
    - AWT GLCanvas
    - AWT GLJPanel
    - NewtCanvasAWT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4054</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2014-07-31 00:55:52 +0200</bug_when>
    <thetext>289ba90b9ce118ba987b47ee70870cca77287cc0
  Perform context switch on GL capable thread if required. 
  Add API doc note about this requirement.

2e1484f4c25605c6dc0307f12f3e4e434c429a37
  Refine Heuristics to query whether 
  GLDrawableUtil.swapGLContextAndAllGLEventListener is safe: 
    Add Accumulator Buffer bits</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>