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

Issue 2651093003: Make scroll translation transform nodes reference scroll nodes (Closed)

Created:
3 years, 11 months ago by pdr.
Modified:
3 years, 11 months ago
Reviewers:
chrishtr, wkorman, trchen
CC:
ajuma+watch_chromium.org, darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, Eric Willigers, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make scroll translation transform nodes reference scroll nodes This is the first of two patches to move scroll tree ownership to the transform nodes that are used for scroll translation. This will let us track just the transform, effect, and clip trees for geometry mapping purposes without worrying about scroll nodes which do not affect compositing decisions on their own (only through their associated scroll translation transform nodes). This patch removes the scroll node pointer to a transform node and adds a pointer from transform nodes to scroll nodes. The compositing element id has also been moved from the scroll node to the associated transform node to remove redundancy. BUG=683774 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2651093003 Cr-Commit-Position: refs/heads/master@{#446545} Committed: https://chromium.googlesource.com/chromium/src/+/231ba29e221aa7ff9e7839c5bae0a05afbff28dc

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add note about scroll tree differences #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -305 lines) Patch
M third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 9 chunks +50 lines, -50 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 7 chunks +77 lines, -74 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinterTest.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 19 chunks +50 lines, -47 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PropertyTreeManager.cpp View 3 chunks +21 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.cpp View 2 chunks +3 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeStateTest.cpp View 2 chunks +10 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h View 1 6 chunks +29 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.cpp View 1 chunk +6 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.h View 10 chunks +27 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp View 1 chunk +4 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (13 generated)
pdr.
3 years, 11 months ago (2017-01-25 18:13:28 UTC) #7
pdr.
A small change buried in this patch is moving compositor element ids off ScrollPaintPropertyNode and ...
3 years, 11 months ago (2017-01-25 18:16:21 UTC) #8
chrishtr
lgtm LGTM, but I think Walter had a comment/concern about where to store compositor element ...
3 years, 11 months ago (2017-01-25 19:45:09 UTC) #9
pdr.
https://codereview.chromium.org/2651093003/diff/1/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h File third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h (right): https://codereview.chromium.org/2651093003/diff/1/third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h#newcode25 third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h:25: // translation. Walter pointed out that we should put ...
3 years, 11 months ago (2017-01-25 19:51:09 UTC) #10
wkorman
lgtm
3 years, 11 months ago (2017-01-25 19:56:37 UTC) #11
pdr.
On 2017/01/25 at 19:56:37, wkorman wrote: > lgtm I like how the followup turned out ...
3 years, 11 months ago (2017-01-26 19:29:31 UTC) #12
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/2651093003/10016
3 years, 11 months ago (2017-01-26 19:30:05 UTC) #15
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/371804)
3 years, 11 months ago (2017-01-26 23:25:13 UTC) #18
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/2651093003/10016
3 years, 11 months ago (2017-01-27 00:41:56 UTC) #20
commit-bot: I haz the power
3 years, 11 months ago (2017-01-27 02:37:37 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:10016) as
https://chromium.googlesource.com/chromium/src/+/231ba29e221aa7ff9e7839c5bae0...

Powered by Google App Engine
This is Rietveld 408576698