| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 // Returns true if the layer has a -webkit-perspective. | 294 // Returns true if the layer has a -webkit-perspective. |
| 295 // Note that this transform has the perspective-origin baked in. | 295 // Note that this transform has the perspective-origin baked in. |
| 296 TransformationMatrix perspectiveTransform() const; | 296 TransformationMatrix perspectiveTransform() const; |
| 297 FloatPoint perspectiveOrigin() const; | 297 FloatPoint perspectiveOrigin() const; |
| 298 bool preserves3D() const { return renderer()->style()->transformStyle3D() ==
TransformStyle3DPreserve3D; } | 298 bool preserves3D() const { return renderer()->style()->transformStyle3D() ==
TransformStyle3DPreserve3D; } |
| 299 bool has3DTransform() const { return m_transform && !m_transform->isAffine()
; } | 299 bool has3DTransform() const { return m_transform && !m_transform->isAffine()
; } |
| 300 | 300 |
| 301 // FIXME: reflections should force transform-style to be flat in the style:
https://bugs.webkit.org/show_bug.cgi?id=106959 | 301 // FIXME: reflections should force transform-style to be flat in the style:
https://bugs.webkit.org/show_bug.cgi?id=106959 |
| 302 bool shouldPreserve3D() const { return !renderer()->hasReflection() && rende
rer()->style()->transformStyle3D() == TransformStyle3DPreserve3D; } | 302 bool shouldPreserve3D() const { return !renderer()->hasReflection() && rende
rer()->style()->transformStyle3D() == TransformStyle3DPreserve3D; } |
| 303 | 303 |
| 304 void filterNeedsPaintInvalidation(); | |
| 305 bool hasFilter() const { return renderer()->hasFilter(); } | 304 bool hasFilter() const { return renderer()->hasFilter(); } |
| 306 | 305 |
| 307 bool paintsWithBlendMode() const; | 306 bool paintsWithBlendMode() const; |
| 308 | 307 |
| 309 void* operator new(size_t); | 308 void* operator new(size_t); |
| 310 // Only safe to call from RenderLayerModelObject::destroyLayer() | 309 // Only safe to call from RenderLayerModelObject::destroyLayer() |
| 311 void operator delete(void*); | 310 void operator delete(void*); |
| 312 | 311 |
| 313 CompositingState compositingState() const; | 312 CompositingState compositingState() const; |
| 314 | 313 |
| (...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 | 779 |
| 781 } // namespace blink | 780 } // namespace blink |
| 782 | 781 |
| 783 #ifndef NDEBUG | 782 #ifndef NDEBUG |
| 784 // Outside the WebCore namespace for ease of invocation from gdb. | 783 // Outside the WebCore namespace for ease of invocation from gdb. |
| 785 void showLayerTree(const blink::RenderLayer*); | 784 void showLayerTree(const blink::RenderLayer*); |
| 786 void showLayerTree(const blink::RenderObject*); | 785 void showLayerTree(const blink::RenderObject*); |
| 787 #endif | 786 #endif |
| 788 | 787 |
| 789 #endif // RenderLayer_h | 788 #endif // RenderLayer_h |
| OLD | NEW |