aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/nurbs
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2007-01-06 00:43:17 +0000
committerKenneth Russel <[email protected]>2007-01-06 00:43:17 +0000
commit62e346b4562371031ec4732b27ac80447e509946 (patch)
treecd00a9784a29a7bcd81efbf7ecfbf92ba6d93d60 /src/classes/com/sun/opengl/impl/nurbs
parentde4c2584441a9972df8a0db3faaadb0d1d10970b (diff)
With help from Chris Campbell, fixed incredibly stupid bug on my part
where the new Java 2D TextureRenderer was destroying and re-creating the OpenGL texture every frame. This was why the Java 2D Overlay class was so expensive, and why the TextRenderer wasn't as fast as it seemed it should be. Fixed bugs in all of the Java 2D demos which were covered up by this implicit sync, as well as in the TextRenderer class itself where it was missing a key sync operation. Added code to the Texture.updateSubImage() implementation to clip the incoming rectangle to the bounds of the input data and texture, to keep OpenGL from dropping almost-valid updates on the floor. Ran all of the Java 2D integration demos to verify these fixes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1071 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl/nurbs')
0 files changed, 0 insertions, 0 deletions