Generic PDF shader fallback
authorfmalita <fmalita@chromium.org>
Tue, 13 Jan 2015 16:06:11 +0000 (08:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 13 Jan 2015 16:06:11 +0000 (08:06 -0800)
commitc3796c7a74e103d9b367ad9449fcdacfa20d83e1
tree4c6f2f7a5c023fca5dbf0a2ee69f7aecd6503ba5
parentf361b714390422a5c2a8b1dacb8e67502d0e40bb
Generic PDF shader fallback

Instead of ignoring unsupported shaders (and essentially filling with
solid black), convert them to bitmap shaders using on-the-fly
rasterization.

BUG=skia:3299
R=reed@google.com,halcanary@google.com

Review URL: https://codereview.chromium.org/841763005
expectations/gm/ignored-tests.txt
src/pdf/SkPDFDevice.cpp
src/pdf/SkPDFShader.cpp
src/pdf/SkPDFShader.h