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

Unified Diff: services/gfx/compositor/compositor_engine.h

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
« no previous file with comments | « services/gfx/compositor/backend/gpu_output.cc ('k') | services/gfx/compositor/compositor_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/compositor_engine.h
diff --git a/services/gfx/compositor/compositor_engine.h b/services/gfx/compositor/compositor_engine.h
index a1a73293ea7125b057a2fa07d910d13432b4e32e..e425c9ad49cb63b334a53432a8ed49c76aab552e 100644
--- a/services/gfx/compositor/compositor_engine.h
+++ b/services/gfx/compositor/compositor_engine.h
@@ -57,7 +57,7 @@ class CompositorEngine {
// Schedules a frame callback.
void ScheduleFrame(SceneState* scene_state,
- const SceneFrameCallback& callback);
+ const FrameCallback& callback);
// RENDERER REQUESTS
@@ -72,6 +72,10 @@ class CompositorEngine {
// Destroys |renderer_state| if an error occurs.
void ClearRootScene(RendererState* renderer_state);
+ // Schedules a frame callback.
+ void ScheduleFrame(RendererState* renderer_state,
+ const FrameCallback& callback);
+
// Performs a hit test.
void HitTest(
RendererState* renderer_state,
« no previous file with comments | « services/gfx/compositor/backend/gpu_output.cc ('k') | services/gfx/compositor/compositor_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698