summaryrefslogtreecommitdiffstats
path: root/src/demos/data/models
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2003-08-07 19:53:38 +0000
committerKenneth Russel <[email protected]>2003-08-07 19:53:38 +0000
commite90e3d0a63fc5f35ad43d3413d1f612e808d9203 (patch)
tree2d9ba5dc74b12a42eed187c7fbfa008951089aa5 /src/demos/data/models
parent02e667d6c20294bae59cce280bad77c7c61cf2b8 (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-demos/trunk@20 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/data/models')
0 files changed, 0 insertions, 0 deletions