DescriptionSkPDFCanon
SkPDFCanon's fields and methods will eventually become part of
SkPDFDocument/SkDocument_PDF. For now, it exists as a singleton to
preflight that transition. This replaces three global arrays in
SkPDFFont, SkPDFShader, and SkPDFGraphicsContext. This code is still
thread-unsafe (http://skbug.com/2683), but moving this functionality
into SkPDFDocument will fix that.
This CL does not change pdf output from either GMs or SKPs.
This change also simplifies some code around the SkPDFCanon methods.
BUG=skia:2683
Committed: https://skia.googlesource.com/skia/+/fb62b3d423fa34c672df42f47017dbef087d19e9
Patch Set 1 #
Total comments: 28
Patch Set 2 : react to comments #
Total comments: 7
Patch Set 3 : nits #Patch Set 4 : did you mean struct here? #
Messages
Total messages: 19 (6 generated)
|