summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-10-05 21:45:12 +0000
committerKenneth Russel <[email protected]>2005-10-05 21:45:12 +0000
commitf716cc6e82ad2dc01c33e5520621724076fc5476 (patch)
tree9825427c56413ba5c9daf675568ef28807314c12
parentde6334654ef95d225670e6f7b56006d66f02729d (diff)
Cleaned up ^Ms
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JSR-231@138 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rwxr-xr-xsrc/demos/hdr/ARBFPPipeline.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/demos/hdr/ARBFPPipeline.java b/src/demos/hdr/ARBFPPipeline.java
index 0cc51f8..6d25fee 100755
--- a/src/demos/hdr/ARBFPPipeline.java
+++ b/src/demos/hdr/ARBFPPipeline.java
@@ -28,7 +28,10 @@ public class ARBFPPipeline implements Pipeline {
public void copyToTexture(GL gl, int textureObject, int w, int h) {
gl.glBindTexture(GL.GL_TEXTURE_RECTANGLE_NV, textureObject);
+ long start = System.currentTimeMillis();
gl.glCopyTexSubImage2D(GL.GL_TEXTURE_RECTANGLE_NV, 0, 0, 0, 0, 0, w, h);
+ long end = System.currentTimeMillis();
+ System.err.println("glCopyTexSubImage2D " + w + "x" + h + " took " + (end - start) + " ms");
}
public void bindTexture(GL gl, int textureObject) {