|
|
Use a boolean hasCompositedLayerMapping() accessor instead of the pointer
In order to add the ability to paint multiple RenderLayers into one
composited layer backing, we need to complexity the possible "states"
that a RenderLayer identifies as its compositingState. There are many
places in code that still use compositedLayerMapping() as a boolean
accessor to indicate compositingState, but doing so now is already
inadequate, and with layer squashing, it may even be wrong in many
places.
To gradually evolve the codebase away from the compositedLayerMapping()
accessor as a boolean, it is helpful to create a boolean accessor,
hasCompositedLayerMapping(). The purpose of doing this is to more easily
distinguish between places in code where compositedLayerMapping() is
actually used as an object versus places where it is used as a boolean.
BUG= 261605
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161973
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+176 lines, -130 lines) |
Patch |
 |
M |
Source/core/core.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorLayerTreeAgent.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/page/scrolling/ScrollingCoordinator.cpp
|
View
|
1
2
3
|
6 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/CompositedLayerMapping.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+19 lines, -35 lines |
0 comments
|
Download
|
 |
A |
Source/core/rendering/CompositedLayerMappingPtr.h
|
View
|
1
2
3
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayer.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayer.cpp
|
View
|
1
2
3
4
5
6
|
16 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerCompositor.cpp
|
View
|
1
2
3
|
23 chunks |
+37 lines, -37 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerModelObject.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerModelObject.cpp
|
View
|
1
2
3
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerRepainter.cpp
|
View
|
1
2
3
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerScrollableArea.cpp
|
View
|
1
2
3
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderTreeAsText.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/SVGRenderingContext.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/web/LinkHighlight.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/tests/ScrollingCoordinatorChromiumTest.cpp
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|