diff options
author | Kenneth Russel <kbrussel@alum.mit.edu> | 2003-08-07 19:53:38 +0000 |
---|---|---|
committer | Kenneth Russel <kbrussel@alum.mit.edu> | 2003-08-07 19:53:38 +0000 |
commit | db0bdc71eec40d7fcd22ddcea87178c8805d4312 (patch) | |
tree | d04e66f83bcf5eeeaa5283f17a86f9093d678e1c /make/gl-common.cfg | |
parent | dd16a976876a779dc0ee6da9ebf5ada29f5781c7 (diff) |
Changed glMapBufferARB's implementation to return the same ByteBuffer
if the address and capacity of the underlying buffer object haven't
changed. This saves applications the cost of re-slicing the returned
buffer each frame and avoids allocation of one or more finalizable
objects per frame. Moved GlueGen's checking of whether a passed buffer
is direct up into Java from C to be able to handle buffers that wrap
the NULL pointer (needed for the "buffer offsets" used by
ARB_vertex_buffer_object). Ported the VertexArrayRange demo to
VertexBufferObject. Currently slower than VertexArrayRange but needs
to be updated to triangulate the geometry more efficiently (currently
the triangle strips are only 48 vertices long) and to move the indices
into fast RAM.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@47 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/gl-common.cfg')
-rw-r--r-- | make/gl-common.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/gl-common.cfg b/make/gl-common.cfg index 9f2acf1c2..283ae1cc7 100644 --- a/make/gl-common.cfg +++ b/make/gl-common.cfg @@ -6,6 +6,7 @@ RuntimeExceptionType GLException # Imports needed by all glue code Import java.nio.* +Import java.util.* Import net.java.games.jogl.* Import net.java.games.jogl.impl.* |