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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.h

Issue 2768453003: Put SVGResourceContainer subtypes into their own property trees. (Closed)
Patch Set: none Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PaintInvalidator.h
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.h b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
index fa3d084b171f5b0aa2e097ead2cbaedb6b38da44..37e609a2abd27fb80c88f674a7313668d31b4d0d 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.h
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.h
@@ -54,6 +54,17 @@ struct PaintInvalidatorContext {
// TODO(crbug.com/637313): This is temporary before we support filters in
// paint property tree.
ForcedSubtreeSlowPathRect = 1 << 5,
+
+ // The paint invalidation tree walk invalidates paint caches, such as
+ // DisplayItemClients and subsequence caches, and also the regions
+ // into which objects raster pixels. When this flag is set, raster region
+ // invalidations are not issued.
+ //
+ // Context: some objects in this paint walk, for example SVG resource
+ // container subtress, don't actually have any raster regions, because they
+ // are used as "painting subroutines" for one or more other locations in
+ // SVG.
+ ForcedSubtreeNoRasterInvalidation = 1 << 6,
};
unsigned forcedSubtreeInvalidationFlags = 0;

Powered by Google App Engine
This is Rietveld 408576698