aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Added OpenGL 1.5 support. Updated glext.h, wglext.h, and glxext.h from Kenneth Russel2004-04-223-100/+160
| | | | | | | | | | extension registry; these now include only very few changes relative to the master version. Fixed bugs in GlueGen and PCPP to make it parse the verbatim headers and to emit correct glue code for some newly-exercised constructs like char**. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@115 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problems in WindowsGLContext and TraceGL pointed out by jonmeyer Kenneth Russel2004-04-222-1/+9
| | | | | | | on JOGL forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@114 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated context creation code to unpack GLCapabilities object in JavaKenneth Russel2004-04-212-48/+35
| | | | | | | rather than in C using JNI. Added full-scene antialiasing (FSAA) support. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@113 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 28: All functions that take arrays as parameters should also ↵Kenneth Russel2004-04-214-65/+357
| | | | | | | | | take buffers Fixed Issue 36: glSelectBuffer/glFeedbackBuffer need direct buffers git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@112 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added full-scene antialiasing (FSAA) supportKenneth Russel2004-04-203-43/+61
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@111 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added test to not try to use WGL_ARB_multisample unless it's supportedKenneth Russel2004-04-141-7/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@109 232f8b59-042b-4e1e-8c03-345bb8c30851
* Initial support for multisample / full-scene antialiasing (FSAA); Kenneth Russel2004-04-135-50/+381
| | | | | | | currently on Windows, X11 and other ports to follow git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@108 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Javadoc problemsKenneth Russel2004-04-1213-179/+360
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@107 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Javadoc problemsKenneth Russel2004-04-122-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@104 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build problems in X11SunJDKReflection.javaKenneth Russel2004-04-091-14/+25
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@98 232f8b59-042b-4e1e-8c03-345bb8c30851
* Intermediate checkin of improved visual selection mechanism. Intended Kenneth Russel2004-04-091-0/+90
| | | | | | | | | | | to fix problems on X11 platforms including inability to choose a visual and lack of multi-head support, as well as to improve the selection algorithm on all platforms by allowing the window system to provide a recommended visual selection. Lays the groundwork for full-scene antialiasing and multihead support on multiple platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@97 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build problem with fix for Issue 25: Expose swapBuffers(), pleaseKenneth Russel2004-04-092-0/+38
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@95 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 25: Expose swapBuffers(), please Kenneth Russel2004-04-0817-33/+84
| | | | | | | Fixed Issue 31: Make it safe to remove listeners from a GLDrawable while handling an event git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@93 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 68: Window system-specific JAWT classes must implement ↵Kenneth Russel2004-03-152-6/+57
| | | | | | JAWT_PlatformInfo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@90 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed debugging printfsKenneth Russel2004-03-151-4/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@89 232f8b59-042b-4e1e-8c03-345bb8c30851
* Multiple pixel format changegregorypierce2004-02-281-1/+1
| | | | | | | | | | Issue number: Obtained from: Submitted by: Reviewed by: git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@83 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated for OSX custom pixel format.gregorypierce2004-02-281-8/+48
| | | | | | | | | | Issue number: Obtained from: Submitted by: Gregory Pierce Reviewed by: git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@82 232f8b59-042b-4e1e-8c03-345bb8c30851
* Initial version 1.0.0-b01djp2004-02-181-0/+104
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@80 232f8b59-042b-4e1e-8c03-345bb8c30851
* Undid previous change which turned out to be incorrect.Kenneth Russel2004-01-301-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@79 232f8b59-042b-4e1e-8c03-345bb8c30851
* Applied bug fix to GLU tesselator from [email protected].Kenneth Russel2004-01-291-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@78 232f8b59-042b-4e1e-8c03-345bb8c30851
* 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