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

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

Issue 768493002: Get rid of CompositingState. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix incorrect case. Created 6 years 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 enum PaintLayerFlag { 55 enum PaintLayerFlag {
56 PaintLayerHaveTransparency = 1, 56 PaintLayerHaveTransparency = 1,
57 PaintLayerAppliedTransform = 1 << 1, 57 PaintLayerAppliedTransform = 1 << 1,
58 // FIXME(sky): This is unused. Remove it.
58 PaintLayerUncachedClipRects = 1 << 2, 59 PaintLayerUncachedClipRects = 1 << 2,
59 PaintLayerPaintingOverlayScrollbars = 1 << 4, 60 PaintLayerPaintingOverlayScrollbars = 1 << 4,
60 PaintLayerPaintingCompositingBackgroundPhase = 1 << 5, 61 PaintLayerPaintingCompositingBackgroundPhase = 1 << 5,
61 PaintLayerPaintingCompositingForegroundPhase = 1 << 6, 62 PaintLayerPaintingCompositingForegroundPhase = 1 << 6,
62 PaintLayerPaintingCompositingMaskPhase = 1 << 7, 63 PaintLayerPaintingCompositingMaskPhase = 1 << 7,
63 PaintLayerPaintingCompositingScrollingPhase = 1 << 8, 64 PaintLayerPaintingCompositingScrollingPhase = 1 << 8,
64 PaintLayerPaintingOverflowContents = 1 << 9, 65 PaintLayerPaintingOverflowContents = 1 << 9,
65 PaintLayerPaintingRootBackgroundOnly = 1 << 10, 66 PaintLayerPaintingRootBackgroundOnly = 1 << 10,
66 PaintLayerPaintingSkipRootBackground = 1 << 11, 67 PaintLayerPaintingSkipRootBackground = 1 << 11,
67 PaintLayerPaintingChildClippingMaskPhase = 1 << 12, 68 PaintLayerPaintingChildClippingMaskPhase = 1 << 12,
(...skipping 17 matching lines...) Expand all
85 RenderObject* paintingRoot; // only paint descendants of this object 86 RenderObject* paintingRoot; // only paint descendants of this object
86 LayoutRect paintDirtyRect; // relative to rootLayer; 87 LayoutRect paintDirtyRect; // relative to rootLayer;
87 LayoutSize subPixelAccumulation; 88 LayoutSize subPixelAccumulation;
88 PaintBehavior paintBehavior; 89 PaintBehavior paintBehavior;
89 bool clipToDirtyRect; 90 bool clipToDirtyRect;
90 }; 91 };
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ 95 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698