| 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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 // paintLayer() assumes that the caller will clip to the bounds of the paint
ing dirty if necessary. | 403 // paintLayer() assumes that the caller will clip to the bounds of the paint
ing dirty if necessary. |
| 404 void paintLayer(GraphicsContext*, const LayerPaintingInfo&, PaintLayerFlags)
; | 404 void paintLayer(GraphicsContext*, const LayerPaintingInfo&, PaintLayerFlags)
; |
| 405 | 405 |
| 406 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. | 406 // paintLayerContents() assumes that the caller will clip to the bounds of t
he painting dirty rect if necessary. |
| 407 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); | 407 void paintLayerContents(GraphicsContext*, const LayerPaintingInfo&, PaintLay
erFlags); |
| 408 | 408 |
| 409 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo
&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); | 409 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo
&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); |
| 410 | 410 |
| 411 void paintChildren(unsigned childrenToVisit, GraphicsContext*, const LayerPa
intingInfo&, PaintLayerFlags); | 411 void paintChildren(unsigned childrenToVisit, GraphicsContext*, const LayerPa
intingInfo&, PaintLayerFlags); |
| 412 | 412 |
| 413 void paintBackground(GraphicsContext*, GraphicsContext* transparencyLayerCon
text, | |
| 414 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con
st LayerPaintingInfo&, RenderObject* paintingRootForRenderer, | |
| 415 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect); | |
| 416 void paintForeground(GraphicsContext*, GraphicsContext* transparencyLayerCon
text, | 413 void paintForeground(GraphicsContext*, GraphicsContext* transparencyLayerCon
text, |
| 417 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con
st LayerPaintingInfo&, RenderObject* paintingRootForRenderer, | 414 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con
st LayerPaintingInfo&, RenderObject* paintingRootForRenderer, |
| 418 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); | 415 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); |
| 419 void paintForegroundWithPhase(PaintPhase, GraphicsContext*, const LayerPaint
ingInfo&, RenderObject* paintingRootForRenderer, | 416 void paintForegroundWithPhase(PaintPhase, GraphicsContext*, const LayerPaint
ingInfo&, RenderObject* paintingRootForRenderer, |
| 420 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); | 417 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); |
| 421 void paintOutline(GraphicsContext*, const LayerPaintingInfo&, RenderObject*
paintingRootForRenderer, | 418 void paintOutline(GraphicsContext*, const LayerPaintingInfo&, RenderObject*
paintingRootForRenderer, |
| 422 LayoutPoint& layerLocation, ClipRect& layerOutlineRect); | 419 LayoutPoint& layerLocation, ClipRect& layerOutlineRect); |
| 423 void paintOverflowControls(GraphicsContext*, const LayerPaintingInfo&, | 420 void paintOverflowControls(GraphicsContext*, const LayerPaintingInfo&, |
| 424 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect); | 421 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect); |
| 425 void paintMask(GraphicsContext*, const LayerPaintingInfo&, RenderObject* pai
ntingRootForRenderer, | 422 void paintMask(GraphicsContext*, const LayerPaintingInfo&, RenderObject* pai
ntingRootForRenderer, |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 | 525 |
| 529 } // namespace blink | 526 } // namespace blink |
| 530 | 527 |
| 531 #ifndef NDEBUG | 528 #ifndef NDEBUG |
| 532 // Outside the WebCore namespace for ease of invocation from gdb. | 529 // Outside the WebCore namespace for ease of invocation from gdb. |
| 533 void showLayerTree(const blink::RenderLayer*); | 530 void showLayerTree(const blink::RenderLayer*); |
| 534 void showLayerTree(const blink::RenderObject*); | 531 void showLayerTree(const blink::RenderObject*); |
| 535 #endif | 532 #endif |
| 536 | 533 |
| 537 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ | 534 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ |
| OLD | NEW |