Add the 'hello-neon' sample app to demonstrate cpufeatures and ARM Neon usage.

+ Add a small cleanup script (build/tools/cleanup-apps.sh)
+ Minor formatting of hello-gl2 sample.
This commit is contained in:
David 'Digit' Turner
2010-02-12 15:51:33 -08:00
parent e6aa422987
commit 93369c2470
13 changed files with 338 additions and 2 deletions

View File

@@ -42,12 +42,14 @@ static void checkGlError(const char* op) {
}
}
static const char gVertexShader[] = "attribute vec4 vPosition;\n"
static const char gVertexShader[] =
"attribute vec4 vPosition;\n"
"void main() {\n"
" gl_Position = vPosition;\n"
"}\n";
static const char gFragmentShader[] = "precision mediump float;\n"
static const char gFragmentShader[] =
"precision mediump float;\n"
"void main() {\n"
" gl_FragColor = vec4(0.0, 1.0, 0.0, 1.0);\n"
"}\n";