SkColorSpaceXformCanvas: Use when drawing picture images
authorMatt Sarett <msarett@google.com>
Fri, 21 Apr 2017 15:42:00 +0000 (11:42 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 21 Apr 2017 16:09:12 +0000 (16:09 +0000)
commit71f9df224ee2fba93a5caeab3136a1f0b7723daf
tree0d8a6af67cae7ad2f28c7171f49a839d6f61e3da
parent54cbcd7056a1a56946f177059b1a5537f131271a
SkColorSpaceXformCanvas: Use when drawing picture images

The new code path is triggered by SkImage::makeColorSpace()
when the image is picture backed.

Fixes 3 gms in gbr-8888 config.

Bug: skia:6516
Change-Id: I397903eb0f926834efd277f30265339518777920
Reviewed-on: https://skia-review.googlesource.com/14034
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
src/core/SkPictureImageGenerator.cpp
src/core/SkPictureImageGenerator.h