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

Issue 2890953002: [SPv1] Always set a CompositorElementId on main graphics layers; use PaintLayer id. (Closed)

Created:
3 years, 7 months ago by chrishtr
Modified:
3 years, 7 months ago
Reviewers:
pdr., wkorman
CC:
darktears, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, Eric Willigers, fmalita+watch_chromium.org, jchaffraix+rendering, Justin Novosad, kenneth.christiansen, kinuko+watch, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv1] Always set a CompositorElementId on main graphics layers; use PaintLayer id. This means we will always have an element id in cc property trees, which means we can rely on it as a key for node lookup instead of layer id. BUG=718564, 723099 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2890953002 Cr-Commit-Position: refs/heads/master@{#473085} Committed: https://chromium.googlesource.com/chromium/src/+/18fc5e473594ff6bb062183835a60257def9a627

Patch Set 1 #

Patch Set 2 : none #

Patch Set 3 : none #

Patch Set 4 : none #

Total comments: 11

Patch Set 5 : none #

Patch Set 6 : none #

Patch Set 7 : none #

Total comments: 6

Patch Set 8 : none #

Patch Set 9 : none #

Patch Set 10 : none #

Patch Set 11 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -89 lines) Patch
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 2 2 chunks +13 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/AnimationTest.cpp View 1 2 3 3 chunks +20 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.cpp View 1 2 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 3 chunks +59 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollState.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 3 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorElementId.h View 1 2 3 4 5 6 7 1 chunk +19 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorElementId.cpp View 1 2 3 4 5 6 2 chunks +18 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorElementIdTest.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.h View 1 2 3 4 5 6 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp View 1 2 3 4 5 6 3 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (21 generated)
chrishtr
3 years, 7 months ago (2017-05-17 23:50:44 UTC) #5
wkorman
lgtm https://codereview.chromium.org/2890953002/diff/60001/third_party/WebKit/Source/core/animation/Animation.cpp File third_party/WebKit/Source/core/animation/Animation.cpp (right): https://codereview.chromium.org/2890953002/diff/60001/third_party/WebKit/Source/core/animation/Animation.cpp#newcode756 third_party/WebKit/Source/core/animation/Animation.cpp:756: if (target_element->GetLayoutObject() && nit: pulling target_element->GetLayoutObject() into local ...
3 years, 7 months ago (2017-05-18 00:45:59 UTC) #8
chrishtr
https://codereview.chromium.org/2890953002/diff/60001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/2890953002/diff/60001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode1028 third_party/WebKit/Source/core/paint/PaintLayer.h:1028: // A id for this PaintLayer that is unique ...
3 years, 7 months ago (2017-05-18 01:25:47 UTC) #11
pdr.
Looks reasonable to me too. LGTM
3 years, 7 months ago (2017-05-18 03:32:25 UTC) #16
chrishtr
Updated to still use DOM node ids for layers that are controlled by compsitor workers, ...
3 years, 7 months ago (2017-05-18 21:22:04 UTC) #17
wkorman
lgtm https://codereview.chromium.org/2890953002/diff/120001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2890953002/diff/120001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode2203 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:2203: Persistent<Node> owning_node = nullptr; add STACK_ALLOCATED()? seems to ...
3 years, 7 months ago (2017-05-18 21:31:57 UTC) #20
pdr.
On 2017/05/18 at 21:22:04, chrishtr wrote: > Updated to still use DOM node ids for ...
3 years, 7 months ago (2017-05-18 21:47:52 UTC) #21
chrishtr
https://codereview.chromium.org/2890953002/diff/120001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/2890953002/diff/120001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode2203 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:2203: Persistent<Node> owning_node = nullptr; On 2017/05/18 at 21:31:57, wkorman ...
3 years, 7 months ago (2017-05-18 22:15:31 UTC) #22
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/2890953002/200001
3 years, 7 months ago (2017-05-18 22:23:15 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/297687)
3 years, 7 months ago (2017-05-19 00:05:52 UTC) #28
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/2890953002/200001
3 years, 7 months ago (2017-05-19 03:27:22 UTC) #30
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 04:21:19 UTC) #33
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/18fc5e473594ff6bb062183835a6...

Powered by Google App Engine
This is Rietveld 408576698