summaryrefslogtreecommitdiffstats
path: root/cc/cc.gyp
diff options
context:
space:
mode:
authormiletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-08 06:47:31 +0000
committermiletus@chromium.org <miletus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-08 06:47:31 +0000
commit6be422be283bff883a198254047ff23dc2f4baa0 (patch)
tree0d945e2cd10fdc1f15ab9c3bd6a212e379ea270c /cc/cc.gyp
parent81ebff3b727b9e86317a235d4b97f9c718471fc0 (diff)
downloadchromium_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.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cc/cc.gyp b/cc/cc.gyp
index 93fc0d9..6c0e4b5 100644
--- a/cc/cc.gyp
+++ b/cc/cc.gyp
@@ -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',