Fix for rounded-rect clips with filters.
authorsenorblanco <senorblanco@chromium.org>
Wed, 3 Feb 2016 02:44:15 +0000 (18:44 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Feb 2016 02:44:16 +0000 (18:44 -0800)
commitafc7cce5d68663934128d76963cd501f771d71de
treeb13153dfaeb926a130a946ccf7010b8253f06518
parent67e8bd207261ed4a4b30c4e488a6a2b6baf04d7a
Fix for rounded-rect clips with filters.

Don't use the base canvas size to limit raster of complex clips, since
the top canvas size may actually be larger (e.g., a blur filter which
expands the clip bounds to accommodate filter margins). Use the top
canvas bounds instead.

BUG=skia:4879,471212
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1657333002

Review URL: https://codereview.chromium.org/1657333002
gm/complexclip_blur_tiled.cpp [new file with mode: 0644]
include/core/SkCanvas.h
src/core/SkCanvas.cpp
src/core/SkRasterClip.cpp
src/core/SkRasterClip.h
src/pdf/SkPDFDevice.cpp
src/utils/SkLua.cpp
tests/AAClipTest.cpp