extract common blend logic

Change-Id: Iac6b67e3330a92fb92ea0a16ab3af4c346325078
Reviewed-on: https://skia-review.googlesource.com/c/174805
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
1 file changed