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

Issue 2831683003: Refactor to centralize code which decides whether ObjectPaintProperties are needed. (Closed)

Created:
3 years, 8 months ago by chrishtr
Modified:
3 years, 8 months ago
Reviewers:
pdr., trchen
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor to centralize code which decides whether ObjectPaintProperties are needed. This is not a pure refactor. Changes: * SVG local to border box transforms are always present, not just if the LocalToBorderBoxTransform+PaintOffset is non-identity. * ObjectPaintProperty objects are cleared from the PaintRareData if not needed. This is step 1 for SPv2 multicol. BUG=648274 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2831683003 Cr-Commit-Position: refs/heads/master@{#466916} Committed: https://chromium.googlesource.com/chromium/src/+/7c90da71a8f435ae99bb7f90e0cc1cfcc96cc1fd

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Patch Set 5 : none #

Total comments: 8

Patch Set 6 : none #

Total comments: 14

Patch Set 7 : none #

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Total comments: 1

Patch Set 11 : none #

Patch Set 12 : none #

Patch Set 13 : none #

Patch Set 14 : Merge branch 'master' into multicol #

Patch Set 15 : none #

Patch Set 16 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -312 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 22 chunks +382 lines, -302 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +18 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeUpdateTests.cpp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/RarePaintData.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/RarePaintData.cpp View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 84 (52 generated)
chrishtr
3 years, 8 months ago (2017-04-19 22:41:22 UTC) #7
pdr.
https://codereview.chromium.org/2831683003/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (left): https://codereview.chromium.org/2831683003/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#oldcode882 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:882: bool scroll_node_needed_for_main_thread_reasons = Can you split out the ancestor ...
3 years, 8 months ago (2017-04-20 05:48:00 UTC) #16
chrishtr
https://codereview.chromium.org/2831683003/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (left): https://codereview.chromium.org/2831683003/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#oldcode882 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:882: bool scroll_node_needed_for_main_thread_reasons = On 2017/04/20 at 05:48:00, pdr. wrote: ...
3 years, 8 months ago (2017-04-20 17:13:15 UTC) #17
pdr.
> On 2017/04/20 at 05:48:00, pdr. wrote: > > Using pseudocode like above, can you ...
3 years, 8 months ago (2017-04-20 17:36:59 UTC) #18
chrishtr
On 2017/04/20 at 17:36:59, pdr wrote: > > On 2017/04/20 at 05:48:00, pdr. wrote: > ...
3 years, 8 months ago (2017-04-20 17:42:13 UTC) #19
pdr.
On 2017/04/20 at 17:42:13, chrishtr wrote: > On 2017/04/20 at 17:36:59, pdr wrote: > > ...
3 years, 8 months ago (2017-04-20 18:15:13 UTC) #20
chrishtr
On 2017/04/20 at 18:15:13, pdr wrote: > On 2017/04/20 at 17:42:13, chrishtr wrote: > > ...
3 years, 8 months ago (2017-04-20 18:39:45 UTC) #21
pdr.
+reviewer Tien-Ren, does the above pseudocode/direction look good to you too?
3 years, 8 months ago (2017-04-20 19:15:31 UTC) #23
trchen
On 2017/04/20 19:15:31, pdr. wrote: > +reviewer Tien-Ren, does the above pseudocode/direction look good to ...
3 years, 8 months ago (2017-04-20 21:18:34 UTC) #24
pdr.
Overall looks good, mostly nits. https://codereview.chromium.org/2831683003/diff/100001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (left): https://codereview.chromium.org/2831683003/diff/100001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#oldcode743 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:743: // The <input> elements ...
3 years, 8 months ago (2017-04-20 22:56:28 UTC) #29
chrishtr
https://codereview.chromium.org/2831683003/diff/100001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (left): https://codereview.chromium.org/2831683003/diff/100001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#oldcode743 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:743: // The <input> elements can't have contents thus CSS ...
3 years, 8 months ago (2017-04-21 01:20:03 UTC) #30
pdr.
LGTM
3 years, 8 months ago (2017-04-21 01:24:35 UTC) #33
pdr.
please update the change description
3 years, 8 months ago (2017-04-21 01:25:09 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/160001
3 years, 8 months ago (2017-04-21 01:25:15 UTC) #38
pdr.
On 2017/04/21 at 01:25:09, pdr. wrote: > please update the change description nvm, change description ...
3 years, 8 months ago (2017-04-21 01:26:08 UTC) #39
chrishtr
Updated
3 years, 8 months ago (2017-04-21 01:30:18 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/3968)
3 years, 8 months ago (2017-04-21 03:06:28 UTC) #44
chrishtr
https://codereview.chromium.org/2831683003/diff/180001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2831683003/diff/180001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode1180 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:1180: context.force_subtree_update = true; Updated to force subtree update if ...
3 years, 8 months ago (2017-04-21 22:02:37 UTC) #45
pdr.
On 2017/04/21 at 22:02:37, chrishtr wrote: > https://codereview.chromium.org/2831683003/diff/180001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): > > https://codereview.chromium.org/2831683003/diff/180001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode1180 ...
3 years, 8 months ago (2017-04-21 22:07:30 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/200001
3 years, 8 months ago (2017-04-21 22:10:57 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/436811)
3 years, 8 months ago (2017-04-21 23:44:36 UTC) #53
chrishtr
Fixed to adjust for blending (and added a unittest). Re-added check for whether a local ...
3 years, 8 months ago (2017-04-25 00:02:09 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/220001
3 years, 8 months ago (2017-04-25 00:02:51 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/4026)
3 years, 8 months ago (2017-04-25 01:06:46 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/240001
3 years, 8 months ago (2017-04-25 01:42:38 UTC) #66
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/369414)
3 years, 8 months ago (2017-04-25 01:57:46 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/260001
3 years, 8 months ago (2017-04-25 02:57:06 UTC) #71
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/354147) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-04-25 03:05:29 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/280001
3 years, 8 months ago (2017-04-25 03:18:15 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/437770)
3 years, 8 months ago (2017-04-25 04:18:43 UTC) #78
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831683003/300001
3 years, 8 months ago (2017-04-25 05:50:25 UTC) #81
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 07:28:02 UTC) #84
Message was sent while issue was closed.
Committed patchset #16 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/7c90da71a8f435ae99bb7f90e0cc...

Powered by Google App Engine
This is Rietveld 408576698