diff options
-rwxr-xr-x | src/demos/es2/perftst/PerfTextLoad.java | 6 | ||||
-rwxr-xr-x | wince/perftst-text1-args.txt | 2 | ||||
-rwxr-xr-x | wince/perftst-text1.lnk | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/demos/es2/perftst/PerfTextLoad.java b/src/demos/es2/perftst/PerfTextLoad.java index a284b02..fc035a7 100755 --- a/src/demos/es2/perftst/PerfTextLoad.java +++ b/src/demos/es2/perftst/PerfTextLoad.java @@ -42,6 +42,7 @@ public class PerfTextLoad extends PerfModule { throw new RuntimeException("couldn't fetch "+textName); } textDatas[i] = TextureIO.newTextureData(urlText.openStream(), false, TextureIO.TGA); + System.out.println(textBaseName+": "+textDatas[i]); } for(int i=0; i<numTextures; i++) { @@ -211,8 +212,9 @@ public class PerfTextLoad extends PerfModule { public void run(GLAutoDrawable drawable, int loops) { runOneSet(drawable, "bob2.64x64", 33, 1, loops); runOneSet(drawable, "bob2.128x128", 33, 1, loops); - runOneSet(drawable, "bob2.256x256", 33, 1, loops); - runOneSet(drawable, "bob2.512x512", 33, 1, loops); + runOneSet(drawable, "bob2.128x128", 4, 1, loops); + runOneSet(drawable, "bob2.256x256", 4, 1, loops); + runOneSet(drawable, "bob2.512x512", 4, 1, loops); } } diff --git a/wince/perftst-text1-args.txt b/wince/perftst-text1-args.txt new file mode 100755 index 0000000..2dcd55e --- /dev/null +++ b/wince/perftst-text1-args.txt @@ -0,0 +1,2 @@ +"-Dsun.boot.library.path=\Storage Card\bin" "-Xbootclasspath/a:\Storage Card\gluegen-rt.jar" "-Xbootclasspath/a:\Storage Card\jogl.core.jar" "-Xbootclasspath/a:\Storage Card\jogl.egl.jar" "-Xbootclasspath/a:\Storage Card\jogl.gles2.jar" "-Xbootclasspath/a:\Storage Card\jogl.fixed.jar" "-Xbootclasspath/a:\Storage Card\jogl.util.jar" "-Xbootclasspath/a:\Storage Card\newt.jar" "-Xbootclasspath/a:\Storage Card\jogl-demos.jar" "-Xopt:stdioPrefix=\Storage Card" demos.es2.perftst.Perftst -test demos.es2.perftst.PerfTextLoad + diff --git a/wince/perftst-text1.lnk b/wince/perftst-text1.lnk new file mode 100755 index 0000000..3ebf9fc --- /dev/null +++ b/wince/perftst-text1.lnk @@ -0,0 +1 @@ +01#"\Storage Card\bin\cvm.exe" -f "\Storage Card\perftst-text1-args.txt" |