summaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/GLDrawable.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-05-02 06:06:08 +0000
committerKenneth Russel <[email protected]>2005-05-02 06:06:08 +0000
commitbf3544c279ea1734dfed827c1fdbe7fa7ca9dbad (patch)
treeb6e492e66da7f3ad6ffda925004f18d515a7a041 /src/net/java/games/jogl/GLDrawable.java
parent24c5dd419e8094b030a55ea86acee4dce0c61f06 (diff)
Fixed Issue 160: Resource leaks in GLJPanel
Added addNotify and removeNotify to GLJPanel which clean up the associated OpenGL contexts and other resources. Extended JRefract demo to stress GLJPanel creation and destruction. New code appears to be correct. Can see resource leaks when the bunny is loaded over and over, but believe these are probably due to allocation of large NIO buffers that are not getting finalized promptly. Stressing the Gears demo with both the pbuffer and software rendering paths shows that the OpenGL resources are being reclaimed properly. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@263 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/GLDrawable.java')
0 files changed, 0 insertions, 0 deletions