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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.h

Issue 2675773003: Optimize CompositingRecorder::endCompositing to not need an SkPictureBuilder (Closed)
Patch Set: Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DrawingRecorder_h 5 #ifndef DrawingRecorder_h
6 #define DrawingRecorder_h 6 #define DrawingRecorder_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 9
10 #include "platform/geometry/FloatRect.h" 10 #include "platform/geometry/FloatRect.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 m_knownToBeOpaque = true; 45 m_knownToBeOpaque = true;
46 } 46 }
47 47
48 private: 48 private:
49 GraphicsContext& m_context; 49 GraphicsContext& m_context;
50 const DisplayItemClient& m_displayItemClient; 50 const DisplayItemClient& m_displayItemClient;
51 const DisplayItem::Type m_displayItemType; 51 const DisplayItem::Type m_displayItemType;
52 52
53 // True if there are no transparent areas. Only used for SlimmingPaintV2. 53 // True if there are no transparent areas. Only used for SlimmingPaintV2.
54 bool m_knownToBeOpaque; 54 bool m_knownToBeOpaque;
55
56 #if DCHECK_IS_ON()
57 size_t m_displayItemPosition;
58 #endif
59 }; 55 };
60 56
61 } // namespace blink 57 } // namespace blink
62 58
63 #endif // DrawingRecorder_h 59 #endif // DrawingRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698