Bug 208

Summary: Retain persistent pointers in GLImpl
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:48:32 CET


---- Reported by kbr 2006-03-06 22:13:06 ----

Persistent pointers being passed out to C by routines such as glVertexPointer
need to be retained by the GLImpl to avoid premature garbage collection. See
http://www.javagaming.org/forums/index.php?topic=12741.0 .



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:48 EDT  ---

This bug was previously known as _bug_ 208 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=208
Comment 1 Sven Gothel 2010-11-19 01:01:26 CET
Well, either it's an nio buffer or a buffer offset of the target typed object (VBO).
Both are 'hold' by the user/JVM.