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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Issue 2186643002: Fold compositing display items into contained drawings if the drawing is a singleton. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index be857e6cee834c92ca4efcccbee1a8d48bc873cd..3f99f4df2eaa35eca5f1f76bdb1ee5c182ac7da3 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -316,6 +316,7 @@ public:
bool hasValidClient() const { return m_client; }
virtual bool drawsContent() const { return false; }
+ virtual bool isBeginCompositingDisplayItem() const { return false; }
Xianzhu 2016/07/27 17:22:29 You can avoid this virtual function by using "disp
// Override to implement specific analysis strategies.
virtual void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const { }

Powered by Google App Engine
This is Rietveld 408576698