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

Unified Diff: services/gfx/compositor/scene_impl.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/renderer_state.h ('k') | services/gfx/compositor/scene_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/scene_impl.h
diff --git a/services/gfx/compositor/scene_impl.h b/services/gfx/compositor/scene_impl.h
index f145c1557b097f51ec8aea9679397458f2e4dff6..c7f7e8f489f95e1c5e8773e95e9003019afe4b72 100644
--- a/services/gfx/compositor/scene_impl.h
+++ b/services/gfx/compositor/scene_impl.h
@@ -18,7 +18,7 @@ namespace compositor {
// Scene interface implementation.
// This object is owned by its associated SceneState.
class SceneImpl : public mojo::gfx::composition::Scene,
- public mojo::gfx::composition::SceneScheduler {
+ public mojo::gfx::composition::FrameScheduler {
public:
SceneImpl(
CompositorEngine* engine,
@@ -37,16 +37,16 @@ class SceneImpl : public mojo::gfx::composition::Scene,
void Update(mojo::gfx::composition::SceneUpdatePtr update) override;
void Publish(mojo::gfx::composition::SceneMetadataPtr metadata) override;
void GetScheduler(
- mojo::InterfaceRequest<mojo::gfx::composition::SceneScheduler>
+ mojo::InterfaceRequest<mojo::gfx::composition::FrameScheduler>
scheduler_request) override;
- // |SceneScheduler|:
+ // |FrameScheduler|:
void ScheduleFrame(const ScheduleFrameCallback& callback) override;
CompositorEngine* const engine_;
SceneState* const state_;
mojo::Binding<mojo::gfx::composition::Scene> scene_binding_;
- mojo::BindingSet<mojo::gfx::composition::SceneScheduler> scheduler_bindings_;
+ mojo::BindingSet<mojo::gfx::composition::FrameScheduler> scheduler_bindings_;
DISALLOW_COPY_AND_ASSIGN(SceneImpl);
};
« no previous file with comments | « services/gfx/compositor/renderer_state.h ('k') | services/gfx/compositor/scene_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698