summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* implemented GLJPanel for Mac OS XGerard Ziemski2003-11-1911-83/+157
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@74 232f8b59-042b-4e1e-8c03-345bb8c30851
* use USE_GL_TEXTURE_RECTANGLE_EXT for PBuffers - needed for GLJPanelGerard Ziemski2003-11-081-17/+36
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@72 232f8b59-042b-4e1e-8c03-345bb8c30851
* Print error messages when nsview is not a valid drawable and return NULL ↵Gerard Ziemski2003-11-041-5/+23
| | | | | | from createContext git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@70 232f8b59-042b-4e1e-8c03-345bb8c30851
* Implemented a per-thread GLContext stack, which gives a thread Kenneth Russel2003-11-044-22/+297
| | | | | | | | | | | | | | | knowledge of the OpenGL contexts it has made current and allows a GLDrawable to make its context current recursively as well as allowing a GLEventListener to call another GLDrawable's display() method from within its display(). This mechanism can be used fairly easily to expose swapBuffers in the public API, as has been requested. Updated the demos which had to explicitly call display() on more than one drawable to use the Animator class and to call GLDrawable.display() from within their GLEventListeners' display() methods. Updated documentation. Fixed bugs in gleem's CameraParameters class. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@69 232f8b59-042b-4e1e-8c03-345bb8c30851
* Disabling the context updater for now - not thread safe yet.Gerard Ziemski2003-10-123-2/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@68 232f8b59-042b-4e1e-8c03-345bb8c30851
* Implemented PBuffers (available in >= Panther). Reimplemented window ↵Gerard Ziemski2003-10-127-172/+542
| | | | | | resizing using update listener git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@67 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added contribution from user GKW on community.java.net forums to fixKenneth Russel2003-09-052-31/+38
| | | | | | | | | pixel format selection for GLJPanel on Win32 by using ChoosePixelFormat rather than DefaultGLCapabilitiesChooser. Modified dist targets to include Cg native libraries. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@62 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Gerard Ziemski's new sources for faster dynamic symbol lookup onKenneth Russel2003-09-052-35/+42
| | | | | | | Mac OS X. Removed workarounds for earlier JAWT bugs on OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@60 232f8b59-042b-4e1e-8c03-345bb8c30851
* Applied bug fix to GLU tesselator supplied by Pepijn Van Eeckhoudt.Kenneth Russel2003-08-271-25/+25
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@59 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Mac OS X build after recent JAWT changes in 10.3 (which areKenneth Russel2003-08-241-0/+1
| | | | | | | | | | apparently going to be brought back to the 10.2 Java on OS X as well). Renamed host.properties to jogl.properties and changed build to look for this file in user's home directory to avoid needing to always change a file that is in the repository. Updated build documentation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@58 232f8b59-042b-4e1e-8c03-345bb8c30851
* GLU tesselator port by Pepijn Van Eeckhoudt and Nathan Parker Burg.Kenneth Russel2003-08-2122-0/+5679
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@57 232f8b59-042b-4e1e-8c03-345bb8c30851
* GKW on the community.java.net forums pointed out that theKenneth Russel2003-08-171-30/+38
| | | | | | | | | render-to-texture support doesn't need to copy back the pixels if WGL_ARB_texture_rectangle is supported. Fixed logic to handle this case. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@56 232f8b59-042b-4e1e-8c03-345bb8c30851
* 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
* Fixed bug abies pointed out in ARBVBOKey where it was necessary toKenneth Russel2003-08-072-2/+15
| | | | | | | | 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-077-17/+146
| | | | | | | | | | | | | | | | | 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
* Changed behavior of ManuallyImplement to not emit GLEmitter's dispatchKenneth Russel2003-08-064-28/+95
| | | | | | | | | | 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
* Fixed bug pointed out by [email protected] where impl classesKenneth Russel2003-07-311-1/+1
| | | | | | | 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 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-151-23/+27
| | | | | | | | | 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
* Added ContextVariableName configuration option to GLEmitter because ofKenneth Russel2003-07-151-2/+14
| | | | | | | 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-151-2/+59
| | | | | | | | | 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 bugs in Solaris build.Kenneth Russel2003-07-141-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@26 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Ant build support, contributed by Rob Grzywinski and ArturKenneth Russel2003-07-149-10/+806
| | | | | | | | | | | | | | | 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-0824-75/+447
| | | | | | | | | 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-0324-299/+970
| | | | | | | | | | | | | | | | | | 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
* Checked in experimental Cg support and a couple of small demos. ByKenneth Russel2003-06-261-0/+67
| | | | | | | | | | | 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
* Initial Mac OS X port of Jogl by Gerard Ziemski and Kenneth Russell,Kenneth Russel2003-06-269-40/+793
| | | | | | | | | | 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-2522-1404/+17
| | | | | | | | | | | | 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
* Initial revisiondjp2003-06-08112-0/+42883
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@3 232f8b59-042b-4e1e-8c03-345bb8c30851