Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Issue 944643002: PDF: Now threadsafe! (Closed)

Created:
5 years, 10 months ago by hal.canary
Modified:
5 years, 10 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

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 Committed: https://skia.googlesource.com/skia/+/792c80f5a7b66e75d42664ccb298f31962c6654c

Patch Set 1 : formatting #

Total comments: 9

Patch Set 2 : respond to comments #

Patch Set 3 : rebase on 35b5b6f #

Total comments: 4

Patch Set 4 : remove extranious field from SkPDFGraphicState #

Patch Set 5 : TODO=DONE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -216 lines) Patch
M dm/DMSrcSink.h View 2 chunks +3 lines, -3 lines 0 comments Download
M src/doc/SkDocument_PDF.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFBitmap.h View 3 chunks +7 lines, -2 lines 0 comments Download
M src/pdf/SkPDFBitmap.cpp View 1 2 3 4 4 chunks +11 lines, -13 lines 0 comments Download
M src/pdf/SkPDFCanon.h View 1 2 1 chunk +14 lines, -23 lines 0 comments Download
M src/pdf/SkPDFCanon.cpp View 8 chunks +0 lines, -39 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 6 chunks +10 lines, -9 lines 0 comments Download
M src/pdf/SkPDFFont.h View 4 chunks +13 lines, -4 lines 0 comments Download
M src/pdf/SkPDFFont.cpp View 11 chunks +44 lines, -43 lines 0 comments Download
M src/pdf/SkPDFFontImpl.h View 4 chunks +15 lines, -6 lines 0 comments Download
M src/pdf/SkPDFGraphicState.h View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M src/pdf/SkPDFGraphicState.cpp View 1 2 3 5 chunks +10 lines, -19 lines 0 comments Download
M src/pdf/SkPDFImage.h View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M src/pdf/SkPDFImage.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M src/pdf/SkPDFShader.h View 1 4 chunks +18 lines, -7 lines 0 comments Download
M src/pdf/SkPDFShader.cpp View 1 2 12 chunks +45 lines, -39 lines 0 comments Download

Messages

Total messages: 26 (6 generated)
hal.canary
ptal
5 years, 10 months ago (2015-02-19 23:07:35 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944643002/20001
5 years, 10 months ago (2015-02-19 23:13:46 UTC) #5
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-02-19 23:13:47 UTC) #6
mtklein
super cool https://codereview.chromium.org/944643002/diff/20001/src/pdf/SkPDFDevice.h File src/pdf/SkPDFDevice.h (right): https://codereview.chromium.org/944643002/diff/20001/src/pdf/SkPDFDevice.h#newcode75 src/pdf/SkPDFDevice.h:75: static SkPDFDevice* CreateUnflipped(SkISize pageSize, This seems like ...
5 years, 10 months ago (2015-02-19 23:50:38 UTC) #7
hal.canary
https://codereview.chromium.org/944643002/diff/20001/src/pdf/SkPDFDevice.h File src/pdf/SkPDFDevice.h (right): https://codereview.chromium.org/944643002/diff/20001/src/pdf/SkPDFDevice.h#newcode75 src/pdf/SkPDFDevice.h:75: static SkPDFDevice* CreateUnflipped(SkISize pageSize, On 2015/02/19 23:50:38, mtklein wrote: ...
5 years, 10 months ago (2015-02-20 01:22:28 UTC) #8
hal.canary
rebased and ready to land. Please review.
5 years, 10 months ago (2015-02-20 14:28:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944643002/60001
5 years, 10 months ago (2015-02-20 14:44:13 UTC) #11
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-02-20 14:44:14 UTC) #12
mtklein
https://codereview.chromium.org/944643002/diff/20001/src/pdf/SkPDFGraphicState.cpp File src/pdf/SkPDFGraphicState.cpp (right): https://codereview.chromium.org/944643002/diff/20001/src/pdf/SkPDFGraphicState.cpp#newcode116 src/pdf/SkPDFGraphicState.cpp:116: SkASSERT((fSMask || fCanon) && !(fSMask && fCanon)); On 2015/02/20 ...
5 years, 10 months ago (2015-02-20 14:55:41 UTC) #13
mtklein
https://codereview.chromium.org/944643002/diff/60001/src/pdf/SkPDFBitmap.cpp File src/pdf/SkPDFBitmap.cpp (right): https://codereview.chromium.org/944643002/diff/60001/src/pdf/SkPDFBitmap.cpp#newcode277 src/pdf/SkPDFBitmap.cpp:277: // TODO(halcanary): SkPDFBitmap::Create should take a SkPDFCanon* parameter. done! ...
5 years, 10 months ago (2015-02-20 15:05:27 UTC) #14
hal.canary
On 2015/02/20 15:05:27, mtklein wrote: > https://codereview.chromium.org/944643002/diff/60001/src/pdf/SkPDFBitmap.cpp > File src/pdf/SkPDFBitmap.cpp (right): > > https://codereview.chromium.org/944643002/diff/60001/src/pdf/SkPDFBitmap.cpp#newcode277 > ...
5 years, 10 months ago (2015-02-20 15:07:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944643002/80001
5 years, 10 months ago (2015-02-20 15:08:17 UTC) #17
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-02-20 15:08:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944643002/100001
5 years, 10 months ago (2015-02-20 15:09:27 UTC) #20
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-02-20 15:09:28 UTC) #21
hal.canary
https://codereview.chromium.org/944643002/diff/60001/src/pdf/SkPDFBitmap.cpp File src/pdf/SkPDFBitmap.cpp (right): https://codereview.chromium.org/944643002/diff/60001/src/pdf/SkPDFBitmap.cpp#newcode277 src/pdf/SkPDFBitmap.cpp:277: // TODO(halcanary): SkPDFBitmap::Create should take a SkPDFCanon* parameter. On ...
5 years, 10 months ago (2015-02-20 15:10:01 UTC) #22
mtklein
On 2015/02/20 15:09:28, I haz the power (commit-bot) wrote: > Note for Reviewers: > The ...
5 years, 10 months ago (2015-02-20 15:10:09 UTC) #23
hal.canary
On 2015/02/20 15:10:09, mtklein wrote: > lgtm On my local machine: $ ps -C dm ...
5 years, 10 months ago (2015-02-20 15:15:24 UTC) #24
mtklein
On 2015/02/20 15:15:24, Hal Canary wrote: > On 2015/02/20 15:10:09, mtklein wrote: > > lgtm ...
5 years, 10 months ago (2015-02-20 15:17:55 UTC) #25
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 15:21:10 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://skia.googlesource.com/skia/+/792c80f5a7b66e75d42664ccb298f31962c6654c

Powered by Google App Engine
This is Rietveld 408576698