summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Applied suggestion from GKW on community.java.net forums to useKenneth Russel2003-08-171-1/+1
| | | | | | | | | glCopyTexSubImage2D instead of glCopyTexImage2D to implement render-to-texture support on cards not supporting render-to-texture-rectangle. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@55 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added SGI .rgb image reader. Fixed typos in javadoc.Kenneth Russel2003-08-152-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@54 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number: albanc2003-08-132-0/+12
| | | | | | | | | | | | | | | Obtained from: Submitted by: albanc Reviewed by: CVS: ---------------------------------------------------------------------- CVS: Issue number: CVS: If this change addresses one or more issues, CVS: added isInitialized() method for enabling querrying pBuffer initialization status CVS: Reviewed by: Posted a mail with diff() and explanations on the jogl CVS mailing list 2 days ago. Since I got no objections (nor replies) and since the addition can not affect compatibility nor stability, considering this as a yes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@53 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in offscreen contexts' pending resize logic pointed out byKenneth Russel2003-08-132-2/+2
| | | | | | | GKW on community.java.net/games JOGL forum. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@52 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added link to user's guide to main pageKenneth Russel2003-08-121-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@51 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added hardware acceleration TODO for GLJPanelKenneth Russel2003-08-101-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@50 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made glBufferDataARB and glBufferSubDataARB non-NIOOnly. Added support Kenneth Russel2003-08-081-2/+0
| | | | | | | | to VertexBufferObject demo for storing element indices in element array buffer, though this didn't end up improving performance. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@49 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug abies pointed out in ARBVBOKey where it was necessary toKenneth Russel2003-08-073-2/+28
| | | | | | | | 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-0711-27/+182
| | | | | | | | | | | | | | | | | 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-063-12/+14
| | | | 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-0611-32/+143
| | | | | | | | | | 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
* Attempted fix to jogl and Gears JNLP files after java.net transition to httpsKenneth Russel2003-08-041-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@44 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated TODO and fixed bug in default build.xml ruleKenneth Russel2003-08-042-11/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@43 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug pointed out by [email protected] where impl classesKenneth Russel2003-07-312-2/+4
| | | | | | | weren't obeying the Imports .cfg file directive git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@42 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added ANTLR and Ant links to JOGL web pageKenneth Russel2003-07-181-205/+238
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@41 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added JNLP files for demos to jogl-demos home page. Added more linksKenneth Russel2003-07-181-92/+282
| | | | | | | and information to JOGL home page. Revised demo documentation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@40 232f8b59-042b-4e1e-8c03-345bb8c30851
* Undid change to host.propertiesKenneth Russel2003-07-161-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@39 232f8b59-042b-4e1e-8c03-345bb8c30851
* Trying to fix issue with gears.jnlpKenneth Russel2003-07-161-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@38 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Java Web Start binaries for JOGL and the JOGL demos.Kenneth Russel2003-07-166-0/+34
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@37 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added workaround for 4845371 to NativeLibLoader.Kenneth Russel2003-07-161-0/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@36 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in Animator where it would hang upon stopping if exceptionKenneth Russel2003-07-154-29/+33
| | | | | | | | | was thrown during init(). Fixed build.xml files to get javac to produce source file and line number information. Fixed demos to pop up a dialog box if an extension they need is unsupported. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@35 232f8b59-042b-4e1e-8c03-345bb8c30851
* Undid changes to host.propertiesKenneth Russel2003-07-151-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@34 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added ContextVariableName configuration option to GLEmitter because ofKenneth Russel2003-07-153-8/+21
| | | | | | | namespace conflicts with some argument names on X11. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@33 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed issue 13: Readable names for function argumentsKenneth Russel2003-07-153-3/+20
| | | | | | | Applied patches submitted by [email protected]. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@32 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed issue 12: Better tracing outputKenneth Russel2003-07-152-2/+60
| | | | | | | | | Applied patches submitted by [email protected]. Added better dependence information for BuildComposablePipeline. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@31 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed issue 1: GLCanvas flickers when using repaintKenneth Russel2003-07-151-0/+6
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@30 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed issue 16: Accessibility breaks joglKenneth Russel2003-07-151-1/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@29 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem where loadLibrary calls needed to be done insideKenneth Russel2003-07-151-5/+12
| | | | | | | doPrivileged() block. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@28 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed default antlr.jar propertyKenneth Russel2003-07-141-3/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@27 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in Solaris build.Kenneth Russel2003-07-143-7/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@26 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added "dist" target to assemble one jogl.jar out of platform-specificKenneth Russel2003-07-141-0/+51
| | | | | | | ones and to create jars for each platform's native code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@25 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed dangling references to platform-dependent stub_includes versionsKenneth Russel2003-07-141-3/+3
| | | | | | | of e.g. gl.c. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@24 232f8b59-042b-4e1e-8c03-345bb8c30851
* Switched jogl-demos to use Ant instead of GNU make.Kenneth Russel2003-07-141-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@23 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated jogl build documentation for Ant build. Deleted now-obsoleteKenneth Russel2003-07-1417-1189/+11
| | | | | | | | | Makefiles and redundant gl.c and similar files from platform-specific stub_includes directories; the latter have been moved to stub_includes/common. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@22 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in Mac OS X Ant build.Kenneth Russel2003-07-141-6/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@21 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in Linux build: GLEmitter needs to be used forKenneth Russel2003-07-142-3/+8
| | | | | | | window-system.c, JRE library path was wrong. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@20 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Ant build support, contributed by Rob Grzywinski and ArturKenneth Russel2003-07-1421-17/+2285
| | | | | | | | | | | | | | | Biesiadowski. Modified their original build.xml to understand dependencies between build phases (to avoid full rebuilds each time) and to invoke the C compiler without requiring an external Makefile. At this point the old Makefile/Makefile2 pair is obsolete and will be deleted shortly, as soon as the Ant build has been tested on Linux and Mac OS X. Additionally, Cygwin is no longer needed for the build; the documentation will be updated to reflect this. Refactored some of the stub_includes files to be common between platforms, yielding a build process cleanup. Fixed bugs in Javadocs. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@19 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added sharing of display lists and textures among OpenGL contextsKenneth Russel2003-07-0830-97/+463
| | | | | | | | | through new methods in GLDrawableFactory; GLContext has not been exposed in the public API. Tested with new simple TestContextSharing demonstration on Windows, Linux and Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@18 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added pbuffer support to JOGL on X11; HWShadowmapsSimple andKenneth Russel2003-07-0344-468/+1245
| | | | | | | | | | | | | | | | | | ProceduralTexturePhysics demos are now working on Linux with the appropriate hardware. Moved core GLX routines out of the public GLX interface; this allowed XVisualInfo (and the new GLXFBConfig) to be removed from the public API. Added support to GlueGen for returning arrays of pointers as arrays of StructAccessors in Java and for choosing the typedef name for a pointer-to-struct if the struct itself does not have a typedef name. Added support to GLEmitter to emit ProcAddressTables under arbitrary names and to support arbitrary mechanisms for fetching those tables. Made GLU (on all platforms) and GLX (on X11) be dynamically linked. Refactored ProcAddressTable filling to be mostly shared code. Tested changes on Linux, Mac OS X and Windows. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@17 232f8b59-042b-4e1e-8c03-345bb8c30851
* added navbarathomas2003-06-261-0/+8
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@16 232f8b59-042b-4e1e-8c03-345bb8c30851
* Checked in experimental Cg support and a couple of small demos. ByKenneth Russel2003-06-2611-8/+1778
| | | | | | | | | | | default it is not built and javadoc is not generated for it. The demos are not compiled by the jogl-demos project makefile since there are issues to be thought through with operations like cgCreateProgramFromFile and their interaction with launching over the web via Java Web Start. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@15 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed inheritance problem with GL on Mac OS X. Updated documentation.Kenneth Russel2003-06-264-3/+11
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@14 232f8b59-042b-4e1e-8c03-345bb8c30851
* Initial Mac OS X port of Jogl by Gerard Ziemski and Kenneth Russell,Kenneth Russel2003-06-2636-7239/+1524
| | | | | | | | | | subsuming the previous prototype implementation (no GLCanvas support) done by Marc Downie. Added user's guide (HTML format) under doc/userguide/index.html. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@13 232f8b59-042b-4e1e-8c03-345bb8c30851
* Split up net.java.games.util; moved GLUT and BufferUtils intoKenneth Russel2003-06-2525-2415/+33
| | | | | | | | | | | | net.java.games.jogl.util, and moved demo-specific utility classes into jogl-demos project under demos.util. Added nearly all JavaOne demos into jogl-demos project; rewrote where necessary to use ClassLoader.getResourceAsStream() instead of flat files, put into packages and added to Makefile. Added gleem to jogl-demos project. Added jogl.jar build rule. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@12 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed an unused variable.ckline2003-06-221-3/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@11 232f8b59-042b-4e1e-8c03-345bb8c30851
* Merged code comments and some javadoc comments from old Jungle source tree.ckline2003-06-221-0/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@10 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed a bug where insideBeginEndPair was not being checked within ↵ckline2003-06-221-0/+4
| | | | | | checkGLGetError(). This is a bugfix by kbr that was not accidentally not merged from the Jungle codebase to the Jogl codebase. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@9 232f8b59-042b-4e1e-8c03-345bb8c30851
* minor revisionsdjp2003-06-081-8/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@8 232f8b59-042b-4e1e-8c03-345bb8c30851
* update docsdjp2003-06-082-9/+95
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@7 232f8b59-042b-4e1e-8c03-345bb8c30851
* Initial revisiondjp2003-06-08191-0/+62977
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@3 232f8b59-042b-4e1e-8c03-345bb8c30851