Add color space fallback for matrix convolution filter
authorBrian Osman <brianosman@google.com>
Tue, 27 Dec 2016 17:50:37 +0000 (12:50 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 27 Dec 2016 19:18:14 +0000 (19:18 +0000)
commit29437eb5c782ff49b9c2a23ef5dd4a54e9e45c44
treeee8f1d024be9fce0c968fbd21e0712a4d33bc40d
parent878df6dd03d1e5b8c018f803eff5b4736af399f8
Add color space fallback for matrix convolution filter

GrMatrixConvolutionFilter is used in two places right now.
The GaussianBlur code ensures that we blur in the space of
the source image, so no conversion is needed. This changes
SkMatrixConvolutionImageFilter to give the same guarantee.

BUG=skia:

Change-Id: I1a6199d4893f2e579dc6fa809c59cd195bd62f90
Reviewed-on: https://skia-review.googlesource.com/6467
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
src/effects/SkMatrixConvolutionImageFilter.cpp