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

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

Issue 2495973002: [SPv2] Add filter support in PaintArtifactCompositor (Closed)
Patch Set: rebase Created 4 years, 1 month 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/PaintPropertyTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
index 29d89b7dfd80bde2a663b560b189156ba1447b57..b6925cf20673061a387c07b9e4a04332fa29291e 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -70,6 +70,11 @@ struct PaintPropertyTreeBuilderContext {
// Therefore, we don't need extra bookkeeping for effect nodes and can
// generate the effect tree from a DOM-order traversal.
const EffectPaintPropertyNode* currentEffect = nullptr;
+ // Some effects are spatial, i.e. may refer to input pixels outside of output
+ // clip. The cull rect for its input shall be derived from its output clip.
+ // This variable represents the input cull of current effect, also serves as
+ // output clip of child effects that don't have a hard clip.
+ const ClipPaintPropertyNode* inputClipOfCurrentEffect = nullptr;
bool isUnderMultiColumnSpanner = false;
};

Powered by Google App Engine
This is Rietveld 408576698