summaryrefslogtreecommitdiffstats
path: root/src/demos
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 /src/demos
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
Diffstat (limited to 'src/demos')
-rwxr-xr-xsrc/demos/es2/perftst/PerfTextLoad.java6
1 files changed, 4 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);
}
}