Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Issue 266913021: Hit test on the layer tree rather than the RSLL (Closed)

Created:
6 years, 7 months ago by Ian Vollick
Modified:
6 years, 7 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5

Patch Set 2 : Added test. #

Patch Set 3 : Rebased on vmpstr's patch #

Patch Set 4 : Move hit testing to LayerTreeImpl #

Patch Set 5 : Move LayerTreeHostCommonTestBase into a header so we can reuse it. #

Patch Set 6 : Introducing LayerTreeImplTest #

Patch Set 7 : Minor cleanups. #

Total comments: 8

Patch Set 8 : . #

Total comments: 11

Patch Set 9 : Address reviews / Migrate to UpdateDrawProperties #

Patch Set 10 : Can now scroll any layer that moves a drawn RSLL member. #

Patch Set 11 : Helps if you upload all your files. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2583 lines, -2410 lines) Patch
M cc/base/math_util.h View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/base/math_util.cc View 2 chunks +20 lines, -12 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A cc/test/layer_tree_host_common_test.h View 1 2 3 4 5 6 7 8 10 1 chunk +129 lines, -0 lines 0 comments Download
A cc/test/layer_tree_host_common_test.cc View 1 2 3 4 5 6 7 8 10 1 chunk +113 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 2 chunks +0 lines, -217 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 3 chunks +1 line, -2147 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +91 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +262 lines, -0 lines 0 comments Download
A cc/trees/layer_tree_impl_unittest.cc View 1 2 3 4 5 6 7 8 10 1 chunk +1940 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
enne (OOO)
https://codereview.chromium.org/266913021/diff/1/cc/base/math_util.cc File cc/base/math_util.cc (right): https://codereview.chromium.org/266913021/diff/1/cc/base/math_util.cc#newcode474 cc/base/math_util.cc:474: return h.CartesianPoint3d(); What if h is clipped? https://codereview.chromium.org/266913021/diff/1/cc/layers/draw_properties.h File ...
6 years, 7 months ago (2014-05-06 20:30:58 UTC) #1
Ian Vollick
Added a test to make sure that I didn't break hit testing stuff that's 3D ...
6 years, 7 months ago (2014-05-06 21:06:20 UTC) #2
Ian Vollick
On 2014/05/06 21:06:20, Ian Vollick wrote: > Added a test to make sure that I ...
6 years, 7 months ago (2014-05-09 14:09:43 UTC) #3
danakj
Looks like PS3 is your functional changes, and the rest is code moving around. The ...
6 years, 7 months ago (2014-05-09 18:43:48 UTC) #4
enne (OOO)
https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl.cc File cc/trees/layer_tree_impl.cc (right): https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl.cc#newcode1138 cc/trees/layer_tree_impl.cc:1138: : closest_match(NULL), closest_distance(0.f), found_match(false) {} nit: Maybe initialize closest_distance ...
6 years, 7 months ago (2014-05-09 19:26:04 UTC) #5
enne (OOO)
Also, moving things to LayerTreeImpl seems great to me. Thanks for that cleanup.
6 years, 7 months ago (2014-05-09 19:26:20 UTC) #6
danakj
https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc File cc/trees/layer_tree_impl_unittest.cc (right): https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc#newcode42 cc/trees/layer_tree_impl_unittest.cc:42: host_impl.active_tree()->set_current_render_surface_list_id_for_testing(1); On 2014/05/09 19:26:04, enne wrote: > Please, no. ...
6 years, 7 months ago (2014-05-09 19:36:34 UTC) #7
enne (OOO)
https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc File cc/trees/layer_tree_impl_unittest.cc (right): https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc#newcode42 cc/trees/layer_tree_impl_unittest.cc:42: host_impl.active_tree()->set_current_render_surface_list_id_for_testing(1); On 2014/05/09 19:36:34, danakj wrote: > On 2014/05/09 ...
6 years, 7 months ago (2014-05-09 19:42:43 UTC) #8
danakj
https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc File cc/trees/layer_tree_impl_unittest.cc (right): https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc#newcode42 cc/trees/layer_tree_impl_unittest.cc:42: host_impl.active_tree()->set_current_render_surface_list_id_for_testing(1); On 2014/05/09 19:42:43, enne wrote: > On 2014/05/09 ...
6 years, 7 months ago (2014-05-09 19:45:11 UTC) #9
danakj
On 2014/05/09 19:45:11, danakj wrote: > https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc > File cc/trees/layer_tree_impl_unittest.cc (right): > > https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc#newcode42 > ...
6 years, 7 months ago (2014-05-09 19:46:21 UTC) #10
Ian Vollick
On 2014/05/09 19:46:21, danakj wrote: > On 2014/05/09 19:45:11, danakj wrote: > > > https://codereview.chromium.org/266913021/diff/140001/cc/trees/layer_tree_impl_unittest.cc ...
6 years, 7 months ago (2014-05-09 20:11:05 UTC) #11
Ian Vollick
On 2014/05/09 20:11:05, Ian Vollick wrote: > On 2014/05/09 19:46:21, danakj wrote: > > On ...
6 years, 7 months ago (2014-05-09 20:16:16 UTC) #12
enne (OOO)
Ah, ok ok. If it's gonna get cleaned up, then this is fine.
6 years, 7 months ago (2014-05-09 20:18:55 UTC) #13
Ian Vollick
On 2014/05/09 20:18:55, enne wrote: > Ah, ok ok. If it's gonna get cleaned up, ...
6 years, 7 months ago (2014-05-09 20:27:35 UTC) #14
Ian Vollick
Comments addressed. PTAL. (Also, I've done the refactoring necessary to switch from CalcDrawProps to UpdateDrawProperties ...
6 years, 7 months ago (2014-05-10 02:57:16 UTC) #15
danakj
Test changes LGTM and thanks
6 years, 7 months ago (2014-05-10 06:13:24 UTC) #16
danakj
Test changes LGTM and thanks
6 years, 7 months ago (2014-05-10 06:17:42 UTC) #17
Ian Vollick
The CQ bit was checked by vollick@chromium.org
6 years, 7 months ago (2014-05-10 10:15:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/266913021/180001
6 years, 7 months ago (2014-05-10 10:16:34 UTC) #19
Ian Vollick
The CQ bit was unchecked by vollick@chromium.org
6 years, 7 months ago (2014-05-10 11:34:43 UTC) #20
Ian Vollick
The CQ bit was checked by vollick@chromium.org
6 years, 7 months ago (2014-05-10 11:34:57 UTC) #21
Ian Vollick
The CQ bit was unchecked by vollick@chromium.org
6 years, 7 months ago (2014-05-10 11:35:02 UTC) #22
Ian Vollick
On 2014/05/10 10:16:34, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 7 months ago (2014-05-10 12:23:04 UTC) #23
Ian Vollick
On 2014/05/10 12:23:04, Ian Vollick wrote: > On 2014/05/10 10:16:34, I haz the power (commit-bot) ...
6 years, 7 months ago (2014-05-10 17:05:21 UTC) #24
enne (OOO)
lgtm
6 years, 7 months ago (2014-05-12 18:12:17 UTC) #25
Ian Vollick
The CQ bit was checked by vollick@chromium.org
6 years, 7 months ago (2014-05-12 18:16:55 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vollick@chromium.org/266913021/220001
6 years, 7 months ago (2014-05-12 18:17:28 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 19:07:31 UTC) #28
Message was sent while issue was closed.
Change committed as 269835

Powered by Google App Engine
This is Rietveld 408576698