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

Issue 2101683002: [SPv2] Begin to convert the Blink transform tree to cc. (Closed)

Created:
4 years, 5 months ago by jbroman
Modified:
4 years, 5 months ago
Reviewers:
pdr., ajuma, trchen
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv2] Begin to convert the Blink transform tree to cc. This is a first step toward building cc transform nodes from their Blink counterparts. No squashing is done, and there is still data such as 3D rendering contexts missing from this. This maintains the same state of working that poster circle, or similar pages, had beforehand, but the matrices are no longer multiplied by Blink, but instead produce separate transform nodes visible to the compositor. Since transform nodes still require an owning layer, fictitious sibling layers are created for each transform node and attached to the root layer, but these have no children and draw no content. They should be eliminated once cc no longer expects them to exist. Some more unit tests are migrated from the non-flat test cases, including a check that distinct transform nodes are assigned. To make it easier to inspect these trees now that they're non-trivial, an additional trace event for property trees received (rather than built) by cc was added. BUG=563667 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/8afe68e6246bc2dd7080bf4fac3b6fea83d79297 Cr-Commit-Position: refs/heads/master@{#402466}

Patch Set 1 #

Patch Set 2 : I can haz unit test #

Total comments: 3

Patch Set 3 : dummyTransformParent -> rootLayer #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -52 lines) Patch
M cc/trees/layer_tree_host.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h View 1 2 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 6 chunks +114 lines, -50 lines 1 comment Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 3 chunks +91 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
jbroman
This will have non-trivial merge conflicts with trchen's in-flight CLs, unfortunately, but I thought I'd ...
4 years, 5 months ago (2016-06-27 20:31:36 UTC) #4
jbroman
https://codereview.chromium.org/2101683002/diff/20001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h (right): https://codereview.chromium.org/2101683002/diff/20001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h#newcode57 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h:57: Vector<scoped_refptr<cc::Layer>> contentLayers; I'm not thrilled with this, but I ...
4 years, 5 months ago (2016-06-27 20:34:29 UTC) #5
trchen
lgtm except one variable naming. Sorry for blocking you! I think our CL won't have ...
4 years, 5 months ago (2016-06-27 21:39:19 UTC) #6
jbroman
+ajuma for cc On 2016/06/27 at 21:39:19, trchen wrote: > lgtm except one variable naming. ...
4 years, 5 months ago (2016-06-27 21:53:58 UTC) #8
ajuma
cc lgtm
4 years, 5 months ago (2016-06-27 23:04:36 UTC) #9
pdr.
LGTM with or without a suggestion https://codereview.chromium.org/2101683002/diff/40001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (right): https://codereview.chromium.org/2101683002/diff/40001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#newcode398 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:398: int compositorIdForNode(const TransformPaintPropertyNode*); ...
4 years, 5 months ago (2016-06-27 23:09:23 UTC) #10
jbroman
On 2016/06/27 at 23:09:23, pdr wrote: > LGTM with or without a suggestion > > ...
4 years, 5 months ago (2016-06-28 14:15:16 UTC) #11
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/2101683002/40001
4 years, 5 months ago (2016-06-28 14:15:54 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-28 14:49:55 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 14:51:33 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8afe68e6246bc2dd7080bf4fac3b6fea83d79297
Cr-Commit-Position: refs/heads/master@{#402466}

Powered by Google App Engine
This is Rietveld 408576698