PDF: Now threadsafe!
authorhalcanary <halcanary@google.com>
Fri, 20 Feb 2015 15:21:05 +0000 (07:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 20 Feb 2015 15:21:05 +0000 (07:21 -0800)
commit792c80f5a7b66e75d42664ccb298f31962c6654c
treefc98395a0a8b9860677b9465ca2c5b662f89ee78
parentd08ea5fdae990ee7829e3755abddfab9740eab99
PDF: Now threadsafe!

The PDF canvas is now just as threadsafe as any other Skia canvas.

DM updated to thread PDF tests.

SkDocument_PDF now owns SkPDFCanon, and pointers to that canon are
passed around to all classes that need access to the canon.

BUG=skia:2683

Review URL: https://codereview.chromium.org/944643002
16 files changed:
dm/DMSrcSink.h
src/doc/SkDocument_PDF.cpp
src/pdf/SkPDFBitmap.cpp
src/pdf/SkPDFBitmap.h
src/pdf/SkPDFCanon.cpp
src/pdf/SkPDFCanon.h
src/pdf/SkPDFDevice.cpp
src/pdf/SkPDFFont.cpp
src/pdf/SkPDFFont.h
src/pdf/SkPDFFontImpl.h
src/pdf/SkPDFGraphicState.cpp
src/pdf/SkPDFGraphicState.h
src/pdf/SkPDFImage.cpp
src/pdf/SkPDFImage.h
src/pdf/SkPDFShader.cpp
src/pdf/SkPDFShader.h