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

Unified Diff: cc/surfaces/onscreen_display_client.h

Issue 1821863002: Hook up ui::Compositor to Display's BeginFrameSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BrowserCompositorOutputSurface owns;scheduler decides Created 4 years, 9 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: cc/surfaces/onscreen_display_client.h
diff --git a/cc/surfaces/onscreen_display_client.h b/cc/surfaces/onscreen_display_client.h
index d91f9c4908c68933a2aaeb75f7bf8f3aa4aa2136..c40107837478c15ac3c78398171a2c5e7ae7a8ca 100644
--- a/cc/surfaces/onscreen_display_client.h
+++ b/cc/surfaces/onscreen_display_client.h
@@ -19,7 +19,6 @@ class SingleThreadTaskRunner;
}
namespace cc {
-class BeginFrameSource;
class ContextProvider;
class DisplayScheduler;
class SurfaceManager;
@@ -46,8 +45,6 @@ class CC_SURFACES_EXPORT OnscreenDisplayClient
}
// DisplayClient implementation.
- void CommitVSyncParameters(base::TimeTicks timebase,
- base::TimeDelta interval) override;
void OutputSurfaceLost() override;
void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
@@ -59,13 +56,9 @@ class CC_SURFACES_EXPORT OnscreenDisplayClient
// Display depends on DisplayScheduler depends on *BeginFrameSource
// depends on TaskRunner.
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- scoped_ptr<SyntheticBeginFrameSource> synthetic_frame_source_;
- scoped_ptr<BackToBackBeginFrameSource> unthrottled_frame_source_;
- scoped_ptr<DisplayScheduler> scheduler_;
scoped_ptr<Display> display_;
SurfaceDisplayOutputSurface* surface_display_output_surface_;
bool output_surface_lost_;
- bool disable_display_vsync_;
private:
DISALLOW_COPY_AND_ASSIGN(OnscreenDisplayClient);

Powered by Google App Engine
This is Rietveld 408576698