|
[New Multicolumn] Render transformed layers into multiple fragments.
When composited, a layer is transformed on the graphics side, so the best thing
we can do is to carry on and just paint in all columns (without applying the
transform on our own). collectLayerFragments() used to refuse to collect a
fragment for each column involved if the layer was transformed. This is only
correct when not compositing, because then we apply the transform in software
for each column.
Note that the end result won't always be correct for transformed composited
layers. Column gap clipping may be wrong, since the gaps get transformed along
with the layer (also a problem prior to this CL). Furthermore, each fragment
should ideally be transformed separately, in order to use a different origin
for each fragment. But at least we won't lose all content outside the first
fragment, like we used to.
Most of the tests are based on work by andersr@opera.com.
BUG= 359877
R=chrishtr@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189754
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+308 lines, -17 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-multiple-fragments.html
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-multiple-fragments-expected.html
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-multiple-fragments-translated.html
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-multiple-fragments-translated-expected.html
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-nested.html
|
View
|
|
1 chunk |
+59 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-nested-expected.html
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-will-change.html
|
View
|
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/composited-layer-will-change-expected.html
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/Layer.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/Layer.cpp
|
View
|
1
|
2 chunks |
+16 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/paint/LayerPainter.h
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/paint/LayerPainter.cpp
|
View
|
1
|
5 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
Total messages: 14 (4 generated)
|