summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'wwalker/bug_461_offscreen_supersampling' into pulledSven Gothel2011-02-021-0/+173
|\
| * Add unit test for bug 461, offscreen supersamplingWade Walker2011-01-261-0/+173
| | | | | | | | | | | | | | This is a unit test for a bug that occurs on Windows when the stencil buffer is turned on for an offscreen buffer. This bug doesn't appear on CentOS 5.4, or in JOGL 1.1.1.a.
* | Merge remote branch 'wwalker/bug_463_gluScaleImage_memory' into pulledSven Gothel2011-02-022-1/+117
|\ \
| * | Fix bug 463 where gluScaleImage consumes all memoryWade Walker2011-01-252-1/+117
| |/ | | | | | | | | | | | | | | Changes the Type_Widget.java constructor to allocate a normal buffer instead of a direct buffer. Apparently JVMs can't allocate small direct buffers efficiently, and since Type_Widget is called inside tight loops millions of times, we can't afford to do it this way. This commit restores it to how it was in JOGL 1.
* | Merge remote branch 'wwalker/bug_459_shader_compilation' into pulledSven Gothel2011-02-021-0/+162
|\ \
| * | Add test case for bug 459 shader compile failureWade Walker2011-01-161-0/+162
| |/ | | | | | | | | | | | | This commit adds a test case for bug 459, where compilation of a vertex buffer fails on Windows when the stencil cap is requested. This bug is Windows-only; it works on Mac OS X and CentOS.
* | Merge remote branch 'wwalker/bug_457' into pulledSven Gothel2011-02-023-0/+80
|\ \
| * | Created Eclipse project files.Wade Walker2011-01-113-0/+80
| |/ | | | | | | | | | | | | Created the Eclipse project files needed to build jogl. These files don't contain any absolute paths, but they do depend on the user setting up the JRE and Ant properly inside Eclipse.
* | Merge remote branch 'wwalker/bug_417' into pulledSven Gothel2011-02-024-2/+155
|\ \
| * | Fixed to work properly in the Ant junit.run.* taskswwalker2011-01-042-11/+15
| | | | | | | | | | | | | | | | | | Fixed the texture load to come from a resource stream so it'll work when run from inside a JAR by the junit.run.* Ant tasks. Also modified the test JAR build step to include any resource files in the test source code directory.
| * | Added unit test for bug 417; bug already gonewwalker2010-12-313-1/+150
| |/ | | | | | | | | | | I added a unit test for bug 417 (error loading grayscale texture with TextureIO). The test works fine, so the bug must have been fixed unknowingly after submission.
* | Fixed bug 450 (unrendered right side of GLJPanel in Gears)wwalker2011-02-022-1/+164
| | | | | | | | | | | | | | | | This bug caused the right sides of GLJPanels not to render if the panel is wider than its height (all pixels with x > height would be black). Wrote a unit test to sense the problem by reading an unrendered pixel back out of the frame, then fixed the typo in GLDrawableFactoryImpl.java that caused the error.
* | Add section for make/lib to cover new SWT blobsSven Gothel2011-02-021-0/+8
| |
* | Fix GLProfile tests: default is max-fixed-pipeline, use GL2 insteadSven Gothel2011-02-023-43/+18
| |
* | Fix SWT tests in due to changes, minor linux fixSven Gothel2011-02-025-118/+98
| |
* | Merge branch 'swt_tests' into pulledSven Gothel2011-02-0241-0/+8766
|\ \
| * | Added two simple SWT unit tests.Wade Walker2011-02-0241-0/+8766
| | | | | | | | | | | | | | | | | | | | | | | | Added a test that draws one triangle, using both the SWT canvas and the AWT canvas with the SWT_AWT bridge. Also added the SWT JARs for each platform to make/lib (since that's where antlr.jar and junit.jar were stored). Modified the make files to build and run the new tests.
* | | Fix: Missed package renameSven Gothel2011-02-012-2/+58
| | |
* | | unit test for Bug464 added (cleaned CRLF/merged version; own text subpackage)Domokun2011-02-014-2/+419
| | |
* | | Bugfix (Bug 464 - TextRenderer useVertexArray was ignored)Domokun2011-02-011-5/+5
| | |
* | | TextRenderer: Fix imports / Add jogamp licenseSven Gothel2011-02-012-5/+2
| | |
* | | junit glu: proper path and NOUI class suffixSven Gothel2011-02-012-4/+4
| | |
* | | JUnit tests for gluProject and gluUnprojectJulien Gouesse2011-02-012-0/+59
| | |
* | | JUnit: Adding Test*NOUI* test pattern for unit test w/o any UI (AWT/NEWT)Sven Gothel2011-02-011-1/+33
| | |
* | | Fixes the problem of high memory consumption in TextRenderer (single merged ↵Julien Gouesse2011-02-011-6/+39
| | | | | | | | | | | | w/o whitespace)
* | | test scripts..Sven Gothel2011-01-312-4/+4
| | |
* | | JOGL change of default GLProfile order: GL4bc, GL3bc, GL2, GL2GL3, GL4, GL3, ↵Sven Gothel2011-01-315-27/+91
| | | | | | | | | | | | GL2ES2, GLES2, GL2ES1, GLES1
* | | Fix: In case no shared resource is available, query the GLXVersion.Sven Gothel2011-01-311-0/+5
| | |
* | | Fix WindowsDummyWGLDrawable: onscreen && !pbufferSven Gothel2011-01-311-1/+0
| | |
* | | GLCapabilities enhancements: Choosing, All-Available, Data Handling (X11, ↵Sven Gothel2011-01-3141-1032/+1829
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WGL and EGL) - GLDrawableFactory exposes: public final List/*GLCapabilitiesImmutable*/ getAvailableCapabilities(AbstractGraphicsDevice device) - GLCapabilities platform specialization containing native ids (XVisual/FBConfig, PFD, EGLConfig, ..) - GLCapabilities setPbuffer(true) disables onscreen - Capabilities setOnscreen(true) disables pbuffer - Capabilities implements Comparable - *Capabilities: enhanced 'toString(..)' - CapabilitiesChooser.chooseCapabilities: 'CapabilitiesImmutable[] available' -> 'List /*<CapabilitiesImmutable>*/ available' - VersionApplet, GLCanvas.main, GLWindow.main, GLProfile/debug: dumps all available GLCaps - WGLGLCapabilities: proper non-displayeble (pbuffer) pfdid handling TODO: ES/EGL test with emulation
* | | version bump: j2se 1.6.0_23, ant 1.8.2Sven Gothel2011-01-317-20/+20
| | |
* | | Fix: GLX exception message / sorted importsSven Gothel2011-01-315-8/+12
| |/ |/|
* | scripts: add new testsSven Gothel2010-12-232-8/+13
| |
* | NB: Fix test folder (missed at src/junit -> src/test renaming)Sven Gothel2010-12-232-3/+3
| |
* | AMD/X11: Added AMD/X11 workaroundSven Gothel2010-12-232-17/+52
| | | | | | | | | | On AMD/X11 the create/destroy sequence must be the same even though this is agains the chicken/egg logic here ..
* | Fix WindowClosingProtocol test, using new AWTRobotUtilsSven Gothel2010-12-233-79/+39
| |
* | TestCloseNewtAWT: Use new AWTRobotUtil.closeWindow()Sven Gothel2010-12-231-18/+2
| |
* | GLCanvas: lock/sync drawable usage ; remove destroyed refs (context, ↵Sven Gothel2010-12-231-17/+104
| | | | | | | | drawable, awtConfig) ; Try create/destroy AbstractGraphicsDevice on EDT
* | Cleanup / DebugSven Gothel2010-12-234-5/+15
| |
* | NEWT: Add WindowListener.windowDestroyed() ; Remove WindowImpl.windowDestroyed()Sven Gothel2010-12-2316-58/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | Add WindowListener.windowDestroyed() To expose a proper window lifecycle, ie destroy-notify and destroyed, this notification is added. This will be used at least in unit tests, where we verify destruction. Remove WindowImpl.windowDestroyed(): This native hook (planned to be called by native destroy notification) is unreliable or not supported for all platforms. NEWT relies on the pre destroy native hooks and handles the final destroy notification itself.
* | Always issue GLEventListener's initialization, if provoked by ctx creationSven Gothel2010-12-221-1/+8
| |
* | Fix WGL bitmap regression while fixing it ↵Sven Gothel2010-12-221-2/+1
| | | | | | | | (96a0e0706258824c1dd524d4cbd7682a904b84f4)
* | JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444)Sven Gothel2010-12-1921-175/+1113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to JFrame's closing behavior, the following components window closing follow the new WindowClosingProtocol: - GLCanvas - GLJPanel - NEWT Window, GLWindow - NEWT NewtCanvasAWT The implementation obeys either 1) the user value set by this interface, 2) an underlying toolkit set user value (JFrame, ..) 3) or it's default, eg. {@link #DO_NOTHING_ON_CLOSE DO_NOTHING_ON_CLOSE} within an AWT environment. If none of the above determines the operation, this protocol default behavior {@link #DISPOSE_ON_CLOSE DISPOSE_ON_CLOSE} shall be used.
* | test scripts .. VersionAppletSven Gothel2010-12-192-3/+5
| |
* | Adding NVIDIA 'Threaded optimization' workaround/fix at initialization on ↵Sven Gothel2010-12-195-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows for javaws/applets. It has been observed that for some combinations, eg: - Windows 7 64bit (other variants may apply too) - NVIDIA 8600M GT - 260.99 the NVIDIA setting of 'Threaded optimization' := 'auto' (default) causes the JVM to simply crash in case of javaws and [jnlp] applets. 'Threaded Optimization' := 'off' works reliable 'Threaded Optimization' := 'on' never works with javaws and applets on the above configuration A user could workaround this by setting 'Threaded Optimization' := 'off', however, this would disable many users on the spot, since you cannot ask the average user for such a task, if she only wants to see a web page. This patch 'fixes' the 'auto' mode by running the eager GL profile initialization within a block of single CPU affinity: SetProcessAffinityMask(pid, 1); try { initProfilesForDeviceImpl(device); } finally { SetProcessAffinityMask(pid, sysValue); } Hopefully we can remove this hack with a driver fix. However this workaround is as little invasive as possible.
* | GLDrawableFactory: Add getFactory(AbstractGraphicsDevice device)Sven Gothel2010-12-191-1/+20
| |
* | Fix GLProfile initProfilesForDevice and DEBUG ; Fix JoglVersion.getGLInfoSven Gothel2010-12-192-35/+36
| | | | | | | | | | | | | | | | GLProfile.initProfilesForDevice: use either desktop or egl factory on one device GLProfile.DEBUG: Print proper factory instance, full device JoglVersion.getGLInfo: Print only availability of used device, otherwise we could kick off initialization
* | Debug/Cleanup: toString: print base classname only; Misc ..Sven Gothel2010-12-1910-11/+26
| |
* | WindowsWGLContext: Proper var names, misc cleanupSven Gothel2010-12-181-17/+22
| |
* | convenient internal queries for sharedSven Gothel2010-12-181-0/+12
| |