| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } | 132 bool isSelfPaintingLayer() const { return m_isSelfPaintingLayer; } |
| 133 bool isOverflowOnlyLayer() const { return m_layerType == OverflowClipLayer;
} | 133 bool isOverflowOnlyLayer() const { return m_layerType == OverflowClipLayer;
} |
| 134 bool isForcedLayer() const { return m_layerType == ForcedLayer; } | 134 bool isForcedLayer() const { return m_layerType == ForcedLayer; } |
| 135 | 135 |
| 136 void setLayerType(LayerType layerType) { m_layerType = layerType; } | 136 void setLayerType(LayerType layerType) { m_layerType = layerType; } |
| 137 | 137 |
| 138 bool cannotBlitToWindow() const; | 138 bool cannotBlitToWindow() const; |
| 139 | 139 |
| 140 bool isTransparent() const; | 140 bool isTransparent() const; |
| 141 RenderLayer* transparentPaintingAncestor(); | 141 RenderLayer* transparentPaintingAncestor(); |
| 142 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer,
const LayoutRect& paintDirtyRect, PaintBehavior); | 142 void beginTransparencyLayers(GraphicsContext*, const RenderLayer* rootLayer,
const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, Paint
Behavior); |
| 143 | 143 |
| 144 bool isReflection() const { return renderer()->isReplica(); } | 144 bool isReflection() const { return renderer()->isReplica(); } |
| 145 RenderLayerReflectionInfo* reflectionInfo() { return m_reflectionInfo.get();
} | 145 RenderLayerReflectionInfo* reflectionInfo() { return m_reflectionInfo.get();
} |
| 146 const RenderLayerReflectionInfo* reflectionInfo() const { return m_reflectio
nInfo.get(); } | 146 const RenderLayerReflectionInfo* reflectionInfo() const { return m_reflectio
nInfo.get(); } |
| 147 | 147 |
| 148 const RenderLayer* root() const | 148 const RenderLayer* root() const |
| 149 { | 149 { |
| 150 const RenderLayer* curr = this; | 150 const RenderLayer* curr = this; |
| 151 while (curr->parent()) | 151 while (curr->parent()) |
| 152 curr = curr->parent(); | 152 curr = curr->parent(); |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 | 594 |
| 595 void updateDescendantDependentFlags(); | 595 void updateDescendantDependentFlags(); |
| 596 | 596 |
| 597 void dirty3DTransformedDescendantStatus(); | 597 void dirty3DTransformedDescendantStatus(); |
| 598 // Both updates the status, and returns true if descendants of this have 3d. | 598 // Both updates the status, and returns true if descendants of this have 3d. |
| 599 bool update3DTransformedDescendantStatus(); | 599 bool update3DTransformedDescendantStatus(); |
| 600 | 600 |
| 601 void updateOrRemoveFilterClients(); | 601 void updateOrRemoveFilterClients(); |
| 602 void updateOrRemoveFilterEffectRenderer(); | 602 void updateOrRemoveFilterEffectRenderer(); |
| 603 | 603 |
| 604 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa
intDirtyRect, PaintBehavior); | 604 LayoutRect paintingExtent(const RenderLayer* rootLayer, const LayoutRect& pa
intDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); |
| 605 | 605 |
| 606 RenderLayer* enclosingTransformedAncestor() const; | 606 RenderLayer* enclosingTransformedAncestor() const; |
| 607 | 607 |
| 608 void updatePagination(); | 608 void updatePagination(); |
| 609 | 609 |
| 610 // FIXME: Temporary. Remove when new columns come online. | 610 // FIXME: Temporary. Remove when new columns come online. |
| 611 bool useRegionBasedColumns() const; | 611 bool useRegionBasedColumns() const; |
| 612 | 612 |
| 613 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo
mpositingDescendant; } | 613 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo
mpositingDescendant; } |
| 614 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo
sitingDescendant = b; } | 614 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo
sitingDescendant = b; } |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 | 766 |
| 767 } // namespace WebCore | 767 } // namespace WebCore |
| 768 | 768 |
| 769 #ifndef NDEBUG | 769 #ifndef NDEBUG |
| 770 // Outside the WebCore namespace for ease of invocation from gdb. | 770 // Outside the WebCore namespace for ease of invocation from gdb. |
| 771 void showLayerTree(const WebCore::RenderLayer*); | 771 void showLayerTree(const WebCore::RenderLayer*); |
| 772 void showLayerTree(const WebCore::RenderObject*); | 772 void showLayerTree(const WebCore::RenderObject*); |
| 773 #endif | 773 #endif |
| 774 | 774 |
| 775 #endif // RenderLayer_h | 775 #endif // RenderLayer_h |
| OLD | NEW |