summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/BUILD.gn
diff options
context:
space:
mode:
authorbrianderson <brianderson@chromium.org>2015-05-21 17:45:24 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-22 00:46:04 +0000
commite3d8fe5e6b5a1fe7ba627cc124b7ad77ec8c2f7d (patch)
tree6c71267913f10989118963eb10a32b86f166528f /cc/surfaces/BUILD.gn
parentd41cd702e281e3b50f4e8562dea4936ee1030329 (diff)
downloadchromium_src-e3d8fe5e6b5a1fe7ba627cc124b7ad77ec8c2f7d.zip
chromium_src-e3d8fe5e6b5a1fe7ba627cc124b7ad77ec8c2f7d.tar.gz
chromium_src-e3d8fe5e6b5a1fe7ba627cc124b7ad77ec8c2f7d.tar.bz2
Add DisplayScheduler for Surfaces
This uses a SyntheticBeginFrameSource and a BeginFrame + deadline to determine when to draw. A heuristic 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 producers, avoid using a heuristic to detect currently active surfaces, and more reliably inform producers of their latency. BUG=467750 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1138563002 Cr-Commit-Position: refs/heads/master@{#331037}
Diffstat (limited to 'cc/surfaces/BUILD.gn')
-rw-r--r--cc/surfaces/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/surfaces/BUILD.gn b/cc/surfaces/BUILD.gn
index e43d4e5..5063789 100644
--- a/cc/surfaces/BUILD.gn
+++ b/cc/surfaces/BUILD.gn
@@ -18,6 +18,8 @@ component("surfaces") {
"display.cc",
"display.h",
"display_client.h",
+ "display_scheduler.cc",
+ "display_scheduler.h",
"onscreen_display_client.cc",
"onscreen_display_client.h",
"surface.cc",