Add mask filter support to AutoLayerForImageFilter

Expands AutoLayerForImageFilter to call saveLayer() with an alpha-only
color type and apply the mask filter as an image filter to that image,
then draw that output using Device::drawCoverageMask.

Nothing currently enables this code path for mask filters, although
Graphite will shortly. Only blur mask filters are converted to
image filters; the remaining mask filter implementations are all
deprecated and hopefully can be removed by the time this becomes
the only way mask filters are applied.

Bug: b/305016181
Bug: b/304823483
Change-Id: I930a55ecfe93b3459df17a8df537027c122983b6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/762979
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
8 files changed