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

Issue 2137173002: [SPv2] Respect transform-style in the Blink and cc property trees. (Closed)

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

Description

[SPv2] Respect transform-style in the Blink and cc property trees. This allows the creation of 3D rendering contexts (thus 3D sorting), and of setting the bits controlling transform flattening, according to the CSS transform-style. BUG=563667 Committed: https://crrev.com/cc109564b3b1277f76d0d022c5be5560b9c239be Cr-Commit-Position: refs/heads/master@{#407381}

Patch Set 1 #

Patch Set 2 : make msvc happy; some unit tests #

Patch Set 3 : unit tests that flat and preserve-3d apply to blink transform nodes #

Patch Set 4 : more unit tests #

Patch Set 5 : fix perspective #

Total comments: 17

Patch Set 6 : now computes flattens_inherited_transform in PaintPropertyTreeBuilder #

Patch Set 7 : dummyRootEffect #

Total comments: 2

Patch Set 8 : merge with master; add TODO for trchen's comment #

Patch Set 9 : large merge (with https://codereview.chromium.org/2144823006) #

Messages

Total messages: 47 (20 generated)
jbroman
4 years, 5 months ago (2016-07-11 22:18:42 UTC) #2
trchen
Counter-example: http://jsbin.com/wikehihunu/ A flat element with perspective applies perspective to each children (which can create ...
4 years, 5 months ago (2016-07-11 23:45:45 UTC) #3
pdr.
On 2016/07/11 at 23:45:45, trchen wrote: > Counter-example: http://jsbin.com/wikehihunu/ > A flat element with perspective ...
4 years, 5 months ago (2016-07-12 03:58:05 UTC) #4
jbroman
On 2016/07/11 at 23:45:45, trchen wrote: > Counter-example: http://jsbin.com/wikehihunu/ > A flat element with perspective ...
4 years, 5 months ago (2016-07-12 18:11:37 UTC) #5
trchen
Counter-example 3: http://jsbin.com/papogugabi/ The way I see it is that separating the concept of "transform ...
4 years, 5 months ago (2016-07-13 04:14:57 UTC) #6
trchen
https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode122 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:122: // TODO(jbroman, pdr): Handle flattening in SVG? SVG doesn't ...
4 years, 5 months ago (2016-07-13 04:39:44 UTC) #7
chrishtr
On 2016/07/13 at 04:14:57, trchen wrote: > Counter-example 3: http://jsbin.com/papogugabi/ > > The way I ...
4 years, 5 months ago (2016-07-13 20:29:11 UTC) #8
chrishtr
https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode151 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:151: case TransformStyle3DFlat: Given the requirement to initialize for MSVC, ...
4 years, 5 months ago (2016-07-13 20:30:50 UTC) #10
chrishtr
https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (right): https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#newcode395 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:395: // cc's notion of flattening and Blink's differ based ...
4 years, 5 months ago (2016-07-13 20:32:44 UTC) #11
jbroman
Still sketching out what a version that gets closer to cc semantics in core/ rather ...
4 years, 5 months ago (2016-07-13 21:47:13 UTC) #12
trchen
On 2016/07/13 20:29:11, chrishtr wrote: > On 2016/07/13 at 04:14:57, trchen wrote: > > Counter-example ...
4 years, 5 months ago (2016-07-13 22:31:34 UTC) #13
trchen
https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h File third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h (right): https://codereview.chromium.org/2137173002/diff/80001/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h#newcode25 third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h:25: enum RenderingContextBehavior { On 2016/07/13 21:47:13, jbroman wrote: > ...
4 years, 5 months ago (2016-07-13 22:31:43 UTC) #14
jbroman
N.B. this CL now depends on https://codereview.chromium.org/2144733008, because moving the rendering context ID tracking and ...
4 years, 5 months ago (2016-07-14 20:34:58 UTC) #15
jbroman
Will look into the bot failures tomorrow; they passed locally, but I've likely made a ...
4 years, 5 months ago (2016-07-14 23:20:43 UTC) #20
jbroman
Ah, needed to use dummyRootEffect.
4 years, 5 months ago (2016-07-15 01:17:55 UTC) #23
jbroman
ping
4 years, 5 months ago (2016-07-19 14:34:45 UTC) #26
trchen
lgtm overall. https://codereview.chromium.org/2137173002/diff/120001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2137173002/diff/120001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode176 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:176: childrenFlattenInheritedTransform = false; Note: transform-style should be ...
4 years, 5 months ago (2016-07-19 22:19:42 UTC) #27
jbroman
https://codereview.chromium.org/2137173002/diff/120001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2137173002/diff/120001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode176 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:176: childrenFlattenInheritedTransform = false; On 2016/07/19 at 22:19:42, trchen wrote: ...
4 years, 5 months ago (2016-07-20 15:30:56 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/2137173002/140001
4 years, 5 months ago (2016-07-22 13:26:39 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/260619)
4 years, 5 months ago (2016-07-22 16:58:27 UTC) #33
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/2137173002/140001
4 years, 5 months ago (2016-07-22 17:24:37 UTC) #35
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp: While running git apply --index -3 -p1; error: patch ...
4 years, 5 months ago (2016-07-22 20:34:32 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/2137173002/160001
4 years, 5 months ago (2016-07-24 01:33:24 UTC) #40
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/268057)
4 years, 5 months ago (2016-07-24 03:42:48 UTC) #42
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/2137173002/160001
4 years, 5 months ago (2016-07-24 03:43:47 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 5 months ago (2016-07-24 12:33:25 UTC) #45
commit-bot: I haz the power
4 years, 5 months ago (2016-07-24 12:34:58 UTC) #47
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/cc109564b3b1277f76d0d022c5be5560b9c239be
Cr-Commit-Position: refs/heads/master@{#407381}

Powered by Google App Engine
This is Rietveld 408576698