gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/utilities processor.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/utilities processor.cpp
Date: Sun, 09 Dec 2007 21:47:17 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/12/09 21:47:16

Modified files:
        utilities      : processor.cpp 

Log message:
        Don't pretend to loose time in VM initialization, was just a workaround
        for Timer not allowing a start timer of zero.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/processor.cpp?cvsroot=gnash&r1=1.75&r2=1.76

Patches:
Index: processor.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/processor.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- processor.cpp       8 Dec 2007 09:11:25 -0000       1.75
+++ processor.cpp       9 Dec 2007 21:47:16 -0000       1.76
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: processor.cpp,v 1.75 2007/12/08 09:11:25 strk Exp $ */
+/* $Id: processor.cpp,v 1.76 2007/12/09 21:47:16 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -336,10 +336,9 @@
 
     printf("Will sleep %ld microseconds between iterations - fps is %g, 
clockAdvance is %lu\n", localDelay, fps, clockAdvance);
 
-    // TODO: use a fake clock if running at different then FPS rate
+    // Use a clock advanced at every iteration to match exact FPS speed.
     ManualClock cl;
     gnash::movie_root& m = VM::init(*md, cl).getRoot();
-    cl.advance(10); // pretend we spent 10 milliseconds before getting to 
executing first frame
 
     md->completeLoad();
 




reply via email to

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