summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'remotes/rsantina/master'Sven Gothel2011-10-071-12/+21
|\
| * Merge branch 'master' of git://github.com/sgothel/joglRami Santina2011-10-0620-127/+289
| |\
| * | 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
| | |
* | | GLArrayData<VBO>: Add GLArrayHandlerFlat ; Update VBO name to interleaved ↵Sven Gothel2011-10-0710-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 .. wellSven Gothel2011-10-072-5/+6
| | |
* | | NEWT/Android: Fix setting 'format'Sven Gothel2011-10-071-11/+12
| | |
* | | PMVMatrix: Defaults from direct NIO -> array-backed non-direct NIO: Reduced ↵Sven Gothel2011-10-074-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 Gothel2011-10-062-38/+43
| | | | | | | | TODO: custom position and change position ?!
* | NEWT/Window/setVisible: Remove setVisible(..) fast path - Always set ↵Sven Gothel2011-10-061-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 Gothel2011-10-064-4/+97
| |
* | 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 .. (?)
* | ShaderUtils: Use glShaderSource variant w/ NIO only argsSven Gothel2011-10-061-3/+5
| |
* | NEWT/Android: Add BUTTON1 for one-pointer eventsSven Gothel2011-10-061-2/+4
| |
* | EGL: In case a nativeVisualID is given to match, but none visual IDs are ↵Sven Gothel2011-10-061-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 AndroidWindowSven Gothel2011-10-0610-67/+81
|/
* Workaround Android 3.0 Dalvik Issue 16434Sven Gothel2011-10-051-32/+46
|
* Graph Shader Simplification, 'a'/'b' redefined; GraphUI 2-pass demo;Sven Gothel2011-10-0424-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 Gothel2011-10-021-6/+6
|
* Graph: Reflect shader name change in impl. TODO: Use/switch to 2nd pass shaderSven Gothel2011-10-022-2/+9
|
* Fixed shader entry files a/bRami Santina2011-10-026-2/+21
|
* Fix intendationRami Santina2011-10-021-34/+34
|
* tegra2: split fragment shaders into two (a - 1st pass, b - 2nd pass) ; ↵Rami Santina2011-10-0211-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 Santina2011-10-022-0/+70
| | | | | tegra2 hunting, single pass, no discard, lowp, and removed uneeded variables
* Android Launcher: disable tracetegra-graph-shader_nosplit_dodiscard_original-freezeSven Gothel2011-10-011-1/+1
|
* Android/EGL: dump all caps, write-back formatSven Gothel2011-10-013-5/+17
|
* Android Launcher: Show caps chooser dbgSven Gothel2011-10-011-1/+3
|
* DefaultGLCapabilitiesChooser: Add multisampling criteriaSven Gothel2011-10-012-2/+21
|
* fix conflictSven Gothel2011-10-015-51/+41
|\
| * merge with sgothelRami Santina2011-10-014-16/+60
| |\
| * | RedSquare ES2 demo: precission changeRami Santina2011-10-014-32/+26
| | |
| * | remove trace glRami Santina2011-10-011-1/+1
| | |
| * | gears es2 use default presesion vertex shaderRami Santina2011-09-301-19/+15
| | |
* | | NEWT/Android: 565, 5551 or RGBA_8888 (no RGBX/888) ; surfaceRealized() ASAPSven Gothel2011-10-014-39/+70
| |/ |/|
* | AndroidWindow: get required PixelFormat ID by req. CapsSven Gothel2011-09-302-4/+48
| |
* | Android Launcher: Change properties .. debug, etc - disable traceSven Gothel2011-09-301-2/+3
| |
* | RedSquareES1: remove GLU dependencySven Gothel2011-09-301-11/+10
|/
* Android/Tests: Adding missing activitiesSven Gothel2011-09-306-0/+267
|
* Android Launcher: Sort properties / enable DebugGL/TraceGLSven Gothel2011-09-301-8/+13
|
* GLContext/GLDebugMessageHandler: Fix/clarify init and usage of dbg handlerSven Gothel2011-09-303-4/+23
|
* GLPipelineFactory: Generics && Using enhanced GlueGen's ↵Sven Gothel2011-09-301-16/+13
| | | | ReflectionUtil.getConstructor(..)
* Android/JogAmp ClassLoader: Split CL JogAmp + User-APK, reuse JogAmp CL if ↵Sven Gothel2011-09-301-33/+54
| | | | in same ClassLoader
* Android: Use standard launch mode; Add default actions to NewtBaseActivity; ↵Sven Gothel2011-09-307-176/+35
| | | | Add RedSquare ES1 + ES2
* NEWT/Android: More ANativeWindow coop;Sven Gothel2011-09-302-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 modeSven Gothel2011-09-301-1/+6
|
* ES Library lookup order - Favor spec lib nameSven Gothel2011-09-302-11/+17
|
* EGL: chooseGraphicsConfigurationStatic() public and w/ optional visualIDSven Gothel2011-09-302-14/+35
|
* Graph GLSL: Use global precicision settings enhancing readabilitySven Gothel2011-09-307-60/+54
|