aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Test Util NEWGLContext: Add assertionsSven Gothel2011-10-121-2/+3
|
* FBO MRT Test: Disable OSX, since it causes an SIGSEGV (Bus Error/Illegal ↵Sven Gothel2011-10-121-2/+9
| | | | Memory Access) @ glDrawArrays()
* NEWT Parenting Tests: Run all AWT modification call's on AWT EDT as the spec ↵Sven Gothel2011-10-127-174/+327
| | | | | | demands; Add missing frame.validate() after change. This is esential for OSX, but may also cause an undefined state on other platforms.
* NEWT Pointer Mods: Propagate 'confined' and 'invisible' to modifier mask of ↵Sven Gothel2011-10-112-21/+39
| | | | | | | | | | InputEvent (Mouse) ; Test confined navigation w/ GearsES2 InputEvent adds new MASK values: CONFINED_MASK and INVISIBLE_MASK, set at event creation allowing convenient testing of these mods. GearsES2 demonstrates the confined navigation testing the CONFINED_MASK and if having his mode acting on mouseMoved(..) and reset the mouse position.
* NEWT Pointer Feature: Add Windows impl. ; Fix test (warp action) ; Minor ↵Sven Gothel2011-10-101-1/+0
| | | | cleanup in X11
* NEWT: Add pointer features: visibility, confined and warp (move)Sven Gothel2011-10-101-15/+47
| | | | | | | | | | | | | | | visibility: - set pointer visible or invisible confined: - confine pointer to window, or not warp: - set mouse position within the window Implemented for X11, tested manually with TestGearsES2NEWT (see code for action keys). TODO: Windows, MaxOSX and Android (limited)
* minor editingSven Gothel2011-10-081-2/+1
|
* GLWindow/GLDrawableHelper: Adding experimental notion of skipping GL context ↵Sven Gothel2011-10-085-7/+14
| | | | | | | | | | | | | release for a specific thread - marked deprecated - used to perf measure situation on omap3, ie figuring out where the low perf. in GearsES2 comes from, our core JOGL code or the GL usage. Turns out it's the GL usage itself, ie the shader - good. - calls are commented out in the demos
* Merge remote-tracking branch 'remotes/rsantina/master'Sven Gothel2011-10-071-12/+21
|\
| * Merge branch 'master' of git://github.com/sgothel/joglRami Santina2011-10-0612-22/+150
| |\
| * | GraphUI: flip y coordsRami Santina2011-10-061-1/+1
| | |
| * | GraphUI demo: add x and y translation for 1 pointerRami Santina2011-10-061-12/+21
| | |
* | | Android Demos GearsES2 + RedSquareES2: Add tracing .. and no vsync (doesn't ↵Sven Gothel2011-10-075-27/+66
| | | | | | | | | | | | work)
* | | Android Elektron/RedSquare use bpp 5/6/5Sven Gothel2011-10-073-3/+13
| | |
* | | PMVMatrix: Defaults from direct NIO -> array-backed non-direct NIO: Reduced ↵Sven Gothel2011-10-072-5/+75
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | cycles 45% -> 5% (from GearsES2 100%) - NIO direct access from Java is expensive - default is now array-backed non-direct NIO, which guarantees array useage for Java computation (especially the inverse calculation) - only update Mvi and Mvit if requested in the first place - moved all local matrices to float[]
* | NEWT/Android: respect isUndecorated() and custom window size.Sven Gothel2011-10-061-1/+3
| | | | | | | | TODO: custom position and change position ?!
* | NEWT/Android: Add TRANSLUCENT feature / Demo: 'GearsES2T'Sven Gothel2011-10-062-1/+76
| |
* | ES2 Test Update: Add RedSquareES2 mouse events, toggle: fullscreen / ↵Sven Gothel2011-10-064-15/+61
| | | | | | | | | | | | SwapInterval - turns out that on android, we cannot run w/o v-sync .. (?)
* | NEWT/Android: Move fullscreen setting to AndroidWindow ; Cleanup AndroidWindowSven Gothel2011-10-067-7/+12
|/
* Graph Shader Simplification, 'a'/'b' redefined; GraphUI 2-pass demo;Sven Gothel2011-10-0410-38/+181
| | | | | | | | | | | | | | | | | | | | | | | Graph Shader Simplification - remove enable factor and 2nd 'discard' branch - use build-in 'max'/'clamp' functions, supposed to be faster Graph Shader 'a'/'b' redefined - 'a' is 1-pass shader only - 'b' is 2-pass incl. (1st pass + 2nd pass) - Works well on ARM Mali-400 MP (Galaxy S2). - Doesn't work on NV tegra2 (P1202: Texture's gl states do not match with shader's), however 2-pass on mobile seems to be overkill for now. We may create a workaround (switch shader ..). GraphUI 2-pass demo; - Propagate renderModes and texSize to UIShape's render(..) - TODO: Remove GL dependency in UIShape, maybe use a callback or visitor model - Adding GarpUI 2-pass launcher (Android and Standalone)
* merge with sgothelRami Santina2011-10-011-11/+10
|\
| * RedSquareES1: remove GLU dependencySven Gothel2011-09-301-11/+10
| |
* | RedSquare ES2 demo: precission changeRami Santina2011-10-014-32/+26
| |
* | gears es2 use default presesion vertex shaderRami Santina2011-09-301-19/+15
|/
* Android/Tests: Adding missing activitiesSven Gothel2011-09-303-0/+222
|
* Android: Use standard launch mode; Add default actions to NewtBaseActivity; ↵Sven Gothel2011-09-305-125/+9
| | | | Add RedSquare ES1 + ES2
* demo: es2 shaders: use default precisionSven Gothel2011-09-282-113/+106
|
* Android/Demos: Add ElektronenMultiplizierer (fix shader and keylistener ↵Sven Gothel2011-09-283-20/+22
| | | | add/remove)
* GearsES1/ES2 demos: remove junit assertionsSven Gothel2011-09-282-15/+1
|
* NewtBaseActivity: Enable 'slave' mode, ie as a downstream for external ↵Sven Gothel2011-09-281-83/+46
| | | | launched Activity, see NewtLauncherActivity
* NEWT/Android: Send MouseClicked event, MouseEvent enhancement, Demo: real 2 ↵Sven Gothel2011-09-282-16/+41
| | | | | | | | finger zoom MouseEvent: Check array sizes at cstr. Enhance 'toString()', pointer arrays added. GPUUISceneGLListener0A now uses 2 finger distance for zoom
* Fix ES2 shadersSven Gothel2011-09-281-3/+3
| | | | | | | | | | | Add missing floating point precision qualifiers. '#extension OES_standard_derivatives : require' somehow doesn't pass the GLSL compiler, however '#extension GL_OES_standard_derivatives : enable' does. Currently works on ARM's Mali-400 MP, NV Tegra still don't show a picture. TODO: More in depth evaluation.
* Android Activity Launching (jogl.test)Sven Gothel2011-09-283-0/+349
| | | | | | | | | | | | | | | | Launching activity is in: jogl.android-launcher.apk and directly derives from NewtLauncherActivity. It daisy chains apk's via ClassLoaderUtil: - gluegen-rt.apk - jogl.all-android.apk - jogl.test.apk (*) (*) This has to made configurable so the generic NewtLauncherActivity can be reused by any user application. After preparing the ClassLoader (see above), NewtLauncherActivity instanciates the configurable user Activity and passes all it's activity calls down to it.
* NEWT/OSX: 'Better' child window positioning, still, after reparenting into ↵Sven Gothel2011-09-272-1/+14
| | | | | | | | | parent, a white window rectangle remains. .. we also need to understand the absolute screen position better, ie. when required and when not (at window creation currently).
* tests: added some commented out 'wait for press enter' startups, reduce ↵Sven Gothel2011-09-273-6/+13
| | | | getCurrentScreenMode() loop to 100
* NEWT/WindowImpl: Remove wait for position (keep waitForSize for ↵Sven Gothel2011-09-161-2/+3
| | | | | | reparent/fullscreen) Window position is not deterministic enough and slows down processing while sync on it
* NEWT Cleanup: AWT driver fix, WindowImpl createNative .., minor editsSven Gothel2011-09-162-13/+1
| | | | | | | | | AWT driver fix - setVisible at creation, using reconfigureWindow impl (fixed WindowImpl createNative .., - no double visibility check on creation - visible:=true anyway for later creation, if failed or not available yet
* minor editsSven Gothel2011-09-162-5/+10
|
* Test NEWT Parenting: Incr. test duration to 600ms (new state poll of ↵Sven Gothel2011-09-161-1/+1
| | | | reparenting may take ~400ms)
* Fix AWT Test Cases: Use AWT-EDT for modifying visible frame and call ↵Sven Gothel2011-09-163-58/+84
| | | | validate() afterwards
* Graph Demos: Make GLEvenListener 'standalone'; UIScene to common package; ↵Sven Gothel2011-09-158-60/+74
| | | | Cleanup
* JOGLNewtAppletBase: Use proper context ClassLoader; Add ↵Sven Gothel2011-09-152-9/+25
| | | | ElektronenMultiplizierer (NEWT Applet Runner)
* NEWT (Manual) Test Case: Add fullscreen and alwaysOnTop at window creationSven Gothel2011-09-151-1/+9
|
* NEWT setAlwaysOnTop(): Allow windows to stay permanent on top; TODO: X11/WindowsSven Gothel2011-09-141-0/+9
|
* disable test of NV swap group - but add explicit test case (disabled) for ↵Sven Gothel2011-09-092-11/+141
| | | | documentation purposes
* NEWT: Window default pos ; FullScreenSven Gothel2011-09-091-73/+78
| | | | | | | | | | | | | | | - FullScreen - lock parent window if child - X11: more sophisticated EWMH FS usage - X11: set window 'Above' before FS and at focus - allow window WM default position at window creation - default position { -1, -1 } as hint to native WM to gather a suitable default position - wait until user-pos or WM-pos reached - reconfigureWindow* - allow -1 values for pos/size to mark no-change
* *GLContext: resetStates(); getPlatformExtensionsString(); GLX/WGL ↵Sven Gothel2011-09-091-2/+14
| | | | | | | | | | | | | | | | | | | | | | NV_swap_group support; setSwapInterval(); resetStates() - fixes a bug where X11GLXContext impl. resetState() !! - marked all with @Override tag - ensured super.resetStates() is called at end (oops) getPlatformExtensionsStringImpl()* - fixes a bug where X11GLXContext overrides GLContext cached GLX extension string query - marked 'final' in GLContext to avoid bugs - using abstract 'getPlatformExtensionsStringImpl()' called by ExtensionAvailabilityCache Add premiliry GLX/WGL NV_swap_group support - thought it might be a solution to sync swap of 2 windows - none of my drivers/platforms support it, event though extension is avail on Linux Promote setSwapInterval() (1 up) - bumped above API up to public GLContext - those extension should not spam the GL interfaces .. hmm
* JOGL: Make GLProfile shutdown()/initSingleton() functional, ie. proper ↵Sven Gothel2011-09-081-1/+15
| | | | | | | recreation of all resources - Release all GLDrawableFactory instances at shutdown, [re]create them at initialization - Release GLContext resources (availability map) as well
* NEWT/ScreenMode: X11 fixes ; Ensure Screen's size is set if screenMode ↵Sven Gothel2011-09-085-7/+379
| | | | | | | | | | | | | | | | | | changed ; Enhanced tests; Catch NV/XRANDR/GL bug X11 fixes - X11Screen properly uses it's display's connection decorated in lock/unlock (for ScreenMode etc) Ensure Screen's size is set if screenMode changed - ScreenImpl's ScreenModeListener updates it's screen size so 'external' changes will be detected. Enhanced tests - Verify more data rel. ScreenMode Catch NV/XRANDR/GL bug - Read TestScreenMode01NEWT/TestScreenMode01bNEWT comments
* Minor edits, dead code, test invocationSven Gothel2011-09-081-1/+3
|