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

Issue 999033002: Advance document lifecycle to CompositingClean prior to hit testing (Closed)

Created:
5 years, 9 months ago by qiankun
Modified:
5 years, 8 months ago
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Advance document lifecycle to CompositingClean prior to hit testing This CL is motivated by https://codereview.chromium.org/976543002. In that CL, we need to query CompositingState in collectFragments() which is also called when doing hit testing. BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193585

Patch Set 1 #

Patch Set 2 : add assert and allow CompositingClean change to InPreLayout #

Total comments: 5

Patch Set 3 : move assert deeper #

Patch Set 4 : rebase to ToT #

Patch Set 5 : fix webkit_unit_tests #

Total comments: 1

Patch Set 6 : rebase #

Total comments: 2

Patch Set 7 : remove state change from CompositingClean to InPreLayout #

Patch Set 8 : move compositor()->updateIfNeededRecursive down to layer->hitTest() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (14 generated)
qiankun
I worked out an initial version for advancing document lifecycle to CompositingClean prior to hit ...
5 years, 9 months ago (2015-03-11 15:10:14 UTC) #2
leviw_travelin_and_unemployed
On 2015/03/11 at 15:10:14, qiankun.miao wrote: > I worked out an initial version for advancing ...
5 years, 9 months ago (2015-03-11 21:00:55 UTC) #3
qiankun
Updated the patch. PTAL.
5 years, 9 months ago (2015-03-12 09:50:01 UTC) #4
leviw_travelin_and_unemployed
https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp File Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp#newcode133 Source/core/dom/DocumentLifecycle.cpp:133: if (state == InPreLayout) Why this change? https://codereview.chromium.org/999033002/diff/20001/Source/core/layout/LayoutView.cpp File ...
5 years, 9 months ago (2015-03-12 20:09:32 UTC) #5
qiankun
https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp File Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp#newcode133 Source/core/dom/DocumentLifecycle.cpp:133: if (state == InPreLayout) On 2015/03/12 20:09:32, leviw wrote: ...
5 years, 9 months ago (2015-03-13 03:23:10 UTC) #6
qiankun
Hi Levi, please take a look at it when you free. Thanks.
5 years, 9 months ago (2015-03-19 04:46:13 UTC) #7
leviw_travelin_and_unemployed
Can you link this to the other codereview in the description for context? LGTM.
5 years, 9 months ago (2015-03-19 15:42:21 UTC) #8
qiankun
On 2015/03/19 15:42:21, leviw wrote: > Can you link this to the other codereview in ...
5 years, 9 months ago (2015-03-19 16:31:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/999033002/40001
5 years, 9 months ago (2015-03-19 23:57:10 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/48314)
5 years, 9 months ago (2015-03-20 00:00:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/999033002/60001
5 years, 9 months ago (2015-03-20 00:28:16 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/48322)
5 years, 9 months ago (2015-03-20 01:14:52 UTC) #18
qiankun
https://codereview.chromium.org/999033002/diff/80001/Source/web/WebLocalFrameImpl.cpp File Source/web/WebLocalFrameImpl.cpp (right): https://codereview.chromium.org/999033002/diff/80001/Source/web/WebLocalFrameImpl.cpp#newcode1305 Source/web/WebLocalFrameImpl.cpp:1305: frame()->document()->layoutView()->hitTest(request, result); Also advance to CompositingClean state here.
5 years, 9 months ago (2015-03-20 07:50:22 UTC) #19
qiankun
On 2015/03/20 07:50:22, qiankun wrote: > https://codereview.chromium.org/999033002/diff/80001/Source/web/WebLocalFrameImpl.cpp > File Source/web/WebLocalFrameImpl.cpp (right): > > https://codereview.chromium.org/999033002/diff/80001/Source/web/WebLocalFrameImpl.cpp#newcode1305 > ...
5 years, 9 months ago (2015-03-23 23:19:22 UTC) #20
leviw_travelin_and_unemployed
You'll need a stamp from Chris for Source/web (I don't own that subdir)
5 years, 9 months ago (2015-03-24 22:55:19 UTC) #21
esprehn
Is there a bug for this? What about hit testing needs compositing state? The change ...
5 years, 9 months ago (2015-03-24 23:01:03 UTC) #23
esprehn
https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp File Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp#newcode133 Source/core/dom/DocumentLifecycle.cpp:133: if (state == InPreLayout) On 2015/03/13 at 03:23:10, qiankun ...
5 years, 9 months ago (2015-03-24 23:06:05 UTC) #24
qiankun
On 2015/03/24 23:06:05, esprehn wrote: > https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp > File Source/core/dom/DocumentLifecycle.cpp (right): > > https://codereview.chromium.org/999033002/diff/20001/Source/core/dom/DocumentLifecycle.cpp#newcode133 > ...
5 years, 9 months ago (2015-03-25 03:13:00 UTC) #25
qiankun
I will add context for this CL in description. https://codereview.chromium.org/999033002/diff/100001/Source/core/dom/DocumentLifecycle.cpp File Source/core/dom/DocumentLifecycle.cpp (right): https://codereview.chromium.org/999033002/diff/100001/Source/core/dom/DocumentLifecycle.cpp#newcode133 Source/core/dom/DocumentLifecycle.cpp:133: ...
5 years, 9 months ago (2015-03-25 03:13:59 UTC) #26
qiankun
Hi esprehn, I updated the patch which removes state change from CompositingClean to InPreLayout after ...
5 years, 8 months ago (2015-04-07 10:02:26 UTC) #27
qiankun
On 2015/04/07 10:02:26, qiankun wrote: > Hi esprehn, I updated the patch which removes state ...
5 years, 8 months ago (2015-04-09 15:21:23 UTC) #28
esprehn
lgtm
5 years, 8 months ago (2015-04-09 19:38:21 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/999033002/120001
5 years, 8 months ago (2015-04-09 23:30:03 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/58642)
5 years, 8 months ago (2015-04-10 03:35:26 UTC) #34
qiankun
Move compositor()->updateIfNeededRecursive down to layer->hitTest() from LayoutView::hitTest(). With the change, all direct DeprecatedPaintLayer::hitTest() call can ...
5 years, 8 months ago (2015-04-10 07:19:28 UTC) #36
leviw_travelin_and_unemployed
On 2015/04/10 at 07:19:28, qiankun.miao wrote: > Move compositor()->updateIfNeededRecursive down to layer->hitTest() from LayoutView::hitTest(). With ...
5 years, 8 months ago (2015-04-10 19:27:09 UTC) #38
qiankun
On 2015/04/10 19:27:09, leviw wrote: > On 2015/04/10 at 07:19:28, qiankun.miao wrote: > > Move ...
5 years, 8 months ago (2015-04-10 23:58:08 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/999033002/140001
5 years, 8 months ago (2015-04-10 23:59:16 UTC) #42
commit-bot: I haz the power
5 years, 8 months ago (2015-04-11 02:57:59 UTC) #43
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193585

Powered by Google App Engine
This is Rietveld 408576698