summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed build problem with recent 64-bit changes. Now force enum types Kenneth Russel2006-01-021-1/+6
| | | | | | | | to be int instead of long. Neither is really correct but int is probably more correct and its behavior is easier to explain than long. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@508 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build problems on X11 platforms after last checkinKenneth Russel2006-01-011-4/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@507 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed more problems related to recent restructuring of glue code Kenneth Russel2006-01-0110-76/+46
| | | | | | | | | | | | generation to support simultaneous 32- and 64-bit ports. Now uses size() (on Java side) and sizeof (on C side) when creating direct Buffers for struct accessors rather than passing MachineDescription down to JavaMethodBindingEmitter and CMethodBindingEmitter. Now uses 64-bit MachineDescription when sizing outgoing arguments and return types for bound methods. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@506 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 186: Incorrect mipmap images with gluBuild2DMipmaps Kenneth Russel2006-01-011-38/+39
| | | | | | | | | | Fixed bug in port of gluBuild2DMipmapLevelsCore from SGI's C code in the case where the unpack alignment was greater than the row width of the mipmap level. Changed debugging code to write Targa files. Added rewinds of buffers where they might be needed. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@505 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in struct layout introduced during recent rewrite to Kenneth Russel2005-12-312-90/+105
| | | | | | | | | | | | 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
* Removed references to JOGL from javax.media.opengl.Threading class Kenneth Russel2005-12-281-29/+31
| | | | | | | pointed out by Matzon on JOGL forum git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@503 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build breakage pointed out by Travis after recent Kenneth Russel2005-12-261-1/+2
| | | | | | | resetProcAddressTable refactoring git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@502 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in render-to-texture support on WindowsKenneth Russel2005-12-236-6/+5
| | | | 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-2121-652/+1147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated nightly buildgfxadmin2005-12-201-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@499 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-191-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@498 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-181-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@497 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-171-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@496 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-161-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@495 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-141-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@494 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-131-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@493 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-121-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@492 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-111-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@491 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-101-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@490 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-091-13/+13
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@489 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-081-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@488 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
* Updated nightly buildgfxadmin2005-12-071-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@486 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
* Refactored code on Windows and X11 constructing attribute lists for Kenneth Russel2005-12-065-261/+234
| | | | | | | | | | | wglChoosePixelFormatARB / glXChooseVisual / glXChooseFBConfig to unify code paths between on-screen drawables and pbuffers. This primarily enables multisampling for pbuffers. Made small change to Mac native code to stop specifying sample buffers if multisampling is not enabled. Tested with demos on Windows and X11. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@484 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-061-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@483 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed code inadvertently checked in along with Kenneth Russel2005-12-061-4/+0
| | | | | | | MacOSXOnscreenGLContext git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@482 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added MacOSXExternalGLContext support as suggested by Billy BiggsKenneth Russel2005-12-053-2/+101
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@481 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added thrown exception information for GLDrawableFactory'sKenneth Russel2005-12-052-9/+21
| | | | | | | | | 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
* Updated nightly buildgfxadmin2005-12-051-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@478 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-041-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@477 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-031-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@476 232f8b59-042b-4e1e-8c03-345bb8c30851
* Submitted by: Travisgfxadmin2005-12-032-90/+90
| | | | | | | | | | | | | | | 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
* Made throws clause for chooseGraphicsConfiguration follow documented Kenneth Russel2005-12-031-1/+2
| | | | | | | run-time exceptions git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@474 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made GLContext.setCurrent() protected based on feedback from user zero Kenneth Russel2005-12-031-5/+4
| | | | | | | on JOGL forum; ran by JSR-231 expert group git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@473 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added GLU projection-related entry points accepting Buffers as Kenneth Russel2005-12-032-48/+496
| | | | | | | 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
* Updated nightly buildgfxadmin2005-12-021-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@471 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-12-011-22/+22
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@470 232f8b59-042b-4e1e-8c03-345bb8c30851
* Initial attempt to revise documentation to be accurate with respect to Kenneth Russel2005-12-011-133/+170
| | | | | | | JSR-231 APIs git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@469 232f8b59-042b-4e1e-8c03-345bb8c30851
* (Dummy putback to get correct comment into CVS history -- last Kenneth Russel2005-12-011-0/+1
| | | | | | | | | | | | | checkin's comment was incorrect) Added JOGLAppletInstaller contributed by Lilian Chamontin with additional modifications for current JOGL. This enables deployment of unsigned applets which use JOGL. Added initial documentation and an example applet to the source base, not yet referenced by a live HTML page. Will deploy a test applet for JSR-231 beta 2. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@468 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed dead codeKenneth Russel2005-12-012-0/+735
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@467 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-291-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@466 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-281-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@465 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added GLCapabilitiesChooser argument (currently ignored) to Kenneth Russel2005-11-275-5/+12
| | | | | | | | GLDrawableFactory.createGLPbuffer() based on JSR-231 expert group's feedback. Updated GLJPanel and demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@464 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-261-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@463 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-251-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@462 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-241-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@461 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-231-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@460 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-221-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@459 232f8b59-042b-4e1e-8c03-345bb8c30851