Property contain: paint doesn't work as expected
Reported by
ana...@yandex-team.ru,
Dec 19
|
||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.64 YaBrowser/19.1.0.1642 (beta) Yowser/2.5 Safari/537.36 Example URL: Example in attach Steps to reproduce the problem: 1. Open Html in attach 2. Click on quad 3. Click on quad again What is the expected behavior? On step 2. it should became more grey (brightness=0.5) On step 3. it should return to noraml state What went wrong? On step 2. - ok On step 3. it stay grey - wrong Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 71.0.3578.64 Channel: n/a OS Version: 10.0 Flash Version: Shockwave Flash 31.0 r0 It came with this CL: https://chromium.googlesource.com/chromium/src/+/ff80d75bab6638b8b1e87d4a53a3a4321b40098b
,
Dec 19
,
Dec 19
,
Dec 19
This is missing a raster invalidation when the effect alias node's parent changes.
,
Dec 19
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/1504ddd4db783b8ec999cf9b7c36e61c969ede6c commit 1504ddd4db783b8ec999cf9b7c36e61c969ede6c Author: Vladimir Levin <vmpstr@chromium.org> Date: Wed Dec 19 22:21:08 2018 [IsolationNodes]: Ensure to generate raster invalidation on effect parent changes. This patch ensures that when an aliased effect node's parent changes, we detect that in the EffectPaintPropertyNode::Changed for the purposes of generating an appropriate raster invalidation. R=pdr@chromium.org, wangxianzhu@chromium.org Bug: 916510 Change-Id: Ic46df93218eed21a5e868a22cbe72a7c5763aba7 Reviewed-on: https://chromium-review.googlesource.com/c/1384661 Reviewed-by: Philip Rogers <pdr@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#617977} [modify] https://crrev.com/1504ddd4db783b8ec999cf9b7c36e61c969ede6c/third_party/blink/renderer/platform/graphics/paint/effect_paint_property_node.cc [modify] https://crrev.com/1504ddd4db783b8ec999cf9b7c36e61c969ede6c/third_party/blink/renderer/platform/graphics/paint/raster_invalidator_test.cc
,
Dec 20
The patch in #5 should fix this. I'm going to let it sit in canary for a few days and then request a merge to 72. Not sure if that will get approved though.
,
Dec 21
I applied this patch and it's work. Thanks a lot! I think it really matters - in our case it was really noticeable and strange artifacts.
,
Jan 2
,
Jan 2
This bug requires manual review: M72 has already been promoted to the beta branch, so this requires manual review Please contact the milestone owner if you have questions. Owners: govind@(Android), kariahda@(iOS), djmm@(ChromeOS), abdulsyed@(Desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 2
Thanks for the fix vmpstr@ - how safe is this merge overall? Any chances this could introduce any new regressions?
,
Jan 2
I think the benefit of fixing this bug outweighs the risk (which I estimate is low). +pdr, what do you think?
,
Jan 2
I agree that this would be good to merge. The change, while not completely trivial, is a straightforward simplification.
,
Jan 2
Thanks for feedback. Approving merge for M72, branch:3626.
,
Jan 2
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e596aca0c12d4395d1a1334723f010c5796784a2 commit e596aca0c12d4395d1a1334723f010c5796784a2 Author: Vladimir Levin <vmpstr@chromium.org> Date: Wed Jan 02 21:41:23 2019 [IsolationNodes]: Ensure to generate raster invalidation on effect parent changes. This patch ensures that when an aliased effect node's parent changes, we detect that in the EffectPaintPropertyNode::Changed for the purposes of generating an appropriate raster invalidation. R=pdr@chromium.org, wangxianzhu@chromium.org TBR=vmpstr@chromium.org (cherry picked from commit 1504ddd4db783b8ec999cf9b7c36e61c969ede6c) Bug: 916510 Change-Id: Ic46df93218eed21a5e868a22cbe72a7c5763aba7 Reviewed-on: https://chromium-review.googlesource.com/c/1384661 Reviewed-by: Philip Rogers <pdr@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#617977} Reviewed-on: https://chromium-review.googlesource.com/c/1393455 Reviewed-by: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/branch-heads/3626@{#541} Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437} [modify] https://crrev.com/e596aca0c12d4395d1a1334723f010c5796784a2/third_party/blink/renderer/platform/graphics/paint/effect_paint_property_node.cc [modify] https://crrev.com/e596aca0c12d4395d1a1334723f010c5796784a2/third_party/blink/renderer/platform/graphics/paint/raster_invalidator_test.cc
,
Jan 2
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e596aca0c12d4395d1a1334723f010c5796784a2 Commit: e596aca0c12d4395d1a1334723f010c5796784a2 Author: vmpstr@chromium.org Commiter: vmpstr@chromium.org Date: 2019-01-02 21:41:23 +0000 UTC [IsolationNodes]: Ensure to generate raster invalidation on effect parent changes. This patch ensures that when an aliased effect node's parent changes, we detect that in the EffectPaintPropertyNode::Changed for the purposes of generating an appropriate raster invalidation. R=pdr@chromium.org, wangxianzhu@chromium.org TBR=vmpstr@chromium.org (cherry picked from commit 1504ddd4db783b8ec999cf9b7c36e61c969ede6c) Bug: 916510 Change-Id: Ic46df93218eed21a5e868a22cbe72a7c5763aba7 Reviewed-on: https://chromium-review.googlesource.com/c/1384661 Reviewed-by: Philip Rogers <pdr@chromium.org> Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#617977} Reviewed-on: https://chromium-review.googlesource.com/c/1393455 Reviewed-by: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/branch-heads/3626@{#541} Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437} |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by ana...@yandex-team.ru
, Dec 19