summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/GLStateTracker.java
Commit message (Collapse)AuthorAgeFilesLines
* StateTracker: Map's KeyNotFound value -1 -> 0xffffffff... allowing unusual ↵Sven Gothel2011-08-011-14/+14
| | | | | | | | | | 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.
* - LinkedList -> ArrayList (using tail) for O(1) operationSven Gothel2011-03-191-19/+23
| | | | | - Using new IntIntHashMap clone() operation - Comment: Tuning IntIntHashMap capacity to avoid rehash
* GLStateTracker code review:Michael Bien2011-03-051-23/+25
| | | | | | | - using LinkedList as stack replacement for non index based push/pop - increased initial map size since the default values already exceeds the default mapsize - size()==0 -> isEmpty() (can be significantly faster if the deque impl would change in future) - map copy with initial size - minor other changes
* Fix GLStateTracker PixelStore popAttrib(): Only write new state if ↵Sven Gothel2011-03-051-9/+19
| | | | corresponding push was of ClientPixelStore type
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-091-1/+1
| | | | | | | | | | | | | | | jogamp.<module> (2/2) - edit files - com.jogamp.opengl.impl -> jogamp.opengl - com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc - com.jogamp.nativewindow.impl -> jogamp.nativewindow - com.jogamp.newt.impl -> jogamp.newt This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.
* Move implementation private files from com.jogamp.<module>.impl. to ↵Sven Gothel2011-02-081-0/+179
jogamp.<module> (1/2) - rename task - com.jogamp.opengl.impl -> jogamp.opengl - com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc - com.jogamp.nativewindow.impl -> jogamp.nativewindow - com.jogamp.newt.impl -> jogamp.newt This sorts implementation details from the top level, ie skipping the public 'com', allowing a better seperation of public classes and implementation details and also reduces strings. This approach of public/private seperation is also used in the OpenJDK.