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

Unified Diff: components/surfaces/surfaces_scheduler.h

Issue 1150093003: Move GLES2, GPU & Surfaces into the ViewManager directory. This does not merge the applications, th… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 | « components/surfaces/surfaces_output_surface.cc ('k') | components/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/surfaces/surfaces_scheduler.h
diff --git a/components/surfaces/surfaces_scheduler.h b/components/surfaces/surfaces_scheduler.h
deleted file mode 100644
index b713ad8892d1bff0895a366cfd42beaba5ad43ee..0000000000000000000000000000000000000000
--- a/components/surfaces/surfaces_scheduler.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SURFACES_SURFACES_SCHEDULER_H_
-#define COMPONENTS_SURFACES_SURFACES_SCHEDULER_H_
-
-#include <set>
-
-#include "cc/scheduler/scheduler.h"
-
-namespace cc {
-class Display;
-}
-
-namespace surfaces {
-
-class SurfacesScheduler : public cc::SchedulerClient {
- public:
- SurfacesScheduler();
- ~SurfacesScheduler() override;
-
- void SetNeedsDraw();
-
- void OnVSyncParametersUpdated(base::TimeTicks timebase,
- base::TimeDelta interval);
-
- void AddDisplay(cc::Display* display);
- void RemoveDisplay(cc::Display* display);
-
- private:
- void WillBeginImplFrame(const cc::BeginFrameArgs& args) override;
- void DidFinishImplFrame() override;
- void ScheduledActionSendBeginMainFrame() override;
- cc::DrawResult ScheduledActionDrawAndSwapIfPossible() override;
- cc::DrawResult ScheduledActionDrawAndSwapForced() override;
- void ScheduledActionAnimate() override;
- void ScheduledActionCommit() override;
- void ScheduledActionActivateSyncTree() override;
- void ScheduledActionBeginOutputSurfaceCreation() override;
- void ScheduledActionPrepareTiles() override;
- void ScheduledActionInvalidateOutputSurface() override;
- void DidAnticipatedDrawTimeChange(base::TimeTicks time) override;
- base::TimeDelta DrawDurationEstimate() override;
- base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
- base::TimeDelta CommitToActivateDurationEstimate() override;
- void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
- void SendBeginMainFrameNotExpectedSoon() override;
-
- std::set<cc::Display*> displays_;
- scoped_ptr<cc::Scheduler> scheduler_;
- base::TimeDelta draw_estimate_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler);
-};
-
-} // namespace mojo
-
-#endif // COMPONENTS_SURFACES_SURFACES_SCHEDULER_H_
« no previous file with comments | « components/surfaces/surfaces_output_surface.cc ('k') | components/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698