Bug 442

Summary: GLJPanel resize error.
Product: [JogAmp] Jogl Reporter: Barcsik Attila <barcsikattila>
Component: openglAssignee: Sven Gothel <sgothel>
Status: VERIFIED DUPLICATE    
Severity: major    
Priority: ---    
Version: 2   
Hardware: pc_x86_64   
OS: linux   
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Source from a NetBeans project.

Description Barcsik Attila 2010-12-08 06:48:23 CET
I'm using JOGL 2.0 RC1, openSUSE 11.3 amd64.

I've noticed that in GLJPanel the display(..) and reshape(...) methods are alternating all the time, even where there's no window resize event - i use an Animator not FPSAnimator.

At window resize, when the new size is about twice as big than the original - not previous size, it calls reshape(..) and throws an javax.media.opengl.GLException in thread "AWT-EventQueue-0" and the resulting OpenGL rendering will be corrupted. Corruption is something like incorrect culling setup.

After closing the application sometimes i get errors from the JRE:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fedd20501bb, pid=16641, tid=140659252926224
...

Note: I get libEGL warning: No supported client API about 20 times at startup.
Note: I cannot enable Java2D OpenGL pipeline, because application won't render anything.

I've attached the complete NetBeans project which will demonstrate this bug.
Sorry if Eclipse is preffered.
Comment 1 Barcsik Attila 2010-12-08 06:51:17 CET
Created attachment 193 [details]
Source from a NetBeans project.

I've tried to upload the whole project, but upload failed.
This is just the source code.
Comment 2 Sven Gothel 2010-12-12 01:52:00 CET
fixed .. see #427

*** This bug has been marked as a duplicate of bug 427 ***