summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * 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-05121-1110/+2007
| |\
| * | Fix: event mapping mismatchRami Santina2011-08-052-6/+3
| | |
| * | Merge branch 'master' of http://github.com/sgothel/joglRami Santina2011-08-041-1/+1
| |\ \
| * | | 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
| | | |