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/cc_tests.gyp | |
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/cc_tests.gyp')
-rw-r--r-- | cc/cc_tests.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp index 90bbc98..de36ebd 100644 --- a/cc/cc_tests.gyp +++ b/cc/cc_tests.gyp @@ -135,6 +135,7 @@ ], 'cc_surfaces_unit_tests_source_files': [ 'surfaces/display_unittest.cc', + 'surfaces/display_scheduler_unittest.cc', 'surfaces/surface_aggregator_test_helpers.cc', 'surfaces/surface_aggregator_test_helpers.h', 'surfaces/surface_aggregator_unittest.cc', |