aboutsummaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'swt_tests' into pulledSven Gothel2011-02-0238-0/+8311
|\
| * Added two simple SWT unit tests.Wade Walker2011-02-0238-0/+8311
| | | | | | | | | | | | | | | | 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.
* | unit test for Bug464 added (cleaned CRLF/merged version; own text subpackage)Domokun2011-02-011-2/+3
| |
* | JUnit: Adding Test*NOUI* test pattern for unit test w/o any UI (AWT/NEWT)Sven Gothel2011-02-011-1/+33
| |
* | test scripts..Sven Gothel2011-01-312-4/+4
| |
* | GLCapabilities enhancements: Choosing, All-Available, Data Handling (X11, ↵Sven Gothel2011-01-313-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-311-1/+1
| |
* | scripts: add new testsSven Gothel2010-12-232-8/+13
| |
* | JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444)Sven Gothel2010-12-192-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-192-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix WGL Bitmap Offscreen DrawableSven Gothel2010-12-165-7/+14
| | | | | | | | | | | | | | | | | | | | | | In conjunction with the gluegen investigation (gluegen: fbdedff789077b5ffa07811590f771b6f9a4f3a7), on Windows the type LONG is always 32bit, hence we have to declare: typedef __int32 LONG; Besides, WGL_DRAW_TO_PBUFFER_ARB and WGL_DRAW_TO_BITMAP_ARB were missing in the WGL/ARB attribute query, and the latter was not set in caps -> attributes. Added fail safe exception for null chosen caps, if X11/WGL algo fails to determine.
* | Add Version AppletSven Gothel2010-12-151-1/+1
| |
* | final cleanup test results archive :)Sven Gothel2010-12-151-3/+0
| |
* | final cleanup test results archive :)Sven Gothel2010-12-151-17/+12
| |
* | test-zip-archive cleanupSven Gothel2010-12-151-2/+2
| |
* | don't remove files @ test-zip-archiveSven Gothel2010-12-151-1/+1
| |
* | cleanup declare.common/initSven Gothel2010-12-151-5/+3
| |
* | merge test.run.setup with initSven Gothel2010-12-151-16/+14
| |
* | mkdir after delete: test results folderSven Gothel2010-12-151-1/+1
| |
* | archive test resultsSven Gothel2010-12-151-2/+19
| |
* | Fix jnlp files jar names and removed main attribute of jar refSven Gothel2010-12-153-12/+12
| | | | | | | | | | | | | | | | | | | | <module>.[win|x11|osx].jar -> <module>.os.[win|x11|osx].jar nativewindow.os.windows.jar -> nativewindow.os.win.jar newt.broadcomegl.jar -> newt.hw.broadcomegl.jar newt.intelgdl.jar -> newt.hw.intelgdl.jar removed non existing jnlp file for config gl2es12.
* | only kick off gluegen base.compileSven Gothel2010-12-131-8/+1
| |
* | Cleanup (removed obsolete class / imports) ; Cg fixSven Gothel2010-12-132-4/+4
| |
* | common folder etc: junit -> testSven Gothel2010-12-132-18/+18
| |
* | tests: test.auto.run (junit.run) and test.manual.runSven Gothel2010-12-133-15/+70
| |
* | Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; ↵Sven Gothel2010-12-136-122/+120
| | | | | | | | Compile posted Issue* Bug* snippets
* | Fix API doc: firstUIActionOnProcessSven Gothel2010-12-121-2/+2
| |
* | Newt: Add com.jogamp.newt.util.* package(s) to public javadocSven Gothel2010-12-121-1/+1
| |
* | NativeWindow: Move RegisteredClass to private impl packageSven Gothel2010-12-121-2/+0
| |
* | GLJPanel/GLPbufferImpl: destroy pbuffer reentrance fix; disable device close ↵Sven Gothel2010-12-122-4/+4
| | | | | | | | (X11 error on nvidia); reenable GLJPanel test
* | script updatesSven Gothel2010-12-127-12/+49
| |
* | Windows RegisterClass: Use new RegisteredClassFactory (window class), Misc.Sven Gothel2010-12-125-19/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This solves the issue when an applet is started/stop and started again, or another applet runs in the same JVM. Also soves the issue for multiple JVMs. RegisteredClassFactory can be instanced to manage one shared window class, currently in use for GDI's dummy window and NEWT. A class base name and a window proc handle must be passed in the factory cstr. Before registering, the class is tested if already exists, eg another applet in the same JVM. If registration fails, the class name will iterate until successful or MAX_INT reached, eg if multiple JVMs are running. Added NativeWindow Common Native Code.
* | Add javaws test scriptsSven Gothel2010-12-112-0/+17
| |
* | GDI: Add GetObjectType(..)Sven Gothel2010-12-101-0/+19
| |
* | GDI: Fix CreateDummyWindow: Use local getModuleHandle(NULL) and synchronize ↵Sven Gothel2010-12-093-12/+10
|/ | | | factory method.
* X11 DummyWindow: Pass size and set size in proxySven Gothel2010-12-041-1/+1
|
* JOGL: Proper handling of Read Drawable Support (if not supported), add query.Sven Gothel2010-11-284-7/+8
| | | | | | | | | | | | | | | | | | | Read Drawable feature reflects the make context current API having a seperate read drawable next to the write drawable (default). glXMakeContextCurrent(write, read, ..) On X11 a ready drawable is only supported for GLX >= 1.3, on Windows only if extension WGL_ARB_make_current_read is available, on EGL it's always supported, on OSX not at all. API cleanup GLContext: changes: setGLDrawableRead(GLDrawable) -> setGLReadDrawable(GLDrawable) new: isGLReadDrawableAvailable() new: getGLExtensionsString(); Access qualifier cleanup. GLContextImpl: GLVersionNumber moved out.
* Javadoc developer level must be 1.5 due to gluegen compile time pluginSven Gothel2010-11-271-1/+1
|
* GLCanvas: Fix disableBackgroundErase/X11, make drawable creation more ↵Sven Gothel2010-11-272-9/+11
| | | | | | | | | | | | | | | | robust, doc Java2D/AWT properties. On X11 disableBackgroundErase() must happen before native peer creation, this patch issues it before and after super.addNotify(). Make drawable creation more robust, ie only create a drawable in case the size is > 0x0 and do this check/create at display/paint in case size it not yet determined. Add documentation about Java2D/AWT properties impact on GLCanvas. Make JUnit tests on AWT/GLProfile's more robust, while adding frame validate() ensuring 1st paint will have a size, hence will create the drawable. This is necessary for eg. AMD GPU's and GL context > 3.
* Reduce the use of xml brackets to reduce potential hudson/junit xml parser ↵Sven Gothel2010-11-251-1/+1
| | | | exceptions
* Refined VersionInfo usageSven Gothel2010-11-251-8/+16
|
* NativeWindow/GDI: Adding ERROR_SUCCESS to make the code more clear.Sven Gothel2010-11-251-1/+2
|
* test scripts: add new AWT recreation testSven Gothel2010-11-252-2/+5
|
* AnimatorBase: add()/remove() - decorate change of drawables with ↵Sven Gothel2010-11-231-3/+3
| | | | pause()/resume() so it becomes a non critical to multithreading, hence display() or state change needs to be synced
* Add GLJPanel test (works better in jogl-demos though, need to copy)Sven Gothel2010-11-232-4/+6
|
* Manifest: Add URLSven Gothel2010-11-236-0/+6
|
* Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race conditionSven Gothel2010-11-231-2/+2
|
* Fix TestTransformFeedbackVaryingsBug407NEWT GLContext makeCurrent race conditionSven Gothel2010-11-231-2/+2
|