PowerVR support patch
See more details: http://www.imgtec.com/forum/forum_posts.asp?TID=1952
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -1025,13 +1025,19 @@
if (verboseLogging) {
logger.info("GLES20.glShaderSource(" + id + ")");
}
-
+ if (source.getType().equals(ShaderType.Vertex)
+ && GLES20.glGetString(GLES20.GL_RENDERER).indexOf("PowerVR")>=0) {
GLES20.glShaderSource(
id,
+ source.getDefines()
+ + source.getSource());
+ } else {
+ GLES20.glShaderSource(
+ id,
"precision mediump float;n"
+ source.getDefines()
+ source.getSource());
-
+ }
checkGLError();
if (verboseLogging) {
Now, my app works fine on Galaxy S.
Android market(free)
https://market.android.com/details?id=jp.co.pscnet.mms.tinyar