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

Issue 2800983002: Set owning layer id on transform nodes in SPv2. (Closed)

Created:
3 years, 8 months ago by wkorman
Modified:
3 years, 8 months ago
Reviewers:
chrishtr, weiliangc
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Set owning layer id on transform nodes in SPv2. http://crrev.com/2758343002 switched LayerTreeHostImpl to look up transform nodes by element id rather than layer id. This led to identifying a transform animation change in SPv2 in some cases that were not identified previously. This in turn led to raster scale computation crashing due to expecting an owning layer id on the involved transform node, whereas our SPv2 compositing logic that builds the cc transform node was not setting an owning layer id. We should update cc-side animation logic to use element id and property tree nodes wherever possible rather than layers, but in interim, setting an owning layer id on the cc transform node is an acceptable solution. BUG=707281 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2800983002 Cr-Commit-Position: refs/heads/master@{#462605} Committed: https://chromium.googlesource.com/chromium/src/+/f03d05f724aabaf8e9db6df23bb38dbc1fe04ff6

Patch Set 1 #

Patch Set 2 : Add unit tests. #

Total comments: 2

Patch Set 3 : Add comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -5 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 chunks +37 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp View 1 2 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
wkorman
3 years, 8 months ago (2017-04-06 01:28:17 UTC) #3
chrishtr
Is this a proposed short-term workaround while waiting for animations to be represented in cc ...
3 years, 8 months ago (2017-04-06 17:55:42 UTC) #8
wkorman
On 2017/04/06 17:55:42, chrishtr wrote: > Is this a proposed short-term workaround while waiting for ...
3 years, 8 months ago (2017-04-06 18:05:14 UTC) #9
wkorman
On 2017/04/06 18:05:14, wkorman wrote: > On 2017/04/06 17:55:42, chrishtr wrote: > > Is this ...
3 years, 8 months ago (2017-04-06 18:11:40 UTC) #11
chrishtr
lgtm https://codereview.chromium.org/2800983002/diff/20001/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp File third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp (right): https://codereview.chromium.org/2800983002/diff/20001/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp#newcode77 third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp:77: transformNode.owning_layer_id = m_rootLayer->id(); Please add a comment here ...
3 years, 8 months ago (2017-04-06 18:15:22 UTC) #12
wkorman
https://codereview.chromium.org/2800983002/diff/20001/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp File third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp (right): https://codereview.chromium.org/2800983002/diff/20001/third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp#newcode77 third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp:77: transformNode.owning_layer_id = m_rootLayer->id(); On 2017/04/06 18:15:21, chrishtr wrote: > ...
3 years, 8 months ago (2017-04-06 18:48:26 UTC) #13
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/2800983002/40001
3 years, 8 months ago (2017-04-06 18:49:40 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 20:30:41 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f03d05f724aabaf8e9db6df23bb3...

Powered by Google App Engine
This is Rietveld 408576698