Change GaussianBlur logic wrt color spaces
authorBrian Osman <brianosman@google.com>
Thu, 29 Dec 2016 16:50:48 +0000 (11:50 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 3 Jan 2017 14:35:06 +0000 (14:35 +0000)
commit5f500920e719b215d5e0e36a6679995ed3c9b4ad
treef96ea90c554e0980efe5e24619cb8e03cd72dabc
parent43fb7a014b785960e5892cadd0bd30c10328ae8a
Change GaussianBlur logic wrt color spaces

I was using 'source' where I should have said 'input'. Also, to be
consistent with other image filters, ensure that the input is in the
destination gamut before we start blurring.

BUG=skia:

Change-Id: I751961b42a2a5d110ee8ea8916279c8fe0d5248e
Reviewed-on: https://skia-review.googlesource.com/6486
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
gm/imagefilters.cpp
src/core/SkBlurImageFilter.cpp
src/core/SkImageFilter.cpp