Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Workaround Android 3.0 Dalvik Issue 16434 | Sven Gothel | 2011-10-05 | 1 | -32/+46 |
| | |||||
* | Graph Shader Simplification, 'a'/'b' redefined; GraphUI 2-pass demo; | Sven Gothel | 2011-10-04 | 24 | -159/+386 |
| | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | tegra: refine disabled discard, ie keep logic/math intact. Rami ? | Sven Gothel | 2011-10-02 | 1 | -6/+6 |
| | |||||
* | Graph: Reflect shader name change in impl. TODO: Use/switch to 2nd pass shader | Sven Gothel | 2011-10-02 | 2 | -2/+9 |
| | |||||
* | Fixed shader entry files a/b | Rami Santina | 2011-10-02 | 6 | -2/+21 |
| | |||||
* | Fix intendation | Rami Santina | 2011-10-02 | 1 | -34/+34 |
| | |||||
* | tegra2: split fragment shaders into two (a - 1st pass, b - 2nd pass) ; ↵ | Rami Santina | 2011-10-02 | 11 | -67/+72 |
| | | | | | | | | | | | | disabled discard - 1st pass (a) and 2nd pass (b), split at branch. - all include are on one level. - disabled discard, as it seems to be problematic Todo: - verify discard / pass-split on tegra2 - refect second pass usage (b) in implementation | ||||
* | Added allin one shader stripped for graph. | Rami Santina | 2011-10-02 | 2 | -0/+70 |
| | | | | | tegra2 hunting, single pass, no discard, lowp, and removed uneeded variables | ||||
* | Android Launcher: disable tracetegra-graph-shader_nosplit_dodiscard_original-freeze | Sven Gothel | 2011-10-01 | 1 | -1/+1 |
| | |||||
* | Android/EGL: dump all caps, write-back format | Sven Gothel | 2011-10-01 | 3 | -5/+17 |
| | |||||
* | Android Launcher: Show caps chooser dbg | Sven Gothel | 2011-10-01 | 1 | -1/+3 |
| | |||||
* | DefaultGLCapabilitiesChooser: Add multisampling criteria | Sven Gothel | 2011-10-01 | 2 | -2/+21 |
| | |||||
* | fix conflict | Sven Gothel | 2011-10-01 | 5 | -51/+41 |
|\ | |||||
| * | merge with sgothel | Rami Santina | 2011-10-01 | 4 | -16/+60 |
| |\ | |||||
| * | | RedSquare ES2 demo: precission change | Rami Santina | 2011-10-01 | 4 | -32/+26 |
| | | | |||||
| * | | remove trace gl | Rami Santina | 2011-10-01 | 1 | -1/+1 |
| | | | |||||
| * | | gears es2 use default presesion vertex shader | Rami Santina | 2011-09-30 | 1 | -19/+15 |
| | | | |||||
* | | | NEWT/Android: 565, 5551 or RGBA_8888 (no RGBX/888) ; surfaceRealized() ASAP | Sven Gothel | 2011-10-01 | 4 | -39/+70 |
| |/ |/| | |||||
* | | AndroidWindow: get required PixelFormat ID by req. Caps | Sven Gothel | 2011-09-30 | 2 | -4/+48 |
| | | |||||
* | | Android Launcher: Change properties .. debug, etc - disable trace | Sven Gothel | 2011-09-30 | 1 | -2/+3 |
| | | |||||
* | | RedSquareES1: remove GLU dependency | Sven Gothel | 2011-09-30 | 1 | -11/+10 |
|/ | |||||
* | Android/Tests: Adding missing activities | Sven Gothel | 2011-09-30 | 6 | -0/+267 |
| | |||||
* | Android Launcher: Sort properties / enable DebugGL/TraceGL | Sven Gothel | 2011-09-30 | 1 | -8/+13 |
| | |||||
* | GLContext/GLDebugMessageHandler: Fix/clarify init and usage of dbg handler | Sven Gothel | 2011-09-30 | 3 | -4/+23 |
| | |||||
* | GLPipelineFactory: Generics && Using enhanced GlueGen's ↵ | Sven Gothel | 2011-09-30 | 1 | -16/+13 |
| | | | | ReflectionUtil.getConstructor(..) | ||||
* | Android/JogAmp ClassLoader: Split CL JogAmp + User-APK, reuse JogAmp CL if ↵ | Sven Gothel | 2011-09-30 | 1 | -33/+54 |
| | | | | in same ClassLoader | ||||
* | Android: Use standard launch mode; Add default actions to NewtBaseActivity; ↵ | Sven Gothel | 2011-09-30 | 7 | -176/+35 |
| | | | | Add RedSquare ES1 + ES2 | ||||
* | NEWT/Android: More ANativeWindow coop; | Sven Gothel | 2011-09-30 | 2 | -48/+129 |
| | | | | | | | | | | | | | | | | Note: surface's format _is_ the nativeVisualID of EGL. More ANativeWindow (ANW) coop: - add acquire/release for ANW - validate ANW format - Add fixCaps: 'format -> GLCaps' validation Test: - Constructor: Start w/ surface format RGB_565 (default) - createNative: Filter EGLConfig w/ surface format - Move surfaceHandle fetching from surfaceCreated -> surfaceChanged, where the format is available. - surfaceChanged: use fixedCaps validation | ||||
* | EGL: eglSwapBuffers() show failure in DEBUG mode | Sven Gothel | 2011-09-30 | 1 | -1/+6 |
| | |||||
* | ES Library lookup order - Favor spec lib name | Sven Gothel | 2011-09-30 | 2 | -11/+17 |
| | |||||
* | EGL: chooseGraphicsConfigurationStatic() public and w/ optional visualID | Sven Gothel | 2011-09-30 | 2 | -14/+35 |
| | |||||
* | Graph GLSL: Use global precicision settings enhancing readability | Sven Gothel | 2011-09-30 | 7 | -60/+54 |
| | |||||
* | Android Launcher Demos: Adept to df6021f9ef50623e6ac8f0822e827fd31a0a0cf2 | Sven Gothel | 2011-09-30 | 4 | -11/+43 |
| | |||||
* | Android Launcher: Generalize ClassLoaderUtil. Use local TempFileCache | Sven Gothel | 2011-09-30 | 2 | -8/+506 |
| | |||||
* | demo: es2 shaders: use default precision | Sven Gothel | 2011-09-28 | 2 | -113/+106 |
| | |||||
* | Android/Demos: Add ElektronenMultiplizierer (fix shader and keylistener ↵ | Sven Gothel | 2011-09-28 | 4 | -21/+24 |
| | | | | add/remove) | ||||
* | GearsES1/ES2 demos: remove junit assertions | Sven Gothel | 2011-09-28 | 2 | -15/+1 |
| | |||||
* | NEWT DisplayImpl: Check for null event in task | Sven Gothel | 2011-09-28 | 1 | -0/+6 |
| | |||||
* | NewtBaseActivity: Enable 'slave' mode, ie as a downstream for external ↵ | Sven Gothel | 2011-09-28 | 2 | -94/+88 |
| | | | | launched Activity, see NewtLauncherActivity | ||||
* | NEWT/Android: Send MouseClicked event, MouseEvent enhancement, Demo: real 2 ↵ | Sven Gothel | 2011-09-28 | 5 | -32/+155 |
| | | | | | | | | finger zoom MouseEvent: Check array sizes at cstr. Enhance 'toString()', pointer arrays added. GPUUISceneGLListener0A now uses 2 finger distance for zoom | ||||
* | TypecastFontConstructor: Use IOUtil's createTempFile() to comfort Android | Sven Gothel | 2011-09-28 | 1 | -4/+2 |
| | |||||
* | Fix ES2 shaders | Sven Gothel | 2011-09-28 | 5 | -7/+9 |
| | | | | | | | | | | | 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. | ||||
* | Fix GLProfile ES2: Component numbers can't be validated (??) | Sven Gothel | 2011-09-28 | 1 | -5/+3 |
| | |||||
* | Android Activity Launching (jogl.test) | Sven Gothel | 2011-09-28 | 8 | -69/+421 |
| | | | | | | | | | | | | | | | | 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 Gothel | 2011-09-27 | 5 | -9/+29 |
| | | | | | | | | | 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). | ||||
* | GLContextImpl: Fix bug: Surface was not unlocked in case new context ↵ | Sven Gothel | 2011-09-27 | 1 | -7/+9 |
| | | | | creation failed. | ||||
* | tests: added some commented out 'wait for press enter' startups, reduce ↵ | Sven Gothel | 2011-09-27 | 3 | -6/+13 |
| | | | | getCurrentScreenMode() loop to 100 | ||||
* | NEWT/Threading: MainThread / DefaultEDTUtil | Sven Gothel | 2011-09-27 | 5 | -224/+94 |
| | | | | | | | | | | | | | | | | | | | | | | | - MainThread: This class no more implements EDTUtil! This class just provides a main-thread utility, forking of a main java class on another thread while being able to continue doing platform specific things on the main-thread. The latter is essential for eg. MacOSX, where we continue to run NSApp.run(). - DefaultEDTUtil: - if Lock.DEBUG validate that no recursive locks are being hold, where it shall not (EDT: startup and return from task execution) - If task execution's result wasn't waited for (checked), at least dump exeception's stack trace if i happened. - MacDisplay: Just use DefaultEDTUtil - MacWindow: - No more need of special locking -> removed nsViewLock, since: - using proper EDT - capability to run from multiple threads (native Java thread attachment) | ||||
* | NEWT: Adapt to GlueGen's Lock ChangeSet, all java callbacks for native have ↵ | Sven Gothel | 2011-09-27 | 15 | -132/+193 |
| | | | | | | | | | | | | | | 'defer' 1st argument - Adapt to GlueGen's Lock ChangeSet: e4baba27507ce78e64a150ec6f69fb96f5721a34 - All java callbacks for native have 'defer' 1st argument. This allows enqueuing resulting events to the EDT if required, ie. the native thread may not be 'compatible' (MacOSX). - MacOSX-Native: enqueue key/mouse events and defer:=true for all java callbacks Since we are comming from a 3rd-party thread (AWT/NSApp-MainThread) we shall not abuse it. | ||||
* | Adapt to GlueGen's Lock ChangeSet: e4baba27507ce78e64a150ec6f69fb96f5721a34 ↵ | Sven Gothel | 2011-09-27 | 7 | -40/+40 |
| | | | | ; Use generics |