| 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // FIXME: reflections should force transform-style to be flat in the style:
https://bugs.webkit.org/show_bug.cgi?id=106959 | 253 // FIXME: reflections should force transform-style to be flat in the style:
https://bugs.webkit.org/show_bug.cgi?id=106959 |
| 254 bool shouldPreserve3D() const { return renderer()->style()->transformStyle3D
() == TransformStyle3DPreserve3D; } | 254 bool shouldPreserve3D() const { return renderer()->style()->transformStyle3D
() == TransformStyle3DPreserve3D; } |
| 255 | 255 |
| 256 void filterNeedsPaintInvalidation(); | 256 void filterNeedsPaintInvalidation(); |
| 257 bool hasFilter() const { return renderer()->hasFilter(); } | 257 bool hasFilter() const { return renderer()->hasFilter(); } |
| 258 | 258 |
| 259 void* operator new(size_t); | 259 void* operator new(size_t); |
| 260 // Only safe to call from RenderLayerModelObject::destroyLayer() | 260 // Only safe to call from RenderLayerModelObject::destroyLayer() |
| 261 void operator delete(void*); | 261 void operator delete(void*); |
| 262 | 262 |
| 263 GraphicsLayer* graphicsLayerBacking() const; | |
| 264 | |
| 265 bool hasCompositedMask() const; | 263 bool hasCompositedMask() const; |
| 266 bool hasCompositedClippingMask() const; | 264 bool hasCompositedClippingMask() const; |
| 267 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } | 265 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } |
| 268 | 266 |
| 269 bool clipsCompositingDescendantsWithBorderRadius() const; | 267 bool clipsCompositingDescendantsWithBorderRadius() const; |
| 270 | 268 |
| 271 // Computes the position of the given render object in the space of |paintIn
validationContainer|. | 269 // Computes the position of the given render object in the space of |paintIn
validationContainer|. |
| 272 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. | 270 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. |
| 273 // This will allow us to clean up this static method messiness. | 271 // This will allow us to clean up this static method messiness. |
| 274 static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject
*, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalida
tionState* = 0); | 272 static LayoutPoint positionFromPaintInvalidationContainer(const RenderObject
*, const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalida
tionState* = 0); |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 623 | 621 |
| 624 } // namespace blink | 622 } // namespace blink |
| 625 | 623 |
| 626 #ifndef NDEBUG | 624 #ifndef NDEBUG |
| 627 // Outside the WebCore namespace for ease of invocation from gdb. | 625 // Outside the WebCore namespace for ease of invocation from gdb. |
| 628 void showLayerTree(const blink::RenderLayer*); | 626 void showLayerTree(const blink::RenderLayer*); |
| 629 void showLayerTree(const blink::RenderObject*); | 627 void showLayerTree(const blink::RenderObject*); |
| 630 #endif | 628 #endif |
| 631 | 629 |
| 632 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 630 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |