Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: sky/engine/core/rendering/RenderLayer.h

Issue 878023002: Merge outline paint phases into the foreground phase. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 paintForeground(GraphicsContext*, GraphicsContext* transparencyLayerCon text, 413 void paintForeground(GraphicsContext*, GraphicsContext* transparencyLayerCon text,
414 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con st LayerPaintingInfo&, RenderObject* paintingRootForRenderer, 414 const LayoutRect& transparencyPaintDirtyRect, bool haveTransparency, con st LayerPaintingInfo&, RenderObject* paintingRootForRenderer,
415 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); 415 LayoutPoint& layerLocation, ClipRect& layerForegroundRect);
416 void paintForegroundWithPhase(PaintPhase, GraphicsContext*, const LayerPaint ingInfo&, RenderObject* paintingRootForRenderer, 416 void paintForegroundWithPhase(PaintPhase, GraphicsContext*, const LayerPaint ingInfo&, RenderObject* paintingRootForRenderer,
417 LayoutPoint& layerLocation, ClipRect& layerForegroundRect); 417 LayoutPoint& layerLocation, ClipRect& layerForegroundRect);
418 void paintOutline(GraphicsContext*, const LayerPaintingInfo&, RenderObject* paintingRootForRenderer,
419 LayoutPoint& layerLocation, ClipRect& layerOutlineRect);
420 void paintOverflowControls(GraphicsContext*, const LayerPaintingInfo&, 418 void paintOverflowControls(GraphicsContext*, const LayerPaintingInfo&,
421 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect); 419 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect);
422 void paintMask(GraphicsContext*, const LayerPaintingInfo&, RenderObject* pai ntingRootForRenderer, 420 void paintMask(GraphicsContext*, const LayerPaintingInfo&, RenderObject* pai ntingRootForRenderer,
423 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect); 421 LayoutPoint& layerLocation, ClipRect& layerBackgroundRect);
424 422
425 RenderLayer* hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLaye r, const HitTestRequest& request, HitTestResult& result, 423 RenderLayer* hitTestLayer(RenderLayer* rootLayer, RenderLayer* containerLaye r, const HitTestRequest& request, HitTestResult& result,
426 const LayoutRect& hitTestRect, const HitTestLocati on&, bool appliedTransform, 424 const LayoutRect& hitTestRect, const HitTestLocati on&, bool appliedTransform,
427 const HitTestingTransformState* transformState = 0 , double* zOffset = 0); 425 const HitTestingTransformState* transformState = 0 , double* zOffset = 0);
428 RenderLayer* hitTestLayerByApplyingTransform(RenderLayer* rootLayer, RenderL ayer* containerLayer, const HitTestRequest&, HitTestResult&, 426 RenderLayer* hitTestLayerByApplyingTransform(RenderLayer* rootLayer, RenderL ayer* containerLayer, const HitTestRequest&, HitTestResult&,
429 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT ransformState* = 0, double* zOffset = 0, 427 const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingT ransformState* = 0, double* zOffset = 0,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 523
526 } // namespace blink 524 } // namespace blink
527 525
528 #ifndef NDEBUG 526 #ifndef NDEBUG
529 // Outside the WebCore namespace for ease of invocation from gdb. 527 // Outside the WebCore namespace for ease of invocation from gdb.
530 void showLayerTree(const blink::RenderLayer*); 528 void showLayerTree(const blink::RenderLayer*);
531 void showLayerTree(const blink::RenderObject*); 529 void showLayerTree(const blink::RenderObject*);
532 #endif 530 #endif
533 531
534 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_ 532 #endif // SKY_ENGINE_CORE_RENDERING_RENDERLAYER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698