aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* TestFocus01SwingAWTRobot: Run AWT destruction on AWT-EDTSven Gothel2011-08-301-4/+14
|
* 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).
* 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
* 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-301-12/+12
|
* 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
* NEWT/ScreenMode: Fix Bug 456 - Reset to orig ScreenMode when exit (normal or ↵Sven Gothel2011-08-245-45/+204
| | | | 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
* Also tackles bug 510, only lookup global on Android. See gluegen commit ↵Sven Gothel2011-08-221-2/+9
| | | | 58469fd2343039c195a88d0b171ba9af2dce40be
* 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-221-4/+4
| | | | GLDataArrayHandler throws an exception in cstr if not VBO, but VBO usage is determined later
* Fix regression of commit 6c346d98f04e2355210960fe9ffde47432f04d62, where ↵Sven Gothel2011-08-2211-116/+230
| | | | 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
* reloc test: demos.gl2.gears -> demos.gl2, etcSven Gothel2011-08-2234-36/+42
|
* NewtVersionActivity: Remove 'gears' test; Version Info: Drop ↵Sven Gothel2011-08-225-22/+20
| | | | 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-2273-1396/+2147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-117-105/+124
| | | | | | | | | | | | | | | | | | | - 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-111-1/+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
| |
| * Graph UI: Added scene controller and general scenegraph behavior.Rami Santina2011-08-095-34/+431
| | | | | | | | | | | | | | User can implement onClick, onPressed, onReleased for selected UIShape called by the controller. Selection done using color coding indexes. Controller also provides a default generic InputEventListener and GlEventListener
| * GLRunnable API Change: Return boolean indicating whether the back buffer ↵Rami Santina2011-08-097-30/+45
| | | | | | | | | | | | shall be updated before swap. This allows color selection GLRunnables, executed after the GLEventListener.
| * Merge branch 'master' of http://github.com/sgothel/joglRami Santina2011-08-0546-189/+1017
| |\
| * | Fix: event mapping mismatchRami Santina2011-08-052-6/+3
| | |
| * | add multitouch getPointerId dataRami Santina2011-08-042-35/+43
| | |
* | | Android: Demo NewtVersionActivitySven Gothel2011-08-092-6/+471
| | |
* | | NEWT: Make AndroidNewtEventFactory public / accessibleSven Gothel2011-08-091-6/+6
| | |
* | | Test OneTriangle generalization cleanupSven Gothel2011-08-094-16/+17
| | |
* | | NEWT Android Display/Screen driver implementationSven Gothel2011-08-092-24/+117
| | |
* | | Complete Android driver reloc (constructor)Sven Gothel2011-08-093-11/+21
| | |
* | | EGL Fixes ...Sven Gothel2011-08-095-65/+91
| | | | | | | | | | | | | | | | | | - EGLDrawableFactory: createProxySurfaceImpl: add proper config choosing - EGLCapabilities/EGLGraphicsConfiguration: Add nativeVisualID - All: Avoid critical array access -> use NIO
* | | debug: remove tracker from jogl.debug=allSven Gothel2011-08-092-4/+2
| | |
* | | Adapt to DynamicLibraryBundleInfo API change ; Remove non std EGL/ES libs ↵Sven Gothel2011-08-098-19/+21
| | | | | | | | | | | | (Android)
* | | reloc files: NEWT Android driver, demos OneTriangleSven Gothel2011-08-095-84/+0
| | |