| 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 | 488 |
| 489 CompositingReasons compositingReasons() const { ASSERT(isAllowedToQueryCompo
sitingState()); return m_compositingReasons; } | 489 CompositingReasons compositingReasons() const { ASSERT(isAllowedToQueryCompo
sitingState()); return m_compositingReasons; } |
| 490 void setCompositingReasons(CompositingReasons, CompositingReasons mask = Com
positingReasonAll); | 490 void setCompositingReasons(CompositingReasons, CompositingReasons mask = Com
positingReasonAll); |
| 491 | 491 |
| 492 bool hasCompositingDescendant() const { ASSERT(isAllowedToQueryCompositingSt
ate()); return m_hasCompositingDescendant; } | 492 bool hasCompositingDescendant() const { ASSERT(isAllowedToQueryCompositingSt
ate()); return m_hasCompositingDescendant; } |
| 493 void setHasCompositingDescendant(bool b) { m_hasCompositingDescendant = b;
} | 493 void setHasCompositingDescendant(bool b) { m_hasCompositingDescendant = b;
} |
| 494 | 494 |
| 495 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom
positingState()); return m_shouldIsolateCompositedDescendants; } | 495 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom
positingState()); return m_shouldIsolateCompositedDescendants; } |
| 496 void setShouldIsolateCompositedDescendants(bool b) { m_shouldIsolateComposi
tedDescendants = b; } | 496 void setShouldIsolateCompositedDescendants(bool b) { m_shouldIsolateComposi
tedDescendants = b; } |
| 497 | 497 |
| 498 bool suppressingCompositedLayerCreation() const { ASSERT(isAllowedToQueryCom
positingState()); return m_suppressingCompositedLayerCreation; } | |
| 499 void setSuppressingCompositedLayerCreation(bool b) { m_suppressingComposited
LayerCreation = b; } | |
| 500 | |
| 501 void updateDescendantDependentFlags(); | 498 void updateDescendantDependentFlags(); |
| 502 | 499 |
| 503 void updateOrRemoveFilterEffectRenderer(); | 500 void updateOrRemoveFilterEffectRenderer(); |
| 504 | 501 |
| 505 void updateSelfPaintingLayer(); | 502 void updateSelfPaintingLayer(); |
| 506 | 503 |
| 507 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. | 504 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. |
| 508 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); | 505 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); |
| 509 | 506 |
| 510 RenderLayer* enclosingTransformedAncestor() const; | 507 RenderLayer* enclosingTransformedAncestor() const; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 // as opposed to the tree formed by the z-order and normal flow lists). | 691 // as opposed to the tree formed by the z-order and normal flow lists). |
| 695 unsigned m_hasNonCompositedChild : 1; | 692 unsigned m_hasNonCompositedChild : 1; |
| 696 | 693 |
| 697 // Should be for stacking contexts having unisolated blending descendants. | 694 // Should be for stacking contexts having unisolated blending descendants. |
| 698 unsigned m_shouldIsolateCompositedDescendants : 1; | 695 unsigned m_shouldIsolateCompositedDescendants : 1; |
| 699 | 696 |
| 700 // True if this render layer just lost its grouped mapping due to the Compos
itedLayerMapping being destroyed, | 697 // True if this render layer just lost its grouped mapping due to the Compos
itedLayerMapping being destroyed, |
| 701 // and we don't yet know to what graphics layer this RenderLayer will be ass
igned. | 698 // and we don't yet know to what graphics layer this RenderLayer will be ass
igned. |
| 702 unsigned m_lostGroupedMapping : 1; | 699 unsigned m_lostGroupedMapping : 1; |
| 703 | 700 |
| 704 // Whether this render layer is trying to avoid becoming composited, if poss
ible. | |
| 705 unsigned m_suppressingCompositedLayerCreation : 1; | |
| 706 | |
| 707 // The reason, if any exists, that a fixed-position layer is chosen not to b
e composited. | 701 // The reason, if any exists, that a fixed-position layer is chosen not to b
e composited. |
| 708 unsigned m_viewportConstrainedNotCompositedReason : ViewportConstrainedNotCo
mpositedReasonBits; | 702 unsigned m_viewportConstrainedNotCompositedReason : ViewportConstrainedNotCo
mpositedReasonBits; |
| 709 | 703 |
| 710 RenderLayerModelObject* m_renderer; | 704 RenderLayerModelObject* m_renderer; |
| 711 | 705 |
| 712 RenderLayer* m_parent; | 706 RenderLayer* m_parent; |
| 713 RenderLayer* m_previous; | 707 RenderLayer* m_previous; |
| 714 RenderLayer* m_next; | 708 RenderLayer* m_next; |
| 715 RenderLayer* m_first; | 709 RenderLayer* m_first; |
| 716 RenderLayer* m_last; | 710 RenderLayer* m_last; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 | 757 |
| 764 } // namespace WebCore | 758 } // namespace WebCore |
| 765 | 759 |
| 766 #ifndef NDEBUG | 760 #ifndef NDEBUG |
| 767 // Outside the WebCore namespace for ease of invocation from gdb. | 761 // Outside the WebCore namespace for ease of invocation from gdb. |
| 768 void showLayerTree(const WebCore::RenderLayer*); | 762 void showLayerTree(const WebCore::RenderLayer*); |
| 769 void showLayerTree(const WebCore::RenderObject*); | 763 void showLayerTree(const WebCore::RenderObject*); |
| 770 #endif | 764 #endif |
| 771 | 765 |
| 772 #endif // RenderLayer_h | 766 #endif // RenderLayer_h |
| OLD | NEW |