Add SkImageFilters::Shader in place of Paint factory

SkImageFilters::Paint did not use every slot of the SkPaint, with only
its color, alpha, color filter, and shader having a meaningful effect on
the image filter result. It was always blended into a transparent dst,
so blend mode wasn't very relevant, and it was always filled to whatever
required geometry, so stroke style, path effect, and mask filters were
ignored or not well specified.

Color, alpha, and color filter can all be combined into an SkShader, so
a more constrained SkImageFilters::Shader provides the same useful
capabilities without as many surprises.

SkImageFilters::Paint still exists, but is deprecated to be removed
once I've confirmed clients aren't depending on it.

Bug: skia:9310
Change-Id: I11a82bda1a5d440726cf4e2b5bfaae4929568679
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/323680
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index e2e77b7..05b3001 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -9,6 +9,10 @@
 
   * <insert new release notes here>
 
+  * Add new SkImageFilters::Shader factory and deprecate SkImageFilters::Paint factory. All
+    supported/valid Paint() filters can be represented more cleanly as a Shader image filter.
+    https://review.skia.org/323680
+
   * GrContext has been replaced by two separate classes: GrDirectContext which is
     the traditional notion of GrContext, and GrRecordingContext which is a context
     that is recording an SkDeferredDisplayList and therefore has reduced functionality.