gnome-shell r178 - trunk/js/ui



Author: otaylor
Date: Tue Feb  3 21:25:27 2009
New Revision: 178
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=178&view=rev

Log:
Remove left-over comment

Remove comment in frame-ticker code about dynamically adjusting
FRAME_RATE - we no longer do that.

Modified:
   trunk/js/ui/main.js

Modified: trunk/js/ui/main.js
==============================================================================
--- trunk/js/ui/main.js	(original)
+++ trunk/js/ui/main.js	Tue Feb  3 21:25:27 2009
@@ -56,16 +56,6 @@
     },
 
     _onNewFrame : function(frame) {
-        // Unfortunately the interface to to send a new frame to tweener
-        // is a simple "next frame" and there is no provision for signaling
-        // that frames have been skipped or just telling it the new time.
-        // But what it actually does internally is just:
-        //
-        //  _currentTime += 1000/_ticker.FRAME_RATE;
-        //
-        // So by dynamically adjusting the value of FRAME_RATE we can trick
-        // it into dealing with dropped frames.
-
         // If there is a lot of setup to start the animation, then
         // first frame number we get from clutter might be a long ways
         // into the animation (or the animation might even be done).



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