10 Commits

Author SHA1 Message Date
Chinmay Garde
26998e5349 Merge pull request #2389 from chinmaygarde/master
iOS: Vsync provider can take multiple callbacks
2016-02-11 14:25:46 -08:00
Chinmay Garde
2f57d8de36 iOS: Vsync provider can take multiple callbacks 2016-02-11 14:22:16 -08:00
Jason Simmons
626789d555 Allow multiple callbacks in the VSyncProvider
It's possible for multiple calls to AwaitVSync to be pending while reloading
an application.  The Animator may get an AwaitVSync, a Reset, and then another
AwaitVSync before the first vsync completes.

If this happens, invoke both callbacks.  If we close the pipe, then the
Animator will no longer make progress.
2016-02-11 13:56:18 -08:00
Chinmay Garde
f97824d368 Add a counter to trace VSync events from the platform 2015-12-01 15:51:05 -08:00
Adam Barth
97a375f096 Flutter for Modroid should use vsync
This patch teaches Flutter how to connect to the vsync service on Modroid.
Also, remove our now-redunant copy of vsync.mojom.

Fixes #589
2015-11-25 13:10:44 -08:00
Kris Giesing
578ad3a68c Add ServiceName to various interfaces 2015-11-20 13:49:10 -08:00
Chinmay Garde
d726d4f822 Implement platform VSyncProvider for iOS 2015-08-31 12:30:11 -07:00
John McCutchan
44c883a340 Add DartPackage annotation 2015-07-30 14:19:09 -07:00
Adam Barth
752ff89710 Improve vsync provider
Now we actually use the vsync signal to trigger work. Previously, we'd hit the
pipeline depth limit too early and fall back to swap buffers-triggered
rendering.

Also, rename Vsync to VSync on recommendation from jamesr.
2015-07-29 14:25:51 -07:00
Adam Barth
f81d96e1dd Drive frames from the vsync provider on Android
Instead of using back pressure from swap buffers to drive the engine, this
patch using the vsync signal from the Android framework. We still respect
back pressure from swap buffers if we get too far ahead.
2015-07-28 22:32:36 -07:00