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

Issue 2299533002: WIP: Construct SPV2's scroll paint property tree (Closed)

Created:
4 years, 3 months ago by pdr.
Modified:
4 years, 3 months ago
Reviewers:
chrishtr
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WIP: Construct SPV2's scroll paint property tree This patch creates the property node structure. TODO: more tests plumb main thread reasons through create scroll nodes for !scrollable cases CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel BUG=644514

Patch Set 1 #

Patch Set 2 : Begin creating scroll nodes in the paint property tree builder #

Patch Set 3 : Add a test of PaintPropertyTreeBuilder, and cleanup debug printing #

Patch Set 4 : Plumb scroll offset to cc #

Total comments: 2

Patch Set 5 : Add paint/README.md entry, update scroll_tree comments #

Patch Set 6 : Start setting scroll node values (clip, etc), add tests including fixed pos #

Patch Set 7 : Remove scrollable bit #

Patch Set 8 : Add more paint property builder tests, update comments/documentation" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+612 lines, -49 lines) Patch
M cc/trees/scroll_node.h View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 5 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/BlockPainter.cpp View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/FramePainter.cpp View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/ObjectPaintProperties.h View 1 2 3 4 5 6 7 6 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp View 1 2 3 4 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h View 1 2 3 4 5 6 7 3 chunks +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp View 1 2 3 4 5 6 7 chunks +28 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 3 4 5 6 7 6 chunks +182 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp View 1 2 3 4 5 6 chunks +54 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/test_data/fixed-position.html View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/test_data/position-and-scroll.html View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 3 4 9 chunks +79 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 3 4 11 chunks +48 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintArtifactToSkCanvasTest.cpp View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunkProperties.h View 3 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/README.md View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/paint/ScrollPaintPropertyNode.h View 1 2 3 4 5 6 1 chunk +97 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/PaintPrinters.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/PaintPrinters.cpp View 1 2 3 4 2 chunks +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/TestPaintArtifact.h View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 9 (8 generated)
chrishtr
4 years, 3 months ago (2016-09-02 18:04:37 UTC) #7
https://codereview.chromium.org/2299533002/diff/60001/cc/trees/scroll_node.h
File cc/trees/scroll_node.h (right):

https://codereview.chromium.org/2299533002/diff/60001/cc/trees/scroll_node.h#...
cc/trees/scroll_node.h:44: // Size of the clipped area, not including
scrollbars.
Except for overlay scrollbars.

https://codereview.chromium.org/2299533002/diff/60001/cc/trees/scroll_node.h#...
cc/trees/scroll_node.h:55: // Why isn't this ==
TransformToOffsetParent(Transform(transform_id)).
Used if |scrollable| is false, and there doesn't happen to be a transform node
to be equal to.

Powered by Google App Engine
This is Rietveld 408576698