|
First step of PaintInvalidator implementation
This step moves some paint invalidation code from layout/ to
paint/*PaintInvalidator.
Current status:
- Spv1 and spv2 share code in paint/*PaintInvalidator, but uses separate
tree walks and geometry mappers.
- Paint invalidation for spv2 is not complete yet.
- Spv2 temporarily uses slow-path LayoutObject mapper.
Paint invalidation behavior of spv1 is unchanged, except the following for
better code organization:
- PaintInvalidationBackgroundObscurationChange now has higher priority than
some other reasons. This is not a real behavior change for end users.
- For forced paint invalidation on paint offset change (will be removed
soon) ObjectPaintInvalidator::invalidatePaintIfNeeded() returns
PaintInvalidationLocationChange instead of PaintInvalidationNone. This
affects one layout test with more object paint invalidations of first
lines of LayoutBlockFlows.
Next steps:
- Complete paint/*PaintInvalidator;
- Use GeometryMapper for Spv2;
- Let the new code path (new tree walk, GeometryMapper) work for spv1 under
slimmingPaintInvalidation flag;
- Enable slimmingPaintInvalidation for spv1;
BUG= 510908
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/35ae155e46207526e3d178afcdf9e23e48bbe098
Cr-Commit-Position: refs/heads/master@{#411348}
Total comments: 22
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1325 lines, -788 lines) |
Patch |
 |
D |
third_party/WebKit/LayoutTests/platform/android/svg/text/text-rescale-expected.txt
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -116 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/platform/linux/svg/text/text-rescale-expected.txt
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/platform/mac/svg/text/text-rescale-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/platform/win/svg/text/text-rescale-expected.txt
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/core.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
6 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
View
|
3
4
5
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBox.h
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+11 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
7 chunks |
+10 lines, -233 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutHTMLCanvas.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutObject.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
12 chunks |
+35 lines, -59 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutObject.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
12 chunks |
+20 lines, -204 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutTable.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutTable.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+9 lines, -48 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/PaintInvalidationState.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+16 lines, -13 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+28 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.h
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/BlockFlowPaintInvalidator.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/BoxPaintInvalidator.h
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/BoxPaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+278 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/HTMLCanvasPaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.h
|
View
|
1
2
3
4
5
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+187 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInvalidationCapableScrollableArea.cpp
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+22 lines, -14 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInvalidator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+50 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+196 lines, -12 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayerPainterTest.cpp
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/TablePaintInvalidator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/paint/TablePaintInvalidator.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 82 (62 generated)
|