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