Refactor pixel conversion: premul and unpremul
authorMatt Sarett <msarett@google.com>
Thu, 9 Feb 2017 21:22:39 +0000 (16:22 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 9 Feb 2017 22:11:13 +0000 (22:11 +0000)
commitc7b29089475772a51541323a93a15baad2a5feaa
tree308b5bf2b4d4b0d7bf7bd021e147028e7b7878b2
parent5881e82060e59abe477ba34d33ada661c53d81f0
Refactor pixel conversion: premul and unpremul

Just going for simpler and more code sharing.

BUG=skia:

Change-Id: I84c20cd4dbb6950f7b4d0bc659c4b3b5a2af201c
Reviewed-on: https://skia-review.googlesource.com/8287
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
src/core/SkConfig8888.cpp
src/core/SkConfig8888.h
src/core/SkUnPreMultiplyPriv.h [new file with mode: 0644]
src/gpu/GrContext.cpp
src/images/transform_scanline.h