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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerPaintingInfo.h

Issue 1391753005: (WIP) Invalidation during painting (for synchronized painting) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 STACK_ALLOCATED(); 79 STACK_ALLOCATED();
80 PaintLayerPaintingInfo(PaintLayer* inRootLayer, const LayoutRect& inDirtyRec t, 80 PaintLayerPaintingInfo(PaintLayer* inRootLayer, const LayoutRect& inDirtyRec t,
81 GlobalPaintFlags globalPaintFlags, const LayoutSize& inSubPixelAccumulat ion, 81 GlobalPaintFlags globalPaintFlags, const LayoutSize& inSubPixelAccumulat ion,
82 LayoutObject* inPaintingRoot = 0) 82 LayoutObject* inPaintingRoot = 0)
83 : rootLayer(inRootLayer) 83 : rootLayer(inRootLayer)
84 , paintingRoot(inPaintingRoot) 84 , paintingRoot(inPaintingRoot)
85 , paintDirtyRect(inDirtyRect) 85 , paintDirtyRect(inDirtyRect)
86 , subPixelAccumulation(inSubPixelAccumulation) 86 , subPixelAccumulation(inSubPixelAccumulation)
87 , clipToDirtyRect(true) 87 , clipToDirtyRect(true)
88 , ancestorHasClipPathClipping(false) 88 , ancestorHasClipPathClipping(false)
89 , ancestorHasNonIdentityAndNonTranslateTransform(false)
89 , m_globalPaintFlags(globalPaintFlags) 90 , m_globalPaintFlags(globalPaintFlags)
90 { } 91 { }
91 92
92 GlobalPaintFlags globalPaintFlags() const { return m_globalPaintFlags; } 93 GlobalPaintFlags globalPaintFlags() const { return m_globalPaintFlags; }
93 94
94 // TODO(jchaffraix): We should encapsulate all these fields. 95 // TODO(jchaffraix): We should encapsulate all these fields.
95 PaintLayer* rootLayer; 96 PaintLayer* rootLayer;
96 LayoutObject* paintingRoot; // only paint descendants of this object 97 LayoutObject* paintingRoot; // only paint descendants of this object
97 LayoutRect paintDirtyRect; // relative to rootLayer; 98 LayoutRect paintDirtyRect; // relative to rootLayer;
98 LayoutSize subPixelAccumulation; 99 LayoutSize subPixelAccumulation;
99 IntSize scrollOffsetAccumulation; 100 IntSize scrollOffsetAccumulation;
100 bool clipToDirtyRect; 101 bool clipToDirtyRect;
101 bool ancestorHasClipPathClipping; 102 bool ancestorHasClipPathClipping;
103 bool ancestorHasNonIdentityAndNonTranslateTransform;
102 104
103 private: 105 private:
104 const GlobalPaintFlags m_globalPaintFlags; 106 const GlobalPaintFlags m_globalPaintFlags;
105 }; 107 };
106 108
107 } // namespace blink 109 } // namespace blink
108 110
109 #endif // PaintLayerPaintingInfo_h 111 #endif // PaintLayerPaintingInfo_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp ('k') | third_party/WebKit/Source/core/paint/PartPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698