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

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

Issue 1943153002: Mozart: Move frame lag compensation to new class. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « mojo/services/gfx/composition/cpp/frame_tracker_apptest.cc ('k') | mojo/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/gfx/composition/interfaces/scheduling.mojom
diff --git a/mojo/services/gfx/composition/interfaces/scheduling.mojom b/mojo/services/gfx/composition/interfaces/scheduling.mojom
index dac60f91a97802fb106d8b310c2df22524c5374b..7b5dee1c4d28bc3b79513b9f271f2ee6a5fe86fd 100644
--- a/mojo/services/gfx/composition/interfaces/scheduling.mojom
+++ b/mojo/services/gfx/composition/interfaces/scheduling.mojom
@@ -42,6 +42,12 @@ interface SceneScheduler {
// Provides timestamp information about a frame which has been scheduled
// to be drawn.
+//
+// As there may be latency in receiving an updated |FrameInfo| from the
+// system, the consumer of this structure should apply compensation for
+// skipped frames.
+//
+// See |mojo::gfx::composition::FrameTracker|.
struct FrameInfo {
// A timestamp indicating when the work of updating the frame was scheduled
// to begin which may be used to coordinate animations that require a
« no previous file with comments | « mojo/services/gfx/composition/cpp/frame_tracker_apptest.cc ('k') | mojo/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698