[from correct addr this time] I've noticed that most animation frame rates in chrome are hard-coded to values around 50 or 60. Certainly 50 or 60 is a good upper bound and there's no point in going higher. But when the system is under load or is just plain slow to begin with, having a value this high can make the animation come out jankier.
It would be nice to have some mechanism for telling the animation "we are done with the last update, ready for another". I don't see any way of doing this on Windows, and I know it doesn't happen on Linux. Maybe it happens implicitly somewhere on Windows. Anyone know? But for GTK at least, I'm pretty sure that if you have a 1 second animation at 60 hz then you will get 60 re-layouts (paint events might get collapsed). When the download shelf is opening in particular this can be realllllly ugly (between the download started animation, the opening of the shelf, the resizing of the download item, and the cranking of the progress circle, there's a lot going on), and I believe the animation winds up taking much longer than you actually asked it to. Would it be profitable to try adding a function call to Animation that just says "I'm done with the last update, hit me again" -- Evan Stade --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
