| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // FIXME: This is identical to null checking compositedLayerMapping(), why n
ot just call that? | 297 // FIXME: This is identical to null checking compositedLayerMapping(), why n
ot just call that? |
| 298 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get
(); } | 298 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get
(); } |
| 299 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); | 299 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); |
| 300 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } | 300 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } |
| 301 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei
ngDestroyed = false); | 301 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei
ngDestroyed = false); |
| 302 | 302 |
| 303 bool hasCompositedMask() const; | 303 bool hasCompositedMask() const; |
| 304 bool hasCompositedClippingMask() const; | 304 bool hasCompositedClippingMask() const; |
| 305 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } | 305 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } |
| 306 | 306 |
| 307 bool clipsCompositingDescendantsWithBorderRadius() const; | |
| 308 | |
| 309 // Computes the position of the given render object in the space of |paintIn
validationContainer|. | 307 // Computes the position of the given render object in the space of |paintIn
validationContainer|. |
| 310 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. | 308 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. |
| 311 // This will allow us to clean up this static method messiness. | 309 // This will allow us to clean up this static method messiness. |
| 312 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*,
const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati
onState* = 0); | 310 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*,
const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati
onState* = 0); |
| 313 | 311 |
| 314 static void mapPointToPaintBackingCoordinates(const RenderLayerModelObject*
paintInvalidationContainer, FloatPoint&); | 312 static void mapPointToPaintBackingCoordinates(const RenderLayerModelObject*
paintInvalidationContainer, FloatPoint&); |
| 315 static void mapRectToPaintBackingCoordinates(const RenderLayerModelObject* p
aintInvalidationContainer, LayoutRect&); | 313 static void mapRectToPaintBackingCoordinates(const RenderLayerModelObject* p
aintInvalidationContainer, LayoutRect&); |
| 316 | 314 |
| 317 // Adjusts the given rect (in the coordinate space of the RenderObject) to t
he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. | 315 // Adjusts the given rect (in the coordinate space of the RenderObject) to t
he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. |
| 318 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren
derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid
ationState* = 0); | 316 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren
derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid
ationState* = 0); |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 | 690 |
| 693 } // namespace blink | 691 } // namespace blink |
| 694 | 692 |
| 695 #ifndef NDEBUG | 693 #ifndef NDEBUG |
| 696 // Outside the WebCore namespace for ease of invocation from gdb. | 694 // Outside the WebCore namespace for ease of invocation from gdb. |
| 697 void showLayerTree(const blink::RenderLayer*); | 695 void showLayerTree(const blink::RenderLayer*); |
| 698 void showLayerTree(const blink::RenderObject*); | 696 void showLayerTree(const blink::RenderObject*); |
| 699 #endif | 697 #endif |
| 700 | 698 |
| 701 #endif // RenderLayer_h | 699 #endif // RenderLayer_h |
| OLD | NEW |