| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // Returns true if the layer has a -webkit-perspective. | 207 // Returns true if the layer has a -webkit-perspective. |
| 208 // Note that this transform has the perspective-origin baked in. | 208 // Note that this transform has the perspective-origin baked in. |
| 209 TransformationMatrix perspectiveTransform() const; | 209 TransformationMatrix perspectiveTransform() const; |
| 210 FloatPoint perspectiveOrigin() const; | 210 FloatPoint perspectiveOrigin() const; |
| 211 bool preserves3D() const { return renderer()->style()->transformStyle3D() ==
TransformStyle3DPreserve3D; } | 211 bool preserves3D() const { return renderer()->style()->transformStyle3D() ==
TransformStyle3DPreserve3D; } |
| 212 bool has3DTransform() const { return m_transform && !m_transform->isAffine()
; } | 212 bool has3DTransform() const { return m_transform && !m_transform->isAffine()
; } |
| 213 | 213 |
| 214 // FIXME: reflections should force transform-style to be flat in the style:
https://bugs.webkit.org/show_bug.cgi?id=106959 | 214 // FIXME: reflections should force transform-style to be flat in the style:
https://bugs.webkit.org/show_bug.cgi?id=106959 |
| 215 bool shouldPreserve3D() const { return renderer()->style()->transformStyle3D
() == TransformStyle3DPreserve3D; } | 215 bool shouldPreserve3D() const { return renderer()->style()->transformStyle3D
() == TransformStyle3DPreserve3D; } |
| 216 | 216 |
| 217 void filterNeedsPaintInvalidation(); | |
| 218 bool hasFilter() const { return renderer()->hasFilter(); } | 217 bool hasFilter() const { return renderer()->hasFilter(); } |
| 219 | 218 |
| 220 void* operator new(size_t); | 219 void* operator new(size_t); |
| 221 // Only safe to call from RenderLayerModelObject::destroyLayer() | 220 // Only safe to call from RenderLayerModelObject::destroyLayer() |
| 222 void operator delete(void*); | 221 void operator delete(void*); |
| 223 | 222 |
| 224 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } | 223 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } |
| 225 | 224 |
| 226 bool paintsWithTransform() const; | 225 bool paintsWithTransform() const; |
| 227 | 226 |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 | 539 |
| 541 } // namespace blink | 540 } // namespace blink |
| 542 | 541 |
| 543 #ifndef NDEBUG | 542 #ifndef NDEBUG |
| 544 // Outside the WebCore namespace for ease of invocation from gdb. | 543 // Outside the WebCore namespace for ease of invocation from gdb. |
| 545 void showLayerTree(const blink::RenderLayer*); | 544 void showLayerTree(const blink::RenderLayer*); |
| 546 void showLayerTree(const blink::RenderObject*); | 545 void showLayerTree(const blink::RenderObject*); |
| 547 #endif | 546 #endif |
| 548 | 547 |
| 549 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 548 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |