summaryrefslogtreecommitdiffstats
path: root/src/native/ogl
Commit message (Collapse)AuthorAgeFilesLines
* j3dcore: remove a bunch of the native support code and classesHarvey Harrison2012-05-0331-28532/+0
| | | | Signed-off-by: Harvey Harrison <[email protected]>
* Update source code for GPLv2 licenseKevin Rushforth2008-02-2829-207/+368
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@892 ba19aa83-45c5-6ac9-afd3-db810772062c
* Source code changes for issue 491: Refactor platform-specific classes to use ↵Kevin Rushforth2007-05-163-22/+30
| | | | | | non-overlapping class names git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@842 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fix to Issse 486 : Java 3D hangs on some Windows Vista systemsChien Yang2007-04-304-12/+12
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@836 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue 239: Stencil buffer should be cleared at the start of each frameKevin Rushforth2007-03-291-10/+14
| | | | | | | | Note that the D3D code may still need to save/restore the stencil write mask and enable flag. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@804 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue 239: Stencil buffer should be cleared at the start of each frameKevin Rushforth2007-03-261-14/+30
| | | | | | | | | | | | This partial fix adds a new "j3d.stencilClear" boolean property that specifies whether the stencil buffer is cleared every frame by default. Note that this is the first part of the partial fix. We still need to finish the D3D code, and we need to verify whether the stencil mask needs to be saved/forced to all 1s/restored git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@802 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Implemented Issue 126 : Use OpenGL automatic mipmap generationChien Yang2007-03-211-12/+36
| | | | | | | 2) Fixed Issue 408 : Poor quality of auto-generated mipmaps git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@799 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed a typo in native pipe.Chien Yang2007-03-091-8/+7
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@795 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed a logic bug setting gl version flags.Chien Yang2007-03-091-14/+12
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@794 ba19aa83-45c5-6ac9-afd3-db810772062c
* Update ogl native and set gl13 to true too.Chien Yang2007-03-091-0/+3
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@793 ba19aa83-45c5-6ac9-afd3-db810772062c
* Added support to query GL_SGIS_generate_mipmap and GL_VERSION_1_4 (OpenGL only).Chien Yang2007-03-092-2/+14
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@790 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Fix Issue 455 : Need to disable NPOT textures for older cards that claim ↵Chien Yang2007-03-071-1/+9
| | | | | | | | | to support it. 2) Clean up NPOT texture support. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@787 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed issue 452: Java 3D should fall back to D3D if OpenGL not availableKevin Rushforth2007-03-063-8/+433
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@785 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Fixed Issue 414 : D3D: NPOT textures not properly disabled on card that ↵Chien Yang2007-03-063-64/+0
| | | | | | | | | lacks support 2) Redo NPOT support by pushing all control logic to Java side. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@784 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed a VC compiler issue on using a method without first declare.Chien Yang2007-03-011-1/+1
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@782 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) OGL and JOGL only : Fix to Issue 415 : Need ability to disable NPOT ↵Chien Yang2007-02-281-7/+9
| | | | | | | | | textures for raster/background 2) Minor fix on when to call setHasMultiSample(). At present this method is not called, but getHasMultiSample() is used. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@781 ba19aa83-45c5-6ac9-afd3-db810772062c
* Sync up with the latest versions of glext.h and wglext.h.Kevin Rushforth2007-02-262-57/+839
| | | | | | | | | Note that these new versions no longer use the SGI FreeB license, but instead use an MIT license. The THIRDPARTY-LICENSE-GLEXT.txt file has been updated to reflect this. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@780 ba19aa83-45c5-6ac9-afd3-db810772062c
* Update copyright to 2007Kevin Rushforth2007-02-0928-28/+28
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@773 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) VC7 and VC8 compile ready for ogl and d3d.Chien Yang2007-01-1010-33/+48
| | | | | | | 2) Cleanup d3d build.xml script to closely resemble ogl build.xml. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@768 ba19aa83-45c5-6ac9-afd3-db810772062c
* VC8 ready. Removed obsolete option, and suppress VC8 deprecated warning.Chien Yang2007-01-095-10/+16
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@766 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Fixed Issue 349 : OffScreen Canvas3D needlessly forces power-of-two for ↵Chien Yang2006-10-281-11/+39
| | | | | | | | | | its buffer 2) Fixed Issue 371 : Poor raster quality for systems that don't support NPOT textures 3) Minor clean up to native piples git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@731 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Ported readRaster, executeRasterDepth, readOffScreenBuffer, and partially ↵Chien Yang2006-10-191-154/+0
| | | | | | | | | done on textureFillBackground. 2) Removed unuse code in ogl and d3d. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@722 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed a previous change that broke Cg build.Chien Yang2006-10-111-1/+11
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@716 ba19aa83-45c5-6ac9-afd3-db810772062c
* Remove the bit of VC 64bit compilation warningChien Yang2006-10-062-2/+2
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@715 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Fixed a logic bug in earlier putbackChien Yang2006-10-067-25/+14
| | | | | | | | 2) Fixed Issue 352 : VC compiler generates warning on Windows AMD64 build 3) Clean up build script and code to eliminate warning from VC compiler. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@714 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed a typo.Chien Yang2006-10-061-1/+1
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@713 ba19aa83-45c5-6ac9-afd3-db810772062c
* Clean up native resources and print error message if SetPixelFormat fail.Chien Yang2006-10-063-4/+19
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@712 ba19aa83-45c5-6ac9-afd3-db810772062c
* Source code changes for issue 358: Document that OGL 1.2 is supported, but ↵Kevin Rushforth2006-10-041-7/+1
| | | | | | at reduced functionality git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@709 ba19aa83-45c5-6ac9-afd3-db810772062c
* Merged dev-1_5 branch back to MAIN trunkKevin Rushforth2006-09-2926-3373/+2251
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@701 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed issue 338 : Bug in glPushAttrib usage in NativePipelineChien Yang2006-08-091-3/+3
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@655 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed issue 223 : VM crashes when execute IndexedGeometryArray object with ↵Chien Yang2006-01-131-0/+3
| | | | | | Texture coordinates git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@503 ba19aa83-45c5-6ac9-afd3-db810772062c
* Updated Copyright date to 2006Kevin Rushforth2006-01-0529-29/+29
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@492 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue 78: Rendering stops if there's an exception in the EventDispatchKevin Rushforth2005-12-203-25/+50
| | | | | | | | Issue 204: linux-amd64 build needs support for Cg Issue 212: PureImmediate test fails to rotate git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@480 ba19aa83-45c5-6ac9-afd3-db810772062c
* Change style in checking native boolean variable.Chien Yang2005-12-131-3/+3
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@479 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed Issue 201: D3D : UnsatisfiedLinkError encountered with closing windowsKevin Rushforth2005-12-131-1/+1
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@478 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Fixed issue 175 : OffScreenRendering: Issue with Updating Texture Size ↵Chien Yang2005-12-131-4/+26
| | | | | | | | | from Behavior. 2) Fixed issue 208 : Sound nodes cannot be placed below Switch groups git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@476 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed the following issues:Kevin Rushforth2005-12-0513-22/+248
| | | | | | | | Issue 202: Need to upgrade to latest glext.h header file Issue 203: System.currentTimeMillis is too inaccurate on Windows for fine-grained timing git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@475 ba19aa83-45c5-6ac9-afd3-db810772062c
* Comment out "VERBOSE" setting for debug builds (I didn't mean to check it in)Kevin Rushforth2005-11-231-1/+1
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@468 ba19aa83-45c5-6ac9-afd3-db810772062c
* Bump version to beta2 in prep for buildKevin Rushforth2005-11-231-1/+1
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@467 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue 196 : Finish CgShader shader attributes native methodsKevin Rushforth2005-11-235-125/+828
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@466 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue 195 : Finish CgShader vertex attributes native methodsKevin Rushforth2005-11-163-203/+164
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@464 ba19aa83-45c5-6ac9-afd3-db810772062c
* Merged changes from dev-1_4 branch into the main trunk.Kevin Rushforth2005-10-1731-1893/+10285
| | | | | | | NOTE: all 1.4 development will now proceed on the main trunk. The dev-1_4 branch is closed. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@445 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fix for Issue 111 (Java 3D doesn't recognize OpenGL 2.0)Kevin Rushforth2005-03-141-1/+5
| | | | | | | | | | Issue number: 111 Obtained from: kcr Submitted by: kcr Reviewed by: jada git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@158 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed issue 105 : Build for IA64 (Itanium) 64-bit Linux.Chien Yang2005-02-241-0/+57
| | | | | | | Thanks to Ian (dr_grim) for his code contribution. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@137 ba19aa83-45c5-6ac9-afd3-db810772062c
* Bumped Copyright date to 2005Kevin Rushforth2005-02-1823-23/+23
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@127 ba19aa83-45c5-6ac9-afd3-db810772062c
* Update comment : change issue 97 to issue 104Chien Yang2005-02-151-2/+2
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@123 ba19aa83-45c5-6ac9-afd3-db810772062c
* Fixed to issue 99 : Cannot build native bits in j3d-core with Sun Studio 10.Chien Yang2005-02-151-2/+2
| | | | git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@122 ba19aa83-45c5-6ac9-afd3-db810772062c
* 1) Fixed to issue 97 - ATI video card related - Lockup, lose hardware ↵Chien Yang2005-02-142-16/+34
| | | | | | | | | | acceleration and crash OS. 2) Fixed to issue 98 - Random Lockup when adding a Canvas3D to JTabbedPane. 3) Partial fix to issue 100 - Offscreen Capture crash JVM. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@120 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue number: 5Kevin Rushforth2004-12-231-1/+23
| | | | | | | Fixed Issue 5 (FlyingGuns crash in native code on Canvas removal). git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@94 ba19aa83-45c5-6ac9-afd3-db810772062c
* Issue number: 91Kevin Rushforth2004-12-212-22/+44
| | | | | | | | | | Implemented feature request for Issue 91: Added two new properties, native.vendor and native.renderer, which return the name of the vendor and the renderer string from the native library. Currently D3D sets these properties to "<UNKNOWN>". git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@93 ba19aa83-45c5-6ac9-afd3-db810772062c