aboutsummaryrefslogtreecommitdiffstats
path: root/make/gl-impl-CustomJavaCode.java
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug abies pointed out in ARBVBOKey where it was necessary toKenneth Russel2003-08-071-0/+13
| | | | | | | | override hashCode() and therefore equals(). Added caching of BufferUtils.bufferOffset() buffers. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@48 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed glMapBufferARB's implementation to return the same ByteBufferKenneth Russel2003-08-071-5/+28
| | | | | | | | | | | | | | | | | 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
* Fixed (?) build problem on X11 and Mac OS XKenneth Russel2003-08-061-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@46 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed behavior of ManuallyImplement to not emit GLEmitter's dispatchKenneth Russel2003-08-061-0/+16
routine, but to still emit entry in proc address table. Added first implementation of glMapBufferARB; may need to reimplement due to creation of finalizable direct ByteBuffer objects each time this routine is called (which will be every frame). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@45 232f8b59-042b-4e1e-8c03-345bb8c30851