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

Unified Diff: mojo/services/gfx/composition/interfaces/scenes.mojom

Issue 1997513002: Mozart: Generalize frame scheduling. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-jank2
Patch Set: add comments Created 4 years, 7 months 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/gfx/composition/interfaces/scenes.mojom
diff --git a/mojo/services/gfx/composition/interfaces/scenes.mojom b/mojo/services/gfx/composition/interfaces/scenes.mojom
index 158f964df18704f9e3c08801bc3579b6a636b319..d4dadec7b28b432f8e23f6ccdebe9d541ebab005 100644
--- a/mojo/services/gfx/composition/interfaces/scenes.mojom
+++ b/mojo/services/gfx/composition/interfaces/scenes.mojom
@@ -117,8 +117,8 @@ const uint32 kSceneVersionNone = 0;
//
// SCHEDULING
//
-// The scene provides support for scheduling update via its associated
-// |SceneScheduler| interface. Use the scheduler to obtain frame timing
+// The scene provides support for scheduling frames via its associated
+// |FrameScheduler| interface. Use the scheduler to obtain frame timing
// information and to throttle updates to match the display refresh rate
// (ie. with vsync).
interface Scene {
@@ -155,8 +155,8 @@ interface Scene {
// introducing cycles in the scene's nodes; the connection will be closed.
Publish(SceneMetadata? metadata);
- // Gets a scheduler for scheduling upcoming scene operations.
- GetScheduler(SceneScheduler& scheduler);
+ // Gets a scheduler to receive frame timing information for the scene.
+ GetScheduler(FrameScheduler& scheduler);
};
// An interface applications may implement to receive events from a scene.
« no previous file with comments | « mojo/services/gfx/composition/interfaces/renderers.mojom ('k') | mojo/services/gfx/composition/interfaces/scheduling.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698