DescriptionAdd a simple scheduler for animation frames
This CL adds a simple scheduler for animation frames that holds a given interval
in a given phase. The scheduler can be told the estimated duration of the
BeginFrame callback and can adjust the callback to hit a given vsync interval.
This CL also makes ganesh_app use this scheduler to animate.
R=jamesr@chromium.org, ernstm@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/d6f119dea629ee005e03f32a5e025e7d940e25c7
Patch Set 1 #Patch Set 2 : Use in ganesh_app #Patch Set 3 : scoped_refptr #Patch Set 4 : Fix math #
Messages
Total messages: 5 (1 generated)
|