diff options
| author | Jason Sams <rjsams@android.com> | 2010-07-12 11:41:46 -0700 |
|---|---|---|
| committer | Jason Sams <rjsams@android.com> | 2010-07-12 11:59:34 -0700 |
| commit | 93bab39af5a652a707ea152f112eb1363d1929aa (patch) | |
| tree | 3e93a720786d51f1904b3043657a230c1f4d555a /opengl/tests/gl_perf/filltest.cpp | |
| parent | 5958091dd948d5648d02bc2bc596fc3871e76ca2 (diff) | |
| download | frameworks_base-93bab39af5a652a707ea152f112eb1363d1929aa.zip frameworks_base-93bab39af5a652a707ea152f112eb1363d1929aa.tar.gz frameworks_base-93bab39af5a652a707ea152f112eb1363d1929aa.tar.bz2 | |
gl perf test cleanup.
Change-Id: Ic486774e25421bd2f412f0ba2bbac4660e3982b8
Diffstat (limited to 'opengl/tests/gl_perf/filltest.cpp')
| -rw-r--r-- | opengl/tests/gl_perf/filltest.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/opengl/tests/gl_perf/filltest.cpp b/opengl/tests/gl_perf/filltest.cpp index 3d5757f..eb398ec 100644 --- a/opengl/tests/gl_perf/filltest.cpp +++ b/opengl/tests/gl_perf/filltest.cpp @@ -132,7 +132,7 @@ void endTimer(const char *str, int w, int h, double dc, int count) { double mpps = pixels / delta / 1000000; double dc60 = pixels / delta / (w * h) / 60; - printf("test %s, Mpps %f, dc = %f\n", str, mpps, dc60); + printf("%s, %f, %f\n", str, mpps, dc60); } static const char gVertexShader[] = @@ -319,12 +319,12 @@ static void doSingleTest(uint32_t w, uint32_t h, glBlendFunc(GL_ONE, GL_ONE); glDisable(GL_BLEND); - sprintf(str2, "Test varColor=%i, texCount=%i, modulate=%i, extraMath=%i, texSize=%i, blend=0", + sprintf(str2, "%i, %i, %i, %i, %i, 0", useVarColor, texCount, modulateFirstTex, extraMath, tex0); doLoop(w, h, str2); glEnable(GL_BLEND); - sprintf(str2, "Test varColor=%i, texCount=%i, modulate=%i, extraMath=%i, texSize=%i, blend=1", + sprintf(str2, "%i, %i, %i, %i, %i, 1", useVarColor, texCount, modulateFirstTex, extraMath, tex0); doLoop(w, h, str2); } @@ -361,6 +361,8 @@ bool doTest(uint32_t w, uint32_t h) { setupVA(); genTextures(); + printf("\nvarColor, texCount, modulate, extraMath, texSize, blend, Mpps, DC60\n"); + for (int texCount = 0; texCount < 3; texCount++) { for (int extraMath = 0; extraMath < 5; extraMath++) { |
