|
Lines 2127-2132
CompositingReasons RenderLayerCompositor::reasonsForCompositing(const RenderLaye
a/Source/WebCore/rendering/RenderLayerCompositor.cpp_sec1
|
| 2127 |
|
2127 |
|
| 2128 |
#if ENABLE(CSS_COMPOSITING) |
2128 |
#if ENABLE(CSS_COMPOSITING) |
| 2129 |
if (layer.isolatesCompositedBlending()) |
2129 |
if (layer.isolatesCompositedBlending()) |
|
|
2130 |
reasons |= CompositingReasonIsolatesCompositedBlendingDescendants; |
| 2131 |
|
| 2132 |
if (layer.hasBlendMode()) |
| 2130 |
reasons |= CompositingReasonBlendingWithCompositedDescendants; |
2133 |
reasons |= CompositingReasonBlendingWithCompositedDescendants; |
| 2131 |
#endif |
2134 |
#endif |
| 2132 |
|
2135 |
|
|
Lines 2202-2211
const char* RenderLayerCompositor::logReasonsForCompositing(const RenderLayer& l
a/Source/WebCore/rendering/RenderLayerCompositor.cpp_sec2
|
| 2202 |
|
2205 |
|
| 2203 |
if (reasons & CompositingReasonFilterWithCompositedDescendants) |
2206 |
if (reasons & CompositingReasonFilterWithCompositedDescendants) |
| 2204 |
return "filter with composited descendants"; |
2207 |
return "filter with composited descendants"; |
| 2205 |
|
2208 |
|
|
|
2209 |
#if ENABLE(CSS_COMPOSITING) |
| 2206 |
if (reasons & CompositingReasonBlendingWithCompositedDescendants) |
2210 |
if (reasons & CompositingReasonBlendingWithCompositedDescendants) |
| 2207 |
return "blending with composited descendants"; |
2211 |
return "blending with composited descendants"; |
| 2208 |
|
2212 |
|
|
|
2213 |
if (reasons & CompositingReasonIsolatesCompositedBlendingDescendants) |
| 2214 |
return "isolates composited blending descendants" |
| 2215 |
#endif |
| 2216 |
|
| 2209 |
if (reasons & CompositingReasonPerspective) |
2217 |
if (reasons & CompositingReasonPerspective) |
| 2210 |
return "perspective"; |
2218 |
return "perspective"; |
| 2211 |
|
2219 |
|