]> git.ipfire.org Git - thirdparty/plymouth.git/commit
animation,throbber: go back to frame dropping
authorRay Strode <rstrode@redhat.com>
Tue, 12 Mar 2013 15:57:15 +0000 (11:57 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 12 Mar 2013 16:01:21 +0000 (12:01 -0400)
commite2b0c7c772ac8ffbcd89f64c594750f271e5046b
tree5ccf7647e1197fd9c607cfa7178c9c2dddce01b2
parent054d29019d03fe787eeb26267774743d2a849777
animation,throbber: go back to frame dropping

Right now we figure out which animation frame to use
based on a static counter variable.  Since it's static
instead of per-object, if there are multiple instances
it ends up counting up too fast.

We could:
1) make it per-object state
2) drop it and use the ifdef'd out alternative implementation
that potentially drops frames if the machine is sluggish

This commit chooses 2, but we may end up going to one if the
frame dropping turns out to be problematic.

Based on deductive work from Kevin Murphy.
src/libply-splash-graphics/ply-animation.c
src/libply-splash-graphics/ply-throbber.c