<?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>905</bug_id>
          
          <creation_ts>2013-11-15 13:36:56 +0100</creation_ts>
          <short_desc>GLJPanel and GLOffscreenDrawable Performance</short_desc>
          <delta_ts>2013-11-28 13:26:49 +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>macosx</component>
          <version>2</version>
          <rep_platform>All</rep_platform>
          <op_sys>macosx</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>
          <dependson>891</dependson>
    
    <dependson>894</dependson>
    
    <dependson>904</dependson>
          <blocked>888</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="NewBie">anand1988</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3324</commentid>
    <comment_count>0</comment_count>
    <who name="NewBie">anand1988</who>
    <bug_when>2013-11-15 13:36:56 +0100</bug_when>
    <thetext>Dear Sir/Madam,

When I use Swing MDI window with JDesktopPane embedded with many JInternalFrames. Each JInternalFrame contains one GLJPanel. When we start FPSAnimator with 30fps rate. Till 10 GLJPanel&apos;s, I can get GLEventListner::display function call at 30fps rate. When it increases beyond, for example, for 16 GLJPanel&apos;s, I can get only 20fps rate. I have done many way&apos;s to fix the issue, but nothing is working. In GLEventListner display function, I am not calling any GL functions, it will simply returns. 

Thanks and Regards,
Anand</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3336</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-17 18:28:35 +0100</bug_when>
    <thetext>.. not a regession.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3337</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-17 18:31:25 +0100</bug_when>
    <thetext>Referencing already fixed performance issues, i.e. Bug 891, Bug 894 and Bug 904.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3380</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-24 18:56:29 +0100</bug_when>
    <thetext>As mentioned in a forum post,
using vertical sync (vsync) on multiple GLEventListener each in their 
GLAutoDrawable (GLJPanel, GLCanvas, GLWindow, ..) may reduce the
frames per seconds value. This is true for the NVidia driver at least.

Only using one GLEventListener utilizing vsync solves the issue.

vsync can be set via gl.setSwapInterval(int i).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3381</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-24 18:58:24 +0100</bug_when>
    <thetext>(In reply to comment #3)
&gt; As mentioned in a forum post,
&gt; using vertical sync (vsync) on multiple GLEventListener each in their 
&gt; GLAutoDrawable (GLJPanel, GLCanvas, GLWindow, ..) may reduce the
&gt; frames per seconds value. This is true for the NVidia driver at least.
&gt; 
&gt; Only using one GLEventListener utilizing vsync solves the issue.
&gt; 
&gt; vsync can be set via gl.setSwapInterval(int i).

Only using V-Sync on one of many GLJPanel solves
performance degradation w/ X11/NV:
  &lt;http://jogamp.org/deployment/archive/master/gluegen_751-joal_502-jogl_1153-jocl_879-signed/jogl-applet-bug848_glcanvas01.html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3409</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2013-11-28 13:26:49 +0100</bug_when>
    <thetext>All depending bugs are resolved.

With recommendation of comment 3 and comment 4 (vsync) 
this issue is considered to be resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>