diff options
author | Kenneth Russel <[email protected]> | 2005-05-02 06:06:08 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-05-02 06:06:08 +0000 |
commit | bf3544c279ea1734dfed827c1fdbe7fa7ca9dbad (patch) | |
tree | b6e492e66da7f3ad6ffda925004f18d515a7a041 /src/net/java/games/gluegen/ReferencedStructs.java | |
parent | 24c5dd419e8094b030a55ea86acee4dce0c61f06 (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/gluegen/ReferencedStructs.java')
0 files changed, 0 insertions, 0 deletions