[skif] Take dst bounds into account for layer fills in FilterResult

When the image fully covers what needs to be drawn, pixels that would
be non-transparent due to a color filter or non-decal tile mode don't
matter. Previously, the fills_layer_bounds function was just checking
state and would always block compacting operations, unless the layer
bounds also hid the CF/tiling effects.

Bug: skia:9296
Change-Id: I02b8b585dc723de6d9ad99fce11a21e5348601e4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/717297
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
3 files changed