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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 void dirty3DTransformedDescendantStatus(); | 604 void dirty3DTransformedDescendantStatus(); |
605 // Both updates the status, and returns true if descendants of this have 3d. | 605 // Both updates the status, and returns true if descendants of this have 3d. |
606 bool update3DTransformedDescendantStatus(); | 606 bool update3DTransformedDescendantStatus(); |
607 | 607 |
608 void updateOrRemoveFilterClients(); | 608 void updateOrRemoveFilterClients(); |
609 | 609 |
610 void updatePaginationRecursive(bool needsPaginationUpdate = false); | 610 void updatePaginationRecursive(bool needsPaginationUpdate = false); |
611 void updatePagination(); | 611 void updatePagination(); |
612 void clearPaginationRecursive(); | 612 void clearPaginationRecursive(); |
613 | 613 |
614 // FIXME: Temporary. Remove when new columns come online. | |
615 bool useRegionBasedColumns() const; | |
616 | |
617 DeprecatedPaintLayerType m_layerType; | 614 DeprecatedPaintLayerType m_layerType; |
618 | 615 |
619 // Self-painting layer is an optimization where we avoid the heavy Layer pai
nting | 616 // Self-painting layer is an optimization where we avoid the heavy Layer pai
nting |
620 // machinery for a Layer allocated only to handle the overflow clip case. | 617 // machinery for a Layer allocated only to handle the overflow clip case. |
621 // FIXME(crbug.com/332791): Self-painting layer should be merged into the ov
erflow-only concept. | 618 // FIXME(crbug.com/332791): Self-painting layer should be merged into the ov
erflow-only concept. |
622 unsigned m_isSelfPaintingLayer : 1; | 619 unsigned m_isSelfPaintingLayer : 1; |
623 | 620 |
624 // If have no self-painting descendants, we don't have to walk our children
during painting. This can lead to | 621 // If have no self-painting descendants, we don't have to walk our children
during painting. This can lead to |
625 // significant savings, especially if the tree has lots of non-self-painting
layers grouped together (e.g. table cells). | 622 // significant savings, especially if the tree has lots of non-self-painting
layers grouped together (e.g. table cells). |
626 mutable unsigned m_hasSelfPaintingLayerDescendant : 1; | 623 mutable unsigned m_hasSelfPaintingLayerDescendant : 1; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 | 723 |
727 } // namespace blink | 724 } // namespace blink |
728 | 725 |
729 #ifndef NDEBUG | 726 #ifndef NDEBUG |
730 // Outside the WebCore namespace for ease of invocation from gdb. | 727 // Outside the WebCore namespace for ease of invocation from gdb. |
731 void showLayerTree(const blink::DeprecatedPaintLayer*); | 728 void showLayerTree(const blink::DeprecatedPaintLayer*); |
732 void showLayerTree(const blink::LayoutObject*); | 729 void showLayerTree(const blink::LayoutObject*); |
733 #endif | 730 #endif |
734 | 731 |
735 #endif // Layer_h | 732 #endif // Layer_h |
OLD | NEW |