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

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

Issue 882223005: Remove painting roots. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/core/rendering/InlineTextBox.cpp ('k') | sky/engine/core/rendering/PaintInfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 #include "sky/engine/core/rendering/PaintInfo.h" 48 #include "sky/engine/core/rendering/PaintInfo.h"
49 #include "sky/engine/platform/geometry/LayoutRect.h" 49 #include "sky/engine/platform/geometry/LayoutRect.h"
50 50
51 namespace blink { 51 namespace blink {
52 52
53 class RenderLayer; 53 class RenderLayer;
54 54
55 struct LayerPaintingInfo { 55 struct LayerPaintingInfo {
56 LayerPaintingInfo(RenderLayer* inRootLayer, const LayoutRect& inDirtyRect, 56 LayerPaintingInfo(RenderLayer* inRootLayer, const LayoutRect& inDirtyRect,
57 const LayoutSize& inSubPixelAccumulation, RenderObject* inPaintingRoot) 57 const LayoutSize& inSubPixelAccumulation)
58 : rootLayer(inRootLayer) 58 : rootLayer(inRootLayer)
59 , paintingRoot(inPaintingRoot)
60 , paintDirtyRect(inDirtyRect) 59 , paintDirtyRect(inDirtyRect)
61 , subPixelAccumulation(inSubPixelAccumulation) 60 , subPixelAccumulation(inSubPixelAccumulation)
62 , clipToDirtyRect(true) 61 , clipToDirtyRect(true)
63 { } 62 { }
64 RenderLayer* rootLayer; 63 RenderLayer* rootLayer;
65 RenderObject* paintingRoot; // only paint descendants of this object
66 LayoutRect paintDirtyRect; // relative to rootLayer; 64 LayoutRect paintDirtyRect; // relative to rootLayer;
67 LayoutSize subPixelAccumulation; 65 LayoutSize subPixelAccumulation;
68 bool clipToDirtyRect; 66 bool clipToDirtyRect;
69 }; 67 };
70 68
71 } // namespace blink 69 } // namespace blink
72 70
73 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ 71 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/InlineTextBox.cpp ('k') | sky/engine/core/rendering/PaintInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698