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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 RenderLayer* enclosingTransformedAncestor() const; | 612 RenderLayer* enclosingTransformedAncestor() const; |
613 | 613 |
614 void updatePagination(); | 614 void updatePagination(); |
615 | 615 |
616 // FIXME: Temporary. Remove when new columns come online. | 616 // FIXME: Temporary. Remove when new columns come online. |
617 bool useRegionBasedColumns() const; | 617 bool useRegionBasedColumns() const; |
618 | 618 |
619 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo
mpositingDescendant; } | 619 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo
mpositingDescendant; } |
620 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo
sitingDescendant = b; } | 620 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo
sitingDescendant = b; } |
621 | 621 |
| 622 bool hasCompositedBlendingDescendants() const { return m_hasCompositedBlendi
ngDescendants; } |
| 623 void setHasCompositedBlendingDescendants(bool b) { m_hasCompositedBlendingD
escendants = b; } |
| 624 |
622 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper
ties.compositingReasons = reasons; } | 625 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper
ties.compositingReasons = reasons; } |
623 CompositingReasons compositingReasons() const { return m_compositingProperti
es.compositingReasons; } | 626 CompositingReasons compositingReasons() const { return m_compositingProperti
es.compositingReasons; } |
624 | 627 |
625 friend class CompositedLayerMapping; | 628 friend class CompositedLayerMapping; |
626 friend class RenderLayerCompositor; | 629 friend class RenderLayerCompositor; |
627 friend class RenderLayerModelObject; | 630 friend class RenderLayerModelObject; |
628 | 631 |
629 protected: | 632 protected: |
630 unsigned m_isSelfPaintingLayer : 1; | 633 unsigned m_isSelfPaintingLayer : 1; |
631 | 634 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 | 676 |
674 unsigned m_containsDirtyOverlayScrollbars : 1; | 677 unsigned m_containsDirtyOverlayScrollbars : 1; |
675 | 678 |
676 // This is an optimization added for <table>. | 679 // This is an optimization added for <table>. |
677 // Currently cells do not need to update their repaint rectangles when scrol
ling. This also | 680 // Currently cells do not need to update their repaint rectangles when scrol
ling. This also |
678 // saves a lot of time when scrolling on a table. | 681 // saves a lot of time when scrolling on a table. |
679 const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1; | 682 const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1; |
680 | 683 |
681 unsigned m_hasFilterInfo : 1; | 684 unsigned m_hasFilterInfo : 1; |
682 | 685 |
| 686 unsigned m_hasCompositedBlendingDescendants : 1; |
| 687 |
683 BlendMode m_blendMode; | 688 BlendMode m_blendMode; |
684 | 689 |
685 RenderLayerModelObject* m_renderer; | 690 RenderLayerModelObject* m_renderer; |
686 | 691 |
687 RenderLayer* m_parent; | 692 RenderLayer* m_parent; |
688 RenderLayer* m_previous; | 693 RenderLayer* m_previous; |
689 RenderLayer* m_next; | 694 RenderLayer* m_next; |
690 RenderLayer* m_first; | 695 RenderLayer* m_first; |
691 RenderLayer* m_last; | 696 RenderLayer* m_last; |
692 | 697 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 | 757 |
753 } // namespace WebCore | 758 } // namespace WebCore |
754 | 759 |
755 #ifndef NDEBUG | 760 #ifndef NDEBUG |
756 // Outside the WebCore namespace for ease of invocation from gdb. | 761 // Outside the WebCore namespace for ease of invocation from gdb. |
757 void showLayerTree(const WebCore::RenderLayer*); | 762 void showLayerTree(const WebCore::RenderLayer*); |
758 void showLayerTree(const WebCore::RenderObject*); | 763 void showLayerTree(const WebCore::RenderObject*); |
759 #endif | 764 #endif |
760 | 765 |
761 #endif // RenderLayer_h | 766 #endif // RenderLayer_h |
OLD | NEW |