Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor editing | Sven Gothel | 2011-10-08 | 2 | -5/+1 |
| | |||||
* | GLWindow/GLDrawableHelper: Adding experimental notion of skipping GL context ↵ | Sven Gothel | 2011-10-08 | 9 | -29/+107 |
| | | | | | | | | | | | | | 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 Gothel | 2011-10-07 | 1 | -12/+21 |
|\ | |||||
| * | Merge branch 'master' of git://github.com/sgothel/jogl | Rami Santina | 2011-10-06 | 20 | -127/+289 |
| |\ | |||||
| * | | GraphUI: flip y coords | Rami Santina | 2011-10-06 | 1 | -1/+1 |
| | | | |||||
| * | | GraphUI demo: add x and y translation for 1 pointer | Rami Santina | 2011-10-06 | 1 | -12/+21 |
| | | | |||||
* | | | Android Demos GearsES2 + RedSquareES2: Add tracing .. and no vsync (doesn't ↵ | Sven Gothel | 2011-10-07 | 5 | -27/+66 |
| | | | | | | | | | | | | work) | ||||
* | | | Android Elektron/RedSquare use bpp 5/6/5 | Sven Gothel | 2011-10-07 | 3 | -3/+13 |
| | | | |||||
* | | | GLArrayData<VBO>: Add GLArrayHandlerFlat ; Update VBO name to interleaved ↵ | Sven Gothel | 2011-10-07 | 10 | -37/+240 |
| | | | | | | | | | | | | | | | | | | | | | subarrays - Add GLArrayHandlerFlat gives better distinction of semantics - update sub-array VBO name, if parent's interleaved array initializes it. | ||||
* | | | Clarify/Fix GLArrayDataEditable:padding() - no use case yet .. well | Sven Gothel | 2011-10-07 | 2 | -5/+6 |
| | | | |||||
* | | | NEWT/Android: Fix setting 'format' | Sven Gothel | 2011-10-07 | 1 | -11/+12 |
| | | | |||||
* | | | PMVMatrix: Defaults from direct NIO -> array-backed non-direct NIO: Reduced ↵ | Sven Gothel | 2011-10-07 | 4 | -195/+346 |
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | 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 Gothel | 2011-10-06 | 2 | -38/+43 |
| | | | | | | | | TODO: custom position and change position ?! | ||||
* | | NEWT/Window/setVisible: Remove setVisible(..) fast path - Always set ↵ | Sven Gothel | 2011-10-06 | 1 | -8/+2 |
| | | | | | | | | | | | | | | visible=true, even if size==0 We need to earmark visible=true in case the native window could not be created, even if the size is currently 0. | ||||
* | | NEWT/Android: Add TRANSLUCENT feature / Demo: 'GearsES2T' | Sven Gothel | 2011-10-06 | 4 | -4/+97 |
| | | |||||
* | | ES2 Test Update: Add RedSquareES2 mouse events, toggle: fullscreen / ↵ | Sven Gothel | 2011-10-06 | 4 | -15/+61 |
| | | | | | | | | | | | | SwapInterval - turns out that on android, we cannot run w/o v-sync .. (?) | ||||
* | | ShaderUtils: Use glShaderSource variant w/ NIO only args | Sven Gothel | 2011-10-06 | 1 | -3/+5 |
| | | |||||
* | | NEWT/Android: Add BUTTON1 for one-pointer events | Sven Gothel | 2011-10-06 | 1 | -2/+4 |
| | | |||||
* | | EGL: In case a nativeVisualID is given to match, but none visual IDs are ↵ | Sven Gothel | 2011-10-06 | 1 | -2/+8 |
| | | | | | | | | | | | | available, ignore the given ID Fixes Omap3 EGLConfig's which does not have a native visual ID | ||||
* | | NEWT/Android: Move fullscreen setting to AndroidWindow ; Cleanup AndroidWindow | Sven Gothel | 2011-10-06 | 10 | -67/+81 |
|/ | |||||
* | 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 |
| |