summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* UnitTests NEWT: Place GLProfile.initSingleton(true) to @BeforeClass method, ↵Sven Gothel2011-08-317-27/+39
| | | | ensuring init after UI Lock
* UnitTests AWT: Remove GLProfile.initSingleton(true) and ensure AWT-dispose ↵Sven Gothel2011-08-3127-79/+70
| | | | | | | | | | | happens on AWT-EDT We will use the default implicit call of GLProfile.initSingleton(false). (This is the same case as for AWT applets as.) We shall create extra test cases for AWT + GLProfile.initSingleton(true) to test it's stability. However .. to nail down our test instability w/ AMD's fglrx driver we move to the default behavior.
* UnitTest UI: SingletonInstance Lock at @BeforeClass - before all other ↵Sven Gothel2011-08-311-2/+2
| | | | sub-class calls
* Test: Cleanup warnings; Add GLProfile.initSingleton(true) call for ↵Sven Gothel2011-08-3011-7/+33
| | | | | | | | | | fluctuating NEWT tests Add GLProfile.initSingleton(true) call for fluctuating NEWT tests - Some of these tests even fail in the <init> state, i.e. cause a JVM stack dump around an early GLX createContext method only when issued via Jenkins. The Ubuntu 11.04/64bit Jenkins node runs 2 nodes (32 and 64 bit). TODO: Find cause.
* TestFocus01SwingAWTRobot: Run AWT destruction on AWT-EDTSven Gothel2011-08-302-12/+18
|
* TestGLDebug*: Remove Thread.dumpStack() ..Sven Gothel2011-08-302-4/+2
|
* TestAWTTextRendererUseVertexArrayBug464: Run AWT destruction on AWT-EDTSven Gothel2011-08-301-4/+13
| | | | | This fixes the _XSend X11 error on GLX commands using AMD driver .. proper cause unknown, but probably a race or condition or threading issue (Display usage by diff threads).
* Cont w/ 5a7811ecd23a3ab1af62b243c82d362431793a57: test-x*.shSven Gothel2011-08-302-4/+11
|
* Use GlueGen's setenv-build-jogl scripts from commit ↵Sven Gothel2011-08-304-29/+15
| | | | 4a75b64107e157ff1db3991cf89bf8d856ddc0e6
* SWT/AWT Test: Run AWT destruction on AWT-EDT, issue shell.close() before ↵Sven Gothel2011-08-301-4/+8
| | | | | | | shell.dispose() This fixes the _XSend X11 error on GLX commands using AMD driver .. proper cause unknown, but probably a race or condition or threading issue (Display usage by diff threads).
* Fix NEWT regression due to fix of bug 502, commit ↵Sven Gothel2011-08-303-9/+17
| | | | | | | | | | | | 9ed513e9a9616f6028084df4c650c8caf31ea49d In case of exessive destroy/create (the NEWT reparenting test cases), some dpyEDT events are slipping through the event dispatcher. This fix uses issues more XSync on both Display connection in case of 'requestFocus' and 'closeWindow'. 'requestFocus' also uses the dpyEDT to issue the XSetInputFocus(..), since it's EDT related.
* Complete commit cb4e73183103c13d8bcf7c7667e1b9ea181e1f5f (sorry)Sven Gothel2011-08-301-4/+4
|
* NEWT Window/WindowImpl: Add generics - addChild()/removeChild() return ↵Sven Gothel2011-08-302-44/+54
| | | | boolean, see Collection::add/remove
* Tests: Comment GLProfile.initSingleton(false), which is redundant / implicit.Sven Gothel2011-08-305-5/+5
|
* ShaderState Usage/Test: Add setShaderState(GL) for pre-use attachment to the ↵Sven Gothel2011-08-305-62/+92
| | | | | | | | | | | GL context ; GLArrayDataClient-GLSL: Check if ShaderState is attached. ShaderState Usage/Test: Add setShaderState(GL) for pre-use attachment to the GL context - test cases utilize ShaderState before useProgram() was invoked, hence we need an API entry to attach the ShaderState explictly GLArrayDataClient-GLSL: Check if ShaderState is attached. - catch error case of non bound ShaderState to GL context
* JAWTWindow.getLocationOnScreen(): Add proper JAWT lockSurface() ; X11Util: ↵Sven Gothel2011-08-303-42/+35
| | | | | | | | | use System.err ; TestParenting02AWT: use GearsES2 JAWTWindow.getLocationOnScreen() - Add proper JAWT lockSurface() - Turns out that the parent location query of a NEWT child to an [J]AWT window didn't lock the window
* Proper classpath for all javah commands, using 'rootrel.build'Sven Gothel2011-08-303-23/+29
|
* Merge remote-tracking branch 'remotes/wwalker/bug_512_no_build_with_Java_7'Sven Gothel2011-08-302-2/+2
|\
| * Fix classpaths to work with Java 7's javahWade Walker2011-08-252-2/+2
| | | | | | | | | | | | Java 7's javah requires all referenced classes to be classpath, even if they're just method parameters and never instantiated. Java 6's version of javah didn't require this.
* | NEWT: Add comment in API doc ; Use more generics in impl.Sven Gothel2011-08-302-7/+9
| |
* | Workaround (Fix) for Bug 502: Multithreading issue w/ libX11 1.4.2 and ↵Sven Gothel2011-08-304-44/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libxcb 1.7 bug 20708 See https://jogamp.org/bugzilla/show_bug.cgi?id=502 Since the libX11/xcb code doesn't seem to be fixed anytime soon a better usable workaround is required than using a system property to enable 'over locking'. It turns out that the race condition is related to the parallel X11 Display connection usage of GLX/OpenGL and event dispatching. This workaround utilizes 2 X11 Display handles, one for windowing/OpenGL and one for event dispatching. This approach allows us to cont. multithreading use w/o locking the display and works on both implementations, the old bug-free libX11 and the 'new' buggy one. Downside is the little resource overhead of the 2nd X11 Display connection .. well. - Removes the property: 'nativewindow.x11.mt-bug'
* | minor: update script / vsync changes in test w/ 2 windowsSven Gothel2011-08-302-15/+17
| |
* | GLSL DataArray/Handler: Remove ShaderState state and pass it through: ↵Sven Gothel2011-08-3031-353/+668
| | | | | | | | | | | | | | | | | | ShaderState.getShaderState(gl) This removes the dependency of a GLSL GLDataArray object to a specific ShaderState and enables sharing of this VBO data, i.e. via a shared context. Test: TestSharedContextVBOES2NEWT
* | Update README.txt and REPOSITORIES.txtSven Gothel2011-08-242-7/+21
|/
* NEWT/ScreenMode: Fix Bug 456 - Reset to orig ScreenMode when exit (normal or ↵Sven Gothel2011-08-247-48/+209
| | | | ctrl-c) ; Generics Coding
* Cleanup: Java Generics Use and Removed Unused MethodsSven Gothel2011-08-2416-122/+101
|
* GLCapabilitiesImmutable: No need to extend WriteClonable explicitly, ↵Sven Gothel2011-08-241-1/+1
| | | | extended by super class
* Fix Bug 500: gl.getGL4() fails even though the context is GL4Sven Gothel2011-08-231-1/+1
|
* Also tackles bug 510, only lookup global on Android. See gluegen commit ↵Sven Gothel2011-08-221-2/+9
| | | | 58469fd2343039c195a88d0b171ba9af2dce40be
* test.sh ..Sven Gothel2011-08-221-2/+2
|
* API Change GLArrayDataWrapper/GLArrayDataServer: Add vboTarget to wrapper ↵Sven Gothel2011-08-227-37/+82
| | | | | | cstr and add interleaved seg. vboTarget is required in case of interleaved segments to allow eg. interleaved indices.
* Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where ↵Sven Gothel2011-08-222-6/+6
| | | | GLDataArrayHandler throws an exception in cstr if not VBO, but VBO usage is determined later
* Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where ↵Sven Gothel2011-08-2213-121/+235
| | | | VBO/attribute binding wasn't updated (VBO data written, shader change/switch attribute on same location) ; Optimized interleaved GLSL VBO binding, hence split up GLArrayHandler syncData/enableState
* test scripts: use new demos.gl2 locationSven Gothel2011-08-221-5/+5
|
* win32 test scripts: use new *all* locationsSven Gothel2011-08-226-11/+14
|
* reloc test: demos.gl2.gears -> demos.gl2, etcSven Gothel2011-08-2234-36/+42
|
* NewtVersionActivity: Remove 'gears' test; Version Info: Drop ↵Sven Gothel2011-08-228-31/+31
| | | | NativeWindow/Newt Version since we use *all* targets
* Add missing GearsES2 NEWT test hookSven Gothel2011-08-221-0/+136
|
* Add Dominik's ElektronenMultiplizierer (GL2ES2, NEWT) versionSven Gothel2011-08-223-0/+1227
|
* Misc Rename/Reloc; GLArrayData*/PMVMatrix enhancments; Test fixes/adds ↵Sven Gothel2011-08-2278-1424/+2174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GearsES1/ES2) rename/reloc: - javax.media.nativewindow.util: DimensionReadOnly -> DimensionImmutable PointReadOnly -> PointImmutable RectangleReadOnly -> RectangleImmutable unified 'immutable' name as used within jogamp already - remove array handler from public API com.jogamp.opengl.util.GL*ArrayHandler -> jogamp.opengl.util.GL*ArrayHandler - GLArrayData: Clarify method names getComponentNumber() -> getComponentCount() getComponentSize() -> getComponentSizeInBytes() getElementNumber() -> getElementCount() getByteSize() -> getSizeInBytes() - FixedFuncPipeline: Moved def. array names to GLPointerFuncUtil enhancement: - GLArrayDataServer: Add support for interleaved arrays/VBO - GLArrayData*.createFixed(..) remove 'name' argument (non sense for fixed function) - PMVMatrix: - one nio buffer - removed 'Pmv' multiplied matrix - removed 2x2 cut down 'Mvi' normal matrix (use 4x4 Mvi) - tests: - RedSquare -> RedSquareES1/RedSquareES2 - Gears ES1 fixed + ES2 added. Both work properly and share common Gears VBO construction - Added TestMapBuffer01NEWT, testing glMapBuffer
* NEWT/Android: Assisting NEWTBaseActivity to simplify NEWT/Android usage.Sven Gothel2011-08-112-44/+106
|
* Android Cleanup: Remove commented code, make immutables final againSven Gothel2011-08-112-16/+3
|
* NEWT/Android Fix: Display/Screen/Window creation ; ScreenMode ChangeSven Gothel2011-08-119-105/+127
| | | | | | | | | | | | | | | | | | | - Remove Application Context notion in Screen/Display, use 'jogamp.common.os.android.StaticContext' - Display, Screen and Window construction is Android agnostic allowing simple GLWindow creation. - Android ScreenMode Fix: - Use unrotated screen dimension - Intercept 'orientation' configChange, which keeps running the application in case of a rotation. - ScreenMode Add: getRotatedWidth() / getRotatedHeight(), used for Screen.setScreenSize(..) which reflects the rotates dimension. - ScreenMode: getCurrentMode() allows new, not yet detected, ScreenModes
* Android Cleanup: Remove EGL header & library (compile time)Sven Gothel2011-08-113-3/+0
|
* NEWT/Android: Add missing native codeSven Gothel2011-08-111-0/+47
|
* Enclose file IO access in priviledged blockSven Gothel2011-08-111-11/+24
|
* Add touch event propagation to NEWTSven Gothel2011-08-091-13/+9
|
* Add AndroidWindow implementationSven Gothel2011-08-091-71/+183
|
* Merge remote-tracking branch 'rsantina/master'Sven Gothel2011-08-0916-99/+942
|\
| * Graph UI and Text demo using UIcontroller.Rami Santina2011-08-092-0/+426
| |