Add a blend-wrong mode to SkRasterPipelineBlitter.
authorMike Klein <mtklein@chromium.org>
Tue, 7 Feb 2017 16:57:27 +0000 (11:57 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 8 Feb 2017 15:38:49 +0000 (15:38 +0000)
commit688ded2ee6c3472986eec2122830667378697577
tree05be1745a9f4f01ad566824c183b294adbc1f1de
parentf5759936865d73de3ef715ea228e7dd22eb2dfda
Add a blend-wrong mode to SkRasterPipelineBlitter.

This keeps correct linear blending as the only option exericsed,
but it should be easy to see how to turn on blend-wrong mode.

Change-Id: I7d87ef8ed00e8990107bd36b826f8d229d930400
Reviewed-on: https://skia-review.googlesource.com/8125
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
src/core/SkBlitter.cpp
src/core/SkCoreBlitters.h
src/core/SkRasterPipelineBlitter.cpp