Re: Android Test APKs [201110080141utc]
Posted by Ondrej on Oct 17, 2011; 9:58am
URL: https://forum.jogamp.org/Android-Test-APKs-201110080141utc-tp3404613p3427769.html
Just tried your test apps on HTC Desire Z.
RedSqr and Gears works perfectly. GraphUI1p renders text at around 30 fps with or without v-sync. Background of buttons is not visible at low zooms (maybe missing mipmaps). Application start and text switching takes some time. The other apps throws exceptions.
Great work! Looking forward to write my first Jogl app for Android.
Ondrej
GraphUI2p app throws exception:
E/AndroidRuntime(27567): FATAL EXCEPTION: main-Animator-1
E/AndroidRuntime(27567): javax.media.opengl.GLException: RegionRenderer: Couldn't link program: ShaderProgram[id=1, linked=false, inUse=false, program: 1,
E/AndroidRuntime(27567): ShaderCode[id=1, type=VERTEX_SHADER, valid=true, shader: 2, source]
E/AndroidRuntime(27567): ShaderCode[id=2, type=FRAGMENT_SHADER, valid=false,shader: 3, source]]
E/AndroidRuntime(27567): at jogamp.graph.curve.opengl.RegionRendererImpl01.initShaderProgram(RegionRendererImpl01.java:74)
E/AndroidRuntime(27567): at com.jogamp.graph.curve.opengl.Renderer.init(Renderer.java:133)
E/AndroidRuntime(27567): at com.jogamp.opengl.test.junit.graph.demos.GPUUISceneGLListener0A.init(GPUUISceneGLListener0A.java:220)
and Elektro app:
E/dalvikvm(27622): Could not find class 'jogamp.opengl.gl4.GL4bcProcAddressTable', referenced from method jogamp.opengl.GLDebugMessageHandler.init
E/AndroidRuntime(27622): FATAL EXCEPTION: main-Animator-1
E/AndroidRuntime(27622): javax.media.opengl.GLException: could not link program: ShaderProgram[id=1, linked=false, inUse=false, program: 1,
E/AndroidRuntime(27622): ShaderCode[id=1, type=VERTEX_SHADER, valid=true, shader: 2, source]
E/AndroidRuntime(27622): ShaderCode[id=2, type=FRAGMENT_SHADER, valid=false, shader: 4, source]]
E/AndroidRuntime(27622): at com.jogamp.opengl.util.glsl.ShaderState.useProgram(ShaderState.java:172)
E/AndroidRuntime(27622): at com.jogamp.opengl.test.junit.jogl.demos.es2.ElektronenMultiplizierer.init(ElektronenMultiplizierer.java:243)