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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
591 | 591 |
592 // FIXME: Temporary. Remove when new columns come online. | 592 // FIXME: Temporary. Remove when new columns come online. |
593 bool useRegionBasedColumns() const; | 593 bool useRegionBasedColumns() const; |
594 | 594 |
595 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo mpositingDescendant; } | 595 bool hasCompositingDescendant() const { return m_compositingProperties.hasCo mpositingDescendant; } |
596 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo sitingDescendant = b; } | 596 void setHasCompositingDescendant(bool b) { m_compositingProperties.hasCompo sitingDescendant = b; } |
597 | 597 |
598 bool hasNonCompositedChild() const { return m_compositingProperties.hasNonCo mpositedChild; } | 598 bool hasNonCompositedChild() const { return m_compositingProperties.hasNonCo mpositedChild; } |
599 void setHasNonCompositedChild(bool b) { m_compositingProperties.hasNonCompo sitedChild = b; } | 599 void setHasNonCompositedChild(bool b) { m_compositingProperties.hasNonCompo sitedChild = b; } |
600 | 600 |
601 bool shouldIsolateCompositedDescendants() const { return m_shouldIsolateComp ositedDescendants; } | |
602 void setShouldIsolateCompositedDescendants(bool b) { m_shouldIsolateComposi tedDescendants = b; } | |
603 | |
601 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper ties.compositingReasons = reasons; } | 604 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper ties.compositingReasons = reasons; } |
602 CompositingReasons compositingReasons() const { return m_compositingProperti es.compositingReasons; } | 605 CompositingReasons compositingReasons() const { return m_compositingProperti es.compositingReasons; } |
603 | 606 |
604 friend class CompositedLayerMapping; | 607 friend class CompositedLayerMapping; |
605 friend class RenderLayerCompositor; | 608 friend class RenderLayerCompositor; |
606 friend class RenderLayerModelObject; | 609 friend class RenderLayerModelObject; |
607 | 610 |
608 protected: | 611 protected: |
609 unsigned m_isSelfPaintingLayer : 1; | 612 unsigned m_isSelfPaintingLayer : 1; |
610 | 613 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
649 | 652 |
650 unsigned m_containsDirtyOverlayScrollbars : 1; | 653 unsigned m_containsDirtyOverlayScrollbars : 1; |
651 | 654 |
652 // This is an optimization added for <table>. | 655 // This is an optimization added for <table>. |
653 // Currently cells do not need to update their repaint rectangles when scrol ling. This also | 656 // Currently cells do not need to update their repaint rectangles when scrol ling. This also |
654 // saves a lot of time when scrolling on a table. | 657 // saves a lot of time when scrolling on a table. |
655 const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1; | 658 const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1; |
656 | 659 |
657 unsigned m_hasFilterInfo : 1; | 660 unsigned m_hasFilterInfo : 1; |
658 | 661 |
662 unsigned m_shouldIsolateCompositedDescendants : 1; | |
shawnsingh
2013/11/23 00:38:13
I think this belongs in the m_compositingPropertie
rosca
2013/11/25 21:11:41
Done.
| |
663 | |
659 BlendMode m_blendMode; | 664 BlendMode m_blendMode; |
660 | 665 |
661 RenderLayerModelObject* m_renderer; | 666 RenderLayerModelObject* m_renderer; |
662 | 667 |
663 RenderLayer* m_parent; | 668 RenderLayer* m_parent; |
664 RenderLayer* m_previous; | 669 RenderLayer* m_previous; |
665 RenderLayer* m_next; | 670 RenderLayer* m_next; |
666 RenderLayer* m_first; | 671 RenderLayer* m_first; |
667 RenderLayer* m_last; | 672 RenderLayer* m_last; |
668 | 673 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
731 | 736 |
732 } // namespace WebCore | 737 } // namespace WebCore |
733 | 738 |
734 #ifndef NDEBUG | 739 #ifndef NDEBUG |
735 // Outside the WebCore namespace for ease of invocation from gdb. | 740 // Outside the WebCore namespace for ease of invocation from gdb. |
736 void showLayerTree(const WebCore::RenderLayer*); | 741 void showLayerTree(const WebCore::RenderLayer*); |
737 void showLayerTree(const WebCore::RenderObject*); | 742 void showLayerTree(const WebCore::RenderObject*); |
738 #endif | 743 #endif |
739 | 744 |
740 #endif // RenderLayer_h | 745 #endif // RenderLayer_h |
OLD | NEW |