Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: mojo/services/vsync/interfaces/vsync.mojom

Issue 1458453003: Add mojo service to get notified of vsync. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add comment Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/services/vsync/interfaces/vsync.mojom
diff --git a/mojo/services/icu_data/interfaces/icu_data.mojom b/mojo/services/vsync/interfaces/vsync.mojom
similarity index 53%
copy from mojo/services/icu_data/interfaces/icu_data.mojom
copy to mojo/services/vsync/interfaces/vsync.mojom
index ced5aa64359941c8bcdc962d2ace971239b1e5f2..e4d7dda296bfabc5f41517afa3a888c111111b0b 100644
--- a/mojo/services/icu_data/interfaces/icu_data.mojom
+++ b/mojo/services/vsync/interfaces/vsync.mojom
@@ -3,8 +3,10 @@
// found in the LICENSE file.
[DartPackage="mojo_services"]
-module icu_data;
+module vsync;
-interface ICUData {
- Map(string sha1hash) => (handle<shared_buffer>? icu_data);
+interface VSyncProvider {
+ // Timebase is in MojoGetTimeTicksNow.
ppi 2015/11/17 16:40:46 Please document what this does. E.g. Waits for th
ppi 2015/11/17 16:40:46 The source of this timestamp is actually not MojoG
qsr 2015/11/17 17:19:40 Done.
qsr 2015/11/17 17:19:40 Removed any reference of the timestamp, saying tha
+ // Only one callback can be parked at a given time.
+ AwaitVSync() => (int64 time_stamp);
};

Powered by Google App Engine
This is Rietveld 408576698