Jogamp
StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values...
authorSven Gothel <sgothel@jausoft.com>
Mon, 1 Aug 2011 13:14:39 +0000 (15:14 +0200)
committerSven Gothel <sgothel@jausoft.com>
Mon, 1 Aug 2011 13:14:39 +0000 (15:14 +0200)
commit2dbd16fc3edf29b39ba37a11b9fbf1b2aad75c45
tree70367f094a969e9387b506cef79ee846b0bd6d3b
parent0f0f6162cfbce1ad7db86e7e627721c4c918933c
StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual values. Impl -> final.

Map's KeyNotFound value -1 -> 0xffffffff
  Turns out some GL impl. use VBO names like 0xa2d67443, which is (int) < 0.
  This is now handled in GLBufferStateTracker as well as for the others.

Make methods final to restrict 'em.
src/jogl/classes/jogamp/opengl/GLBufferSizeTracker.java
src/jogl/classes/jogamp/opengl/GLBufferStateTracker.java
src/jogl/classes/jogamp/opengl/GLStateTracker.java
http://JogAmp.org git info: FAQ, tutorial and man pages.