From bc4ffb9f60cde12204dc0c76ba670b00cdb2e24a Mon Sep 17 00:00:00 2001 From: Xianzhu Wang Date: Fri, 15 Jul 2022 16:35:06 -0700 Subject: [PATCH] PixelMovingFilterClipExpander in blink paint property tree It translates to a cc clip node with pixel_moving_filter_id to expand the visual rect under a pixel-moving filter, to ensure all pixels contributing to a pixel-moving filter are included before applying the parent clip on the result. For now this node doesn't contribute to geometry mapping in blink, though it affects layerization results if the clip state of a PendingLayer is changed by the existence of the node. In the future we can use this node to simplify geometry mapping with pixel-moving filters, or let PropertyTreeManager automatically generate cc clip nodes for pixel-moving filters without this blink paint property node. Bug: 1228817 Change-Id: I38dfcbc4e7a3894b0f8ea66775e0ad5178b0099c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3742098 Reviewed-by: Philip Rogers Commit-Queue: Xianzhu Wang Cr-Commit-Position: refs/heads/main@{#1024957} --- .../will-change-blur-filter-under-clip.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 css/filter-effects/will-change-blur-filter-under-clip.html diff --git a/css/filter-effects/will-change-blur-filter-under-clip.html b/css/filter-effects/will-change-blur-filter-under-clip.html new file mode 100644 index 00000000000000..68e622c36ad18a --- /dev/null +++ b/css/filter-effects/will-change-blur-filter-under-clip.html @@ -0,0 +1,8 @@ + + + + +
+
+