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

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

Issue 959543002: Simplify and reduce calls to beginTransparencyLayers. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | sky/engine/core/rendering/RenderBox.cpp » ('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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 57 const LayoutSize& inSubPixelAccumulation)
58 : rootLayer(inRootLayer) 58 : rootLayer(inRootLayer)
59 , paintDirtyRect(inDirtyRect) 59 , paintDirtyRect(inDirtyRect)
60 , subPixelAccumulation(inSubPixelAccumulation) 60 , subPixelAccumulation(inSubPixelAccumulation)
61 , clipToDirtyRect(true)
62 { } 61 { }
63 RenderLayer* rootLayer; 62 RenderLayer* rootLayer;
64 LayoutRect paintDirtyRect; // relative to rootLayer; 63 LayoutRect paintDirtyRect; // relative to rootLayer;
65 LayoutSize subPixelAccumulation; 64 LayoutSize subPixelAccumulation;
66 bool clipToDirtyRect;
67 }; 65 };
68 66
69 } // namespace blink 67 } // namespace blink
70 68
71 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ 69 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698