Add SkRuntimeBlender class.
This class is returned by SkRuntimeEffect::makeBlender when a runtime
blend is returned. SkRuntimeBlendBuilder is also added as a convenience
class to simplify creation and uniform setup.
Our ability to add tests is limited in this CL because the SkPaint does
not contain an SkBlender yet. We do have one test which builds an
SkBlender, but there's not much we can do with it. Testing will be
bulked up in the next CL.
Commit-Queue: John Stiles <firstname.lastname@example.org>
Auto-Submit: John Stiles <email@example.com>
Reviewed-by: Brian Osman <firstname.lastname@example.org>
3 files changed