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

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

Issue 2309193002: Revert of Reland Compile under-invalidation checking in all builds (Closed)
Patch Set: Rebase and manually fix merge conflicts. Created 4 years, 3 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 DrawingDisplayItem_h 5 #ifndef DrawingDisplayItem_h
6 #define DrawingDisplayItem_h 6 #define DrawingDisplayItem_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/RuntimeEnabledFeatures.h" 9 #include "platform/RuntimeEnabledFeatures.h"
10 #include "platform/geometry/FloatPoint.h" 10 #include "platform/geometry/FloatPoint.h"
(...skipping 16 matching lines...) Expand all
27 void replay(GraphicsContext&) const override; 27 void replay(GraphicsContext&) const override;
28 void appendToWebDisplayItemList(const IntRect&, WebDisplayItemList*) const o verride; 28 void appendToWebDisplayItemList(const IntRect&, WebDisplayItemList*) const o verride;
29 bool drawsContent() const override; 29 bool drawsContent() const override;
30 30
31 const SkPicture* picture() const { return m_picture.get(); } 31 const SkPicture* picture() const { return m_picture.get(); }
32 32
33 bool knownToBeOpaque() const { DCHECK(RuntimeEnabledFeatures::slimmingPaintV 2Enabled()); return m_knownToBeOpaque; } 33 bool knownToBeOpaque() const { DCHECK(RuntimeEnabledFeatures::slimmingPaintV 2Enabled()); return m_knownToBeOpaque; }
34 34
35 void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const override; 35 void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const override;
36 36
37 #if ENABLE(ASSERT)
38 bool equals(const DisplayItem& other) const final;
39 #endif
40
37 private: 41 private:
38 #ifndef NDEBUG 42 #ifndef NDEBUG
39 void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override; 43 void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
40 #endif 44 #endif
41 bool equals(const DisplayItem& other) const final;
42 45
43 sk_sp<const SkPicture> m_picture; 46 sk_sp<const SkPicture> m_picture;
44 47
45 // True if there are no transparent areas. Only used for SlimmingPaintV2. 48 // True if there are no transparent areas. Only used for SlimmingPaintV2.
46 const bool m_knownToBeOpaque; 49 const bool m_knownToBeOpaque;
47 }; 50 };
48 51
49 } // namespace blink 52 } // namespace blink
50 53
51 #endif // DrawingDisplayItem_h 54 #endif // DrawingDisplayItem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698