diff options
author | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-08 06:47:31 +0000 |
---|---|---|
committer | miletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-08 06:47:31 +0000 |
commit | 6be422be283bff883a198254047ff23dc2f4baa0 (patch) | |
tree | 0d945e2cd10fdc1f15ab9c3bd6a212e379ea270c /cc/cc.gyp | |
parent | 81ebff3b727b9e86317a235d4b97f9c718471fc0 (diff) | |
download | chromium_src-6be422be283bff883a198254047ff23dc2f4baa0.zip chromium_src-6be422be283bff883a198254047ff23dc2f4baa0.tar.gz chromium_src-6be422be283bff883a198254047ff23dc2f4baa0.tar.bz2 |
For main thread event handling, if event causes
SetNeedsCommit, SetNeedsUpdateLayer or SetNeedsAnimate during
event processing, then it is considered to cause rendering and
its LatencyInfo is pushed into LayerTreeHost through
LatencyInfoSwapPromise.
For impl thread event handling, if event causes
SetNeedsRedraw or SetNeedsRedrawRect during event processing,
then it is considered to cause rendering and its LatencyInfo is
pushed into LayerTreeHostImpl through LatencyInfoSwapPromise.
BUG=246034, 271583
TEST=Manually tested on Pixel. The LatencyInfo for events that
causes impl/main thread scrolling are correctly passed to LTH/LTHI.
Review URL: https://codereview.chromium.org/55273003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239375 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc.gyp')
-rw-r--r-- | cc/cc.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -61,6 +61,8 @@ 'base/invalidation_region.h', 'base/latency_info_swap_promise.cc', 'base/latency_info_swap_promise.h', + 'base/latency_info_swap_promise_monitor.cc', + 'base/latency_info_swap_promise_monitor.h', 'base/math_util.cc', 'base/math_util.h', 'base/ref_counted_managed.h', @@ -70,6 +72,8 @@ 'base/scoped_ptr_deque.h', 'base/scoped_ptr_vector.h', 'base/swap_promise.h', + 'base/swap_promise_monitor.cc', + 'base/swap_promise_monitor.h', 'base/switches.cc', 'base/switches.h', 'base/tiling_data.cc', |