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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 bool hasCompositedClippingMask() const; | 316 bool hasCompositedClippingMask() const; |
317 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } | 317 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } |
318 | 318 |
319 bool clipsCompositingDescendantsWithBorderRadius() const; | 319 bool clipsCompositingDescendantsWithBorderRadius() const; |
320 | 320 |
321 // Computes the position of the given render object in the space of |paintIn
validationContainer|. | 321 // Computes the position of the given render object in the space of |paintIn
validationContainer|. |
322 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. | 322 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. |
323 // This will allow us to clean up this static method messiness. | 323 // This will allow us to clean up this static method messiness. |
324 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*,
const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati
onState* = 0); | 324 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*,
const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati
onState* = 0); |
325 | 325 |
| 326 static void mapPointToPaintBackingCoordinates(const RenderLayerModelObject*
paintInvalidationContainer, FloatPoint&); |
326 static void mapRectToPaintBackingCoordinates(const RenderLayerModelObject* p
aintInvalidationContainer, LayoutRect&); | 327 static void mapRectToPaintBackingCoordinates(const RenderLayerModelObject* p
aintInvalidationContainer, LayoutRect&); |
327 | 328 |
328 // Adjusts the given rect (in the coordinate space of the RenderObject) to t
he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. | 329 // Adjusts the given rect (in the coordinate space of the RenderObject) to t
he coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. |
329 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren
derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid
ationState* = 0); | 330 static void mapRectToPaintInvalidationBacking(const RenderObject*, const Ren
derLayerModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalid
ationState* = 0); |
330 | 331 |
331 // Computes the bounding paint invalidation rect for |renderObject|, in the
coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. | 332 // Computes the bounding paint invalidation rect for |renderObject|, in the
coordinate space of |paintInvalidationContainer|'s GraphicsLayer backing. |
332 static LayoutRect computePaintInvalidationRect(const RenderObject*, const Re
nderLayer* paintInvalidationContainer, const PaintInvalidationState* = 0); | 333 static LayoutRect computePaintInvalidationRect(const RenderObject*, const Re
nderLayer* paintInvalidationContainer, const PaintInvalidationState* = 0); |
333 | 334 |
334 bool paintsWithTransparency(PaintBehavior paintBehavior) const | 335 bool paintsWithTransparency(PaintBehavior paintBehavior) const |
335 { | 336 { |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
742 | 743 |
743 } // namespace blink | 744 } // namespace blink |
744 | 745 |
745 #ifndef NDEBUG | 746 #ifndef NDEBUG |
746 // Outside the WebCore namespace for ease of invocation from gdb. | 747 // Outside the WebCore namespace for ease of invocation from gdb. |
747 void showLayerTree(const blink::RenderLayer*); | 748 void showLayerTree(const blink::RenderLayer*); |
748 void showLayerTree(const blink::RenderObject*); | 749 void showLayerTree(const blink::RenderObject*); |
749 #endif | 750 #endif |
750 | 751 |
751 #endif // RenderLayer_h | 752 #endif // RenderLayer_h |
OLD | NEW |