Bug 208 - Retain persistent pointers in GLImpl
Summary: Retain persistent pointers in GLImpl
Status: VERIFIED INVALID
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2006-03-06 10:13 CET by Sven Gothel
Modified: 2010-11-19 01:01 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.