gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz gfx/jni/GzzGL-jni.cxx gfx/librenderables/Re...


From: Matti Katila
Subject: [Gzz-commits] gzz gfx/jni/GzzGL-jni.cxx gfx/librenderables/Re...
Date: Mon, 17 Mar 2003 15:53:31 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Matti Katila <address@hidden>   03/03/17 15:53:31

Modified files:
        gfx/jni        : GzzGL-jni.cxx 
        gfx/librenderables: Renderables.cxx Renderables.hxx 
        gzz/gfx/gl     : GL.java 

Log message:
        remove rubbish

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/jni/GzzGL-jni.cxx.diff?tr1=1.90&tr2=1.91&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/librenderables/Renderables.cxx.diff?tr1=1.18&tr2=1.19&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/librenderables/Renderables.hxx.diff?tr1=1.33&tr2=1.34&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/gfx/gl/GL.java.diff?tr1=1.49&tr2=1.50&r1=text&r2=text

Patches:
Index: gzz/gfx/jni/GzzGL-jni.cxx
diff -u gzz/gfx/jni/GzzGL-jni.cxx:1.90 gzz/gfx/jni/GzzGL-jni.cxx:1.91
--- gzz/gfx/jni/GzzGL-jni.cxx:1.90      Mon Mar 17 10:42:18 2003
+++ gzz/gfx/jni/GzzGL-jni.cxx   Mon Mar 17 15:53:30 2003
@@ -1175,23 +1175,7 @@
         CurrentFPS::last_time[CurrentFPS::count] = new_time;
 
       }
-
-      CurrentFPS::totalFrames ++;
   }
-
-
-JNIEXPORT void JNICALL Java_gzz_gfx_gl_GL_clearFrameCountImpl
-  (JNIEnv *env, jclass) {
-      DBG(dbg) << "Clear frame count.\n";
-      CurrentFPS::totalFrames = 0;
-  }
-
-JNIEXPORT jint JNICALL Java_gzz_gfx_gl_GL_getFrameCountImpl
-  (JNIEnv *env, jclass) {
-      DBG(dbg) << "Get frame count.\n";
-      return CurrentFPS::totalFrames;
-  }
-
 
 
 JNIEXPORT jfloat JNICALL Java_gzz_gfx_gl_GL_timeRenderImpl
Index: gzz/gfx/librenderables/Renderables.cxx
diff -u gzz/gfx/librenderables/Renderables.cxx:1.18 
gzz/gfx/librenderables/Renderables.cxx:1.19
--- gzz/gfx/librenderables/Renderables.cxx:1.18 Mon Mar 17 10:42:18 2003
+++ gzz/gfx/librenderables/Renderables.cxx      Mon Mar 17 15:53:31 2003
@@ -37,9 +37,6 @@
     double current_fps5;
     double last_time[NCounts];
     int count = 0;
-
-    // total frames  count
-    int totalFrames = 0;
 }
 
 namespace Renderables {
Index: gzz/gfx/librenderables/Renderables.hxx
diff -u gzz/gfx/librenderables/Renderables.hxx:1.33 
gzz/gfx/librenderables/Renderables.hxx:1.34
--- gzz/gfx/librenderables/Renderables.hxx:1.33 Mon Mar 17 10:42:18 2003
+++ gzz/gfx/librenderables/Renderables.hxx      Mon Mar 17 15:53:31 2003
@@ -57,9 +57,6 @@
     extern int count;
     enum { NCounts = 5 };
     extern double last_time[NCounts];
-
-    // Count how many frames is seen between animations
-    extern int totalFrames;
 }
 
 /** The core of Gzz graphics: lists of interpolatable, renderable
Index: gzz/gzz/gfx/gl/GL.java
diff -u gzz/gzz/gfx/gl/GL.java:1.49 gzz/gzz/gfx/gl/GL.java:1.50
--- gzz/gzz/gfx/gl/GL.java:1.49 Mon Mar 17 10:42:18 2003
+++ gzz/gzz/gfx/gl/GL.java      Mon Mar 17 15:53:31 2003
@@ -844,16 +844,6 @@
                    float fract, boolean standardcoords,
                boolean showFinal);
 
-    // Frame Counts 
-    public static void clearFrameCount() { 
-       clearFrameCountImpl();
-    } private static native void clearFrameCountImpl();
-
-    public static int getFrameCount() { 
-       return getFrameCountImpl();
-    } private static native int getFrameCountImpl();
-
-
     public static float timeRender(
                    RenderingSurface win, int iters,
                    int ninds, int[] inds1, float[] pts1, 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]