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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 | 459 |
460 void setNeedsCompositingInputsUpdate(); | 460 void setNeedsCompositingInputsUpdate(); |
461 bool childNeedsCompositingInputsUpdate() const { return m_childNeedsComposit
ingInputsUpdate; } | 461 bool childNeedsCompositingInputsUpdate() const { return m_childNeedsComposit
ingInputsUpdate; } |
462 bool needsCompositingInputsUpdate() const { return m_needsCompositingInputsU
pdate; } | 462 bool needsCompositingInputsUpdate() const { return m_needsCompositingInputsU
pdate; } |
463 | 463 |
464 void updateCompositingInputs(const CompositingInputs&); | 464 void updateCompositingInputs(const CompositingInputs&); |
465 void clearChildNeedsCompositingInputsUpdate(); | 465 void clearChildNeedsCompositingInputsUpdate(); |
466 | 466 |
467 const CompositingInputs& compositingInputs() const { ASSERT(!m_needsComposit
ingInputsUpdate); return m_compositingInputs; } | 467 const CompositingInputs& compositingInputs() const { ASSERT(!m_needsComposit
ingInputsUpdate); return m_compositingInputs; } |
468 | 468 |
469 // FIXME: Remove this function. | |
470 bool potentiallyStaleIsUnclippedDescendant() const { return m_compositingInp
uts.isUnclippedDescendant; } | |
471 | |
472 bool lostGroupedMapping() const { ASSERT(isAllowedToQueryCompositingState())
; return m_lostGroupedMapping; } | 469 bool lostGroupedMapping() const { ASSERT(isAllowedToQueryCompositingState())
; return m_lostGroupedMapping; } |
473 void setLostGroupedMapping(bool b) { m_lostGroupedMapping = b; } | 470 void setLostGroupedMapping(bool b) { m_lostGroupedMapping = b; } |
474 | 471 |
475 CompositingReasons compositingReasons() const { ASSERT(isAllowedToQueryCompo
sitingState()); return m_compositingReasons; } | 472 CompositingReasons compositingReasons() const { ASSERT(isAllowedToQueryCompo
sitingState()); return m_compositingReasons; } |
476 void setCompositingReasons(CompositingReasons, CompositingReasons mask = Com
positingReasonAll); | 473 void setCompositingReasons(CompositingReasons, CompositingReasons mask = Com
positingReasonAll); |
477 | 474 |
478 bool hasCompositingDescendant() const { ASSERT(isAllowedToQueryCompositingSt
ate()); return m_hasCompositingDescendant; } | 475 bool hasCompositingDescendant() const { ASSERT(isAllowedToQueryCompositingSt
ate()); return m_hasCompositingDescendant; } |
479 void setHasCompositingDescendant(bool b) { m_hasCompositingDescendant = b;
} | 476 void setHasCompositingDescendant(bool b) { m_hasCompositingDescendant = b;
} |
480 | 477 |
481 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom
positingState()); return m_shouldIsolateCompositedDescendants; } | 478 bool shouldIsolateCompositedDescendants() const { ASSERT(isAllowedToQueryCom
positingState()); return m_shouldIsolateCompositedDescendants; } |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 | 722 |
726 } // namespace WebCore | 723 } // namespace WebCore |
727 | 724 |
728 #ifndef NDEBUG | 725 #ifndef NDEBUG |
729 // Outside the WebCore namespace for ease of invocation from gdb. | 726 // Outside the WebCore namespace for ease of invocation from gdb. |
730 void showLayerTree(const WebCore::RenderLayer*); | 727 void showLayerTree(const WebCore::RenderLayer*); |
731 void showLayerTree(const WebCore::RenderObject*); | 728 void showLayerTree(const WebCore::RenderObject*); |
732 #endif | 729 #endif |
733 | 730 |
734 #endif // RenderLayer_h | 731 #endif // RenderLayer_h |
OLD | NEW |