diff options
author | brianderson <brianderson@chromium.org> | 2015-04-13 18:34:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-14 01:35:04 +0000 |
commit | 893604464fd906112dd5ff3eec9cc99f6ca645fc (patch) | |
tree | c919a020b75b8aa5dad2c11cbb41b990b3106dbf /cc/surfaces/display_client.h | |
parent | cc7fd4eff0671f5fd96df90283b7397e840edfb5 (diff) | |
download | chromium_src-893604464fd906112dd5ff3eec9cc99f6ca645fc.zip chromium_src-893604464fd906112dd5ff3eec9cc99f6ca645fc.tar.gz chromium_src-893604464fd906112dd5ff3eec9cc99f6ca645fc.tar.bz2 |
Add DisplayScheduler for Surfaces
This uses a SyntheticBeginFrameSource and a simple
BeginFrame + deadline to determine when to draw.
A simple heuristic based on recent activity is
used to detect currently active surfaces that we
want to wait for.
Future patches will put this in charge of sending
BeginFrames to surface produces, recovering
producer latency, and replace the heuristic with
something more correct.
BUG=467750
Review URL: https://codereview.chromium.org/1012853003
Cr-Commit-Position: refs/heads/master@{#324980}
Diffstat (limited to 'cc/surfaces/display_client.h')
-rw-r--r-- | cc/surfaces/display_client.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cc/surfaces/display_client.h b/cc/surfaces/display_client.h index 71ee434..61ea4d3 100644 --- a/cc/surfaces/display_client.h +++ b/cc/surfaces/display_client.h @@ -14,9 +14,6 @@ struct ManagedMemoryPolicy; class DisplayClient { public: - virtual void DisplayDamaged() = 0; - virtual void DidSwapBuffers() = 0; - virtual void DidSwapBuffersComplete() = 0; virtual void CommitVSyncParameters(base::TimeTicks timebase, base::TimeDelta interval) = 0; virtual void OutputSurfaceLost() = 0; |