Use SkCavnas::saveLayer() to implement backdrop effect.
The original implementation needs readback from the FBO, it doesn't work with SkDDL, because the FBO will not have the content until the recorded SkDDL is played back on the Gpu thread. This CL uses SkCanvas::saveLayer() to implement the backdrop effect. It doesn't need read the FBO. Test: Passed layeout tests css3/filters/*.html with and without SkDDL Bug: 822857 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: I213fdff5f73c13af34a0295c666b80353642de96 Reviewed-on: https://chromium-review.googlesource.com/1073664 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#564993}
Showing
This diff is collapsed.
Please register or sign in to comment