From f716cc6e82ad2dc01c33e5520621724076fc5476 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 5 Oct 2005 21:45:12 +0000 Subject: 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 --- src/demos/hdr/ARBFPPipeline.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/demos') 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) { -- cgit v1.2.3