DescriptionSkPDF: PDFShader code modernized.
Motivation: reduce code complexity.
SkCanon stores SkPDFShader::State next to SkDFObject, not inside.
many places use sk_sp<T> rather than T* to represent ownership.
SkPDFShader::State no longer holds bitmap.
SkPDFShader::State gets move constructor, no longer heap-allocated.
Classes removed:
SkPDFFunctionShader
SkPDFAlphaFunctionShader
SkPDFImageShader
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2193973002
Committed: https://skia.googlesource.com/skia/+/dabd4f0b799318cb6e90b69ae1ec0ed0b6d32f60
Patch Set 1 #Patch Set 2 : 2016-07-29 (Friday) 17:29:44 EDT #Patch Set 3 : 2016-07-29 (Friday) 17:54:35 EDT #
Total comments: 11
Patch Set 4 : 2016-08-02 (Tuesday) 17:24:52 EDT #
Messages
Total messages: 18 (11 generated)
|