summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Fixed typos in glx-CustomCCode.c along Solaris #ifdef pathKenneth Russel2006-01-221-6/+6
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@559 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 179: Add documentation on importance of byte ordering Kenneth Russel2006-01-221-0/+14
| | | | | | | | Added text to the spec overview regarding setting byte order of newly-allocated ByteBuffers to native order. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@558 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 173: Adjust gamma, brightness and contrast Kenneth Russel2006-01-226-26/+97
| | | | | | | | | | | | | Added com.sun.opengl.util.Gamma supporting adjusting of gamma, brightness, and contrast. API and implementation derived from code in the LWJGL project. Added demos.gamma.TestGamma demo illustrating how to use the APIs. Tested on Linux, Mac OS X and Windows. No Solaris support at this time, although future Solaris releases, being based on the Xorg server, will probably have support for the required XF86VidMode extension. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@557 232f8b59-042b-4e1e-8c03-345bb8c30851
* Cleaned up how declarations for Mac OS X window system wrapperKenneth Russel2006-01-224-80/+50
| | | | | | | | | | | functions are specified. Now have their own header (which unfortunately could not be placed in the macosx stub_includes subdirectory due to build problems) in make/stub_includes/opengl/macosx-window-system.h. Deleted manual declarations for these functions from cgl-macosx.cfg. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@556 232f8b59-042b-4e1e-8c03-345bb8c30851
* Moved GlueGen out of the JOGL workspace and into its own project. Kenneth Russel2006-01-156-215/+70
| | | | | | | | | | | | | | | | Restructured JOGL and JOAL build processes to separately invoke GlueGen's main build.xml before using it to generate their code. Refactored OS/CPU detection code into gluegen-cpptasks.xml build file in GlueGen workspace, which is now imported by both the JOGL and JOAL build processes. Unfortunately it seems to be somewhat difficult to completely factor out the C compiler configuration into the GlueGen workspace so this has been left for a later date. Added missed ALProcAddressLookup file to JOAL workspace. Updated JOGL and JOAL build documentation. More documentation for the GlueGen workspace is forthcoming. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@542 232f8b59-042b-4e1e-8c03-345bb8c30851
* Revised JOGL's build.xml to look more like JOAL's with autodetection Kenneth Russel2006-01-142-230/+289
| | | | | | | | | | | | of OS and CPU. Added default "all" target. It is now no longer necessary to use the win32.vc6, etc. targets unless on Windows the jogl.properties file is old and does not contain the win32.c.compiler property. The nightly build setup will be adjusted for this and these now-unnecessary targets will be deleted in a subsequent checkin. Tested builds on Windows, Solaris and Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@540 232f8b59-042b-4e1e-8c03-345bb8c30851
* Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved Kenneth Russel2006-01-133-13/+11
| | | | | | | | | | | TextureIO-related classes to com.sun.opengl.util.texture and TextureProvider, TextureWriter and format-specific readers to com.sun.opengl.util.texture.spi. Renamed BufferUtils to BufferUtil. Added ImageUtil and FileUtil. Cleaned up javadoc. Updated demos. Cleaned up some imports. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@538 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build issue with MingW compiler pointed out by Justin CouchKenneth Russel2006-01-051-14/+3
| | | | | | | | where libjogl_awt.so was not being renamed; also cleaned up renaming of libraries on Mac OS X git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@518 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added contribution from user mabraham on JOGL forum with Microsoft Kenneth Russel2006-01-032-35/+45
| | | | | | | | | | Visual C++ 2005 (VC8) support. Deleted vc6.root and vc7.root properties as no longer being necessary. Updated build documentation to indicate that vcvars32.bat must be run before executing the appropriate ant target. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@511 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added checks on number of remaining elements and bytes for Buffers and Kenneth Russel2006-01-032-0/+141
| | | | | | | | | | arrays passed to certain APIs. Default is to not emit such range checks. The checks are currently most fully implemented for image- and texture-related APIs. Verified with debugging code and with demos that all textures used in demos are properly checked. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@509 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in struct layout introduced during recent rewrite to Kenneth Russel2005-12-311-9/+9
| | | | | | | | | | | | support simultaneous 32/64-bit struct accessor generation. Generated code has been validated on 64-bit platforms only by visual inspection so far but now appears correct. Tested and verified 32-bit build on Windows. Reorganized build process to generate JAWT interface later to allow cross-platform testing of generation of window system-specific code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@504 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in render-to-texture support on WindowsKenneth Russel2005-12-231-1/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@501 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored glue code generation for APIs requiring run-time lookup of Kenneth Russel2005-12-217-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | individual function pointers into generic ProcAddressEmitter. Removed all OpenGL-specific routines and names from this emitter. The new ProcAddressConfiguration is more generic than the GLConfiguration and supports mostly-arbitrary mappings from function names to function pointer typedefs via the new ProcAddressNameExpr directive. Refactored GLEmitter into thin layer on top of this ProcAddressEmitter providing only ignoring of extensions and checking for buffer object variants of functions. Made GLConfiguration a stand-alone class. Deleted ContextVariableName directive in favor of more generic GetProcAddressTableExpr command. Moved resetting of generated ProcAddressTables into GlueGen runtime class ProcAddressHelper; user provides the dynamic lookup function (dlsym, etc.) through new DynamicLookupHelper interface. Fixed bug in generation of Java epilogues for routines returning primitive values. Fixed bugs in AccessControl directive, in particular when generating interfaces. Made small changes to autogenerated comments for routines called through function pointers. These changes do not impact the public API of JOGL -- this has been verified by examining diffs between the current and new autogenerated code. They do make the GlueGen tool more generic and allow it to be easily applied to the task of autogenerating the JOAL API and implementation as well. Also verified by running JOGL demos and JOAL demos in new JOAL workspace. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@500 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-12-071-3/+3
| | | | | | | | | | | | | | | Obtained from: Submitted by: travis Reviewed by: Minor format change. Modified Files: make/spec-overview.html git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@487 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-12-071-1/+3
| | | | | | | | | | | Submitted by: Travis & Ken Document char* mapping for the bindings in the specification overview. Modified Files: make/spec-overview.html git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@485 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added thrown exception information for GLDrawableFactory'sKenneth Russel2005-12-051-6/+6
| | | | | | | | | createGLPbuffer, createExternalGLContext and createExternalGLDrawable. Fixed build breakage with last checkin. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@480 232f8b59-042b-4e1e-8c03-345bb8c30851
* Deleted inefficient and unnecessary bindings for gluProject,Kenneth Russel2005-12-051-79/+9
| | | | | | | gluUnProject and gluUnProject4. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@479 232f8b59-042b-4e1e-8c03-345bb8c30851
* Submitted by: Travisgfxadmin2005-12-031-87/+87
| | | | | | | | | | | | | | | Remove all NURBS constants from the GLU bindings. We are not publishing bindings to the NURBS subset of GLU in this release of the JSR-231 API. Previously, we removed the NURBS methods from the implementation/spec, but not the NURBS-related constants, as they are specified in GLU 1.3. Modified Files: make/glu-CustomJavaCode.java src/classes/com/sun/opengl/impl/error/Error.java ---------------------------------------------------------------------- git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@475 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added GLU projection-related entry points accepting Buffers as Kenneth Russel2005-12-031-0/+56
| | | | | | | arguments to round out the JSR-231 spec git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@472 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-11-191-1/+30
| | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Modified Files: build.xml Added javadoc.spec target. This builds the official JSR 231 javadocs only and excludes the com.sun.* APIs javadocs. We will generally only use this target for official spec submissions to jcp.org. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@455 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-11-181-184/+271
| | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Modified Files: spec-overview.html I added several more sections to the Specification overview document including: * Criteria Used for Inclusion of APIs into the Java Bindings * OpenGL Extensions * OpenGL Version on Runtime System * Future Maintenance Updates git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@454 232f8b59-042b-4e1e-8c03-345bb8c30851
* Submitted by: Travisgfxadmin2005-11-112-1/+235
| | | | | | | | | | | | | | Add first draft of Specification Overview section to the javadoc build on main javadoc Overview page. This will be evolving as we continue to make specification changes. Modified Files: make/build.xml Added Files: make/spec-overview.html git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@438 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-11-101-1/+1
| | | | | | | | | | Obtained from: Submitted by: travis Reviewed by: Fix native win32 jar aggregation error ; include AWT DLL into windows dist build git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@436 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed dist build problem pointed out by TravisKenneth Russel2005-11-101-5/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@434 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 180: Improve garbage generationKenneth Russel2005-11-101-4/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@432 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored JOGL's use of the JAWT to enable it to be more lazily Kenneth Russel2005-11-095-19/+88
| | | | | | | | | | | | | | | | | | loaded. Separated out AWT-specific native code into a new jogl_awt native library on all platforms. Added a static helper method to the JAWT class to fetch the JAWT which is now called by all users. Added a new NativeLibLoader entry point to load the native code for the AWT implementation. Renamed the X11 platform's "lockAWT" and "unlockAWT" methods to "lockToolkit" and "unlockToolkit", respectively. In order to change this behavior only two methods in X11GLDrawableFactory need to be overridden. (During the writing of this checkin comment it was noted that these methods are currently static, but that will be fixed in a subsequent checkin.) Added the new jogl_awt native library to the the "dist" target's error checking code. Tested on Windows; more testing, including build testing, is needed on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@429 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added error checking for "dist" builds to validate that all expected Kenneth Russel2005-11-091-2/+85
| | | | | | | files are in place before proceeding with the dist target. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@427 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed Javadoc footer to bottomKenneth Russel2005-11-021-5/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@417 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Javadoc footer with copyright and license informationKenneth Russel2005-11-021-5/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@416 232f8b59-042b-4e1e-8c03-345bb8c30851
* Merged JSR-231 branch on to the main JOGL trunk. The main trunk now Kenneth Russel2005-10-2455-4370/+3030
| | | | | | | | contains the evolving JSR-231 Reference Implementation and the JSR-231 branch is permanently closed. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@401 232f8b59-042b-4e1e-8c03-345bb8c30851
* show macosxfat as one of the available targetsGerard Ziemski2005-10-071-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@393 232f8b59-042b-4e1e-8c03-345bb8c30851
* add support for Mac OS X fat library (ppc and i386)Gerard Ziemski2005-10-062-1/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@392 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated vc7.root property declaration and documentationKenneth Russel2005-06-131-4/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@300 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made pbuffer code and in particular floating-point pbuffer code moreKenneth Russel2005-06-022-0/+4
| | | | | | | | correct on Mac OS X; problems still exist, however (very likely driver bugs) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@293 232f8b59-042b-4e1e-8c03-345bb8c30851
* Cleaned up Mac OS X context handling. Removed incorrect retain call onKenneth Russel2005-06-012-0/+2
| | | | | | | | | NSOpenGLContext. Removed NSOpenGLPFANoRecovery and NSOpenGLPFAAccelerated flags from pixel format. Added NSAutoreleasePools around Cocoa calls. Added stereo support. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@292 232f8b59-042b-4e1e-8c03-345bb8c30851
* Upgraded webstart binaries to 1.1 b12; updated HTML and JavaDoc; added Kenneth Russel2005-05-271-1/+1
| | | | | | | HDR demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@288 232f8b59-042b-4e1e-8c03-345bb8c30851
* Javadoc fixesKenneth Russel2005-05-271-9/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@287 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added first-cut support for floating-point pbuffers on Mac OS XKenneth Russel2005-05-202-2/+2
| | | | | | | (untested) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@276 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added more extension definitions from Apple's glext.h (including, and Kenneth Russel2005-05-192-1/+87
| | | | | | | in particular, GL_APPLE_float_pixels) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@275 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated to current glext.h, glxext.h and wglext.h Kenneth Russel2005-05-194-141/+501
| | | | | | | (including OpenGL 2.0 entry points) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@273 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added CgGL.cgCreateProgramFromStream and updated JOGL Cg demos to use Kenneth Russel2005-05-133-19/+47
| | | | | | | it so they can be run with Java Web Start. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@272 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Solaris/x86 support to build.xmlKenneth Russel2005-05-101-4/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@268 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed race conditions in Mac OS X onscreen context creation thatKenneth Russel2005-05-102-2/+4
| | | | | | | showed up after recent GLJPanel fix to clean up resource leaks. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@267 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 156: Patch to add linux.ia64 target Kenneth Russel2005-04-241-1/+25
| | | | | | | Applied patch from submitter. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@261 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 92: Platform Independent VSync functionality Kenneth Russel2005-04-246-0/+30
| | | | | | | | | Added GL.setSwapInterval() which delegates to appropriate platform-dependent routines. Must be called only from within GLEventListener callbacks. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@260 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 141: No NIO support in CgGL Kenneth Russel2005-02-231-0/+5
| | | | | | | A NioMode directive was missing from the cg-common.cfg file. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@237 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in gluScaleImage pointed out by user benjunmun on javagaming Kenneth Russel2005-02-221-0/+4
| | | | | | | forums. No test case yet, but fix seems correct. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@232 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem with glu-impl-macosx.cfg after enabling of GKW's pureKenneth Russel2005-02-071-3/+3
| | | | | | | Java port of mipmap and scaling routines git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@217 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem in glu-impl-x11.cfg after switch over to use GKW's pureKenneth Russel2005-02-072-8/+10
| | | | | | | | | Java port of GLU mipmap and image scaling routines. Fixed problem in attempted workaround to allow Cg libraries to be found on java.library.path. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@216 232f8b59-042b-4e1e-8c03-345bb8c30851
* Hooked in GKW's Java port of the GLU library's mipmap and image Kenneth Russel2005-02-076-18/+1852
| | | | | | | | | | | | | | | | | scaling operations. Added new ForceProcAddressGen directive to GlueGen to force the addresses of the C routines to be fetched even though the functions were being ignored by the core JavaEmitter. Cut down on the number of variants of gluScaleImage and associated routines. Changed the Java signatures of the affected methods to take Buffer again instead of ByteBuffer (as was done during prototyping) to attempt to maintain binary compatibility with current JOGL programs. Fixed bug / problem in gluScaleImage implementation where incorrect scaling of pixel values was being applied in Image.empty_image(); there may be additional problems here for other pixel types. Put debugging code in BuildMipmap under jogl.debug.BuildMipmap System property. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@215 232f8b59-042b-4e1e-8c03-345bb8c30851