summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-09-02 05:42:20 +0000
committerSven Gothel <[email protected]>2008-09-02 05:42:20 +0000
commit0df738664c9ade75e38c3982560b5cf3e4cdf3df (patch)
treec2149f351108c92a852a4e7c80cd872c03078928
parent3c15489f48e9066421f477c16a15d877df761666 (diff)
Perftst: Texture (GL2 ok, ES2 ok)
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@286 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rwxr-xr-xsrc/demos/es2/perftst/PerfTextLoad.java6
-rwxr-xr-xwince/perftst-text1-args.txt2
-rwxr-xr-xwince/perftst-text1.lnk1
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"