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

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

Issue 2049263003: Check rect under-invalidations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ImageQuality
Patch Set: x Created 4 years, 6 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/PaintController.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
index cdcd29a18fd2a93796a45e8a3238721807ca2a61..4ff8560f367dbf4f83beb9a52aa614f4923ced5d 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.h
@@ -24,6 +24,8 @@
#include "wtf/Vector.h"
#include <utility>
+class SkPicture;
+
namespace blink {
class GraphicsContext;
@@ -139,6 +141,8 @@ public:
// the last commitNewDisplayItems(). Use with care.
DisplayItemList& newDisplayItemList() { return m_newDisplayItemList; }
+ void appendDebugDrawingAfterCommit(const DisplayItemClient&, PassRefPtr<SkPicture>, const LayoutSize& offsetFromLayoutObject);
+
#ifndef NDEBUG
void showDebugData() const;
#endif
@@ -191,7 +195,6 @@ private:
// (when RuntimeEnabledFeatures::slimmingPaintUnderInvalidationCheckingEnabled).
void checkUnderInvalidation(DisplayItemList::iterator& newIt, DisplayItemList::iterator& currentIt);
void checkCachedDisplayItemIsUnchanged(const char* messagePrefix, const DisplayItem& newItem, const DisplayItem& oldItem);
- void checkNoRemainingCachedDisplayItems();
#endif
void updateCacheGeneration();

Powered by Google App Engine
This is Rietveld 408576698