7001576c7160e20c9c9db2fbe947408989027d66 |
|
11-Feb-2016 |
halcanary <halcanary@google.com> |
SkDocument: remove use of SkTArray (part 1/3). GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689683002 Review URL: https://codereview.chromium.org/1689683002
/external/skia/src/doc/SkDocument_PDF.cpp
|
712fdf7603c62820b21174da9b0a2071c174936b |
|
10-Dec-2015 |
halcanary <halcanary@google.com> |
SkDocument::setDCTEncoder() for old versions of webkit Review URL: https://codereview.chromium.org/1505763003
/external/skia/src/doc/SkDocument_PDF.cpp
|
34422610ac22adceeabb66023120f27b96cae953 |
|
12-Oct-2015 |
halcanary <halcanary@google.com> |
SkPDF: Optionally output PDF/A-2b archive format. Note: this format does not yet pass validation tests. Add skia_pdf_generate_pdfa GYP flag. Default to off for now. PDF/A files are not reproducable, so they make correctness testing harder. Turn the Metadata struct into te SkPDFMetadata struct. This splits out a lot of functionality around both kinds of metadata. When PDF/A is used, add an ID entry to the trailer. Add SkPDFObjNumMap::addObjectRecursively. Test with GYP_DEFINES=skia_pdf_generate_pdfa=1 bin/sync-and-gyp ninja -C out/Release dm out/Release/dm --config pdf --src skp gm -w /tmp/dm With skia_pdf_generate_pdfa=0, all PDFs generated from GMs and SKPs are identical. With skia_pdf_generate_pdfa=1, all PDFs generated from GMs and SKPs render identically in Pdfium. BUG=skia:3110 Review URL: https://codereview.chromium.org/1394263003
/external/skia/src/doc/SkDocument_PDF.cpp
|
21f99b7733c5d468deee9f8dadd59e77ed33d5ca |
|
09-Oct-2015 |
bungeman <bungeman@google.com> |
Revert of SkPDF: Optionally output PDF/A-2b archive format. (patchset #5 id:80001 of https://codereview.chromium.org/1394263003/ ) Reason for revert: SkMD5 is not really part of the Skia library. This is breaking the roll by using it, since Chromium doesn't build it. Original issue's description: > SkPDF: Optionally output PDF/A-2b archive format. > > Note: this format does not yet pass validation tests. > > Add skia_pdf_generate_pdfa GYP flag. Default to off for now. > PDF/A files are not reproducable, so they make correctness > testing harder. > > Turn the Metadata struct into te SkPDFMetadata struct. This > splits out a lot of functionality around both kinds of metadata. > > When PDF/A is used, add an ID entry to the trailer. > > Add SkPDFObjNumMap::addObjectRecursively. > > Test with > > GYP_DEFINES=skia_pdf_generate_pdfa=1 bin/sync-and-gyp > ninja -C out/Release dm > out/Release/dm --config pdf --src skp gm -w /tmp/dm > > With skia_pdf_generate_pdfa=0, all PDFs generated from GMs and > SKPs are identical. With skia_pdf_generate_pdfa=1, all PDFs > generated from GMs and SKPs render identically in Pdfium. > > BUG=skia:3110 > > Committed: https://skia.googlesource.com/skia/+/939c0fe51f157104758bcb268643c8b6d317a530 TBR=tomhudson@google.com,halcanary@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:3110 Review URL: https://codereview.chromium.org/1398193002
/external/skia/src/doc/SkDocument_PDF.cpp
|
939c0fe51f157104758bcb268643c8b6d317a530 |
|
09-Oct-2015 |
halcanary <halcanary@google.com> |
SkPDF: Optionally output PDF/A-2b archive format. Note: this format does not yet pass validation tests. Add skia_pdf_generate_pdfa GYP flag. Default to off for now. PDF/A files are not reproducable, so they make correctness testing harder. Turn the Metadata struct into te SkPDFMetadata struct. This splits out a lot of functionality around both kinds of metadata. When PDF/A is used, add an ID entry to the trailer. Add SkPDFObjNumMap::addObjectRecursively. Test with GYP_DEFINES=skia_pdf_generate_pdfa=1 bin/sync-and-gyp ninja -C out/Release dm out/Release/dm --config pdf --src skp gm -w /tmp/dm With skia_pdf_generate_pdfa=0, all PDFs generated from GMs and SKPs are identical. With skia_pdf_generate_pdfa=1, all PDFs generated from GMs and SKPs render identically in Pdfium. BUG=skia:3110 Review URL: https://codereview.chromium.org/1394263003
/external/skia/src/doc/SkDocument_PDF.cpp
|
f12a1673f024d30d30f06b9f88b5cc072b8a2d1e |
|
23-Sep-2015 |
halcanary <halcanary@google.com> |
SkPDF: add basic metadata support Motivation: I want too finalize this API before working on the more complex problem of adding XMP metadata for PDF/A. BUG=skia:3110 Review URL: https://codereview.chromium.org/1359943003
/external/skia/src/doc/SkDocument_PDF.cpp
|
ef6c50a80f77e6da84e198a34755dd42b1b0cf1e |
|
18-Sep-2015 |
wangxianzhu <wangxianzhu@chromium.org> |
Merge sub-device annotations in SkPDFDevice::drawDevice() Previously annotations added between saveLayer/restore were lost. Merge annotations in SkPDFDevice::drawDevice(). Also modified code to apply correct transformation and clipping on annotations added between saveLayer/restore: - Apply the initial transform only when adding the annotations into the doc, otherwise we need to unapply sub-device's initial transform before merging the annotations into parent-device. - Apply only device-local clipping. fClipStack is in global coordinates, which is not suitable to clip rects in sub-devices. BUG=skia:4080 BUG=503515 Review URL: https://codereview.chromium.org/1257533004
/external/skia/src/doc/SkDocument_PDF.cpp
|
96fcdcc219d2a0d3579719b84b28bede76efba64 |
|
27-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: NULL->nullptr DOCS_PREVIEW= https://skia.org/?cl=1316233002 Review URL: https://codereview.chromium.org/1316233002
/external/skia/src/doc/SkDocument_PDF.cpp
|
385fe4d4b62d7d1dd76116dd570df3290a2f487b |
|
26-Aug-2015 |
halcanary <halcanary@google.com> |
Style Change: SkNEW->new; SkDELETE->delete DOCS_PREVIEW= https://skia.org/?cl=1316123003 Review URL: https://codereview.chromium.org/1316123003
/external/skia/src/doc/SkDocument_PDF.cpp
|
4f2b33159b5a5da869ed605abf1d73b5cd429934 |
|
10-Aug-2015 |
halcanary <halcanary@google.com> |
SkPDF: add assert for that SkWStream behaves. Motivation: this might catch future issues like this. BUG=skia:4181 Review URL: https://codereview.chromium.org/1287443002
/external/skia/src/doc/SkDocument_PDF.cpp
|
72266fd1fe9bfe078239a9d9e85f479faee30281 |
|
05-May-2015 |
halcanary <halcanary@google.com> |
SkPDF: clean up uses of deprecated calls in SkDocument_PDF BUG=skia:3585 Review URL: https://codereview.chromium.org/1107913002
/external/skia/src/doc/SkDocument_PDF.cpp
|
f4219ddf31b2171a5576ab98d1fd2deab4d816fd |
|
28-Apr-2015 |
tfarina <tfarina@chromium.org> |
Update more directories under src/ to follow C++11 style rule for {virtual,override}. The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override. The entries were found using the following command line: $ find src/ -iname "*.h" -o -iname "*.cpp" | xargs pcregrep -M "[^\n/]+virtual\ [^;{]+\ [a-zA-Z0-9_]+\([^;{]+\ override[ \n]*[;{]" The regex was a courtesy of nick@chromium.org BUG=None R=mtklein@google.com Review URL: https://codereview.chromium.org/1110013002
/external/skia/src/doc/SkDocument_PDF.cpp
|
130444fdaf737c5931a934018ab50b0c91a3499e |
|
25-Apr-2015 |
halcanary <halcanary@google.com> |
SkPDF: Refactor SkPDFObject heiararchy. Flatten and use a tagged union type Δmemory ~= -2.4% ± 0.5% Δtime ~= -1.2% ± 0.2% BUG=skia:3585 Review URL: https://codereview.chromium.org/1069103003
/external/skia/src/doc/SkDocument_PDF.cpp
|
2b86155b42c2493ff0c558ce105a464769962274 |
|
09-Apr-2015 |
halcanary <halcanary@google.com> |
SkPDF: ResourceDict replaced by factory function Motivation: Having a class here was unnecessary, since the only thing that set this class apart was how it is created, not how it behaves. BUG=skia:3585 Review URL: https://codereview.chromium.org/1068343003
/external/skia/src/doc/SkDocument_PDF.cpp
|
37c46cad21632cfc1411b08d73af37a1fffe2944 |
|
31-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF: Factor SkPDFCatalog into SkPDFObjNumMap and SkPDFSubstituteMap Motivation: Keep separate features separate. Also, future linearization work will need to have several objNumMap objects share a substituteMap. Also "catalog" has a specific meaning in PDF. This catalog did not map to that catalog. - Modify SkPDFObject::emitObject and SkPDFObject::addResources interface to requiore SkPDFObjNumMap and SkPDFSubstituteMap. - SkPDFObjNumMap const in SkPDFObject::emitObject. - Remove SkPDFCatalog.cpp/.h - Modify SkDocument_PDF.cpp to use new functions - Fold in SkPDFStream::populate - Fold in SkPDFBitmap::emitDict - Move SkPDFObjNumMap and SkPDFSubstituteMap to SkPDFTypes.h - Note (via assert) that SkPDFArray & SkPDFDict don't need to check substitutes. - Remove extra space from SkPDFDict serialization. - SkPDFBitmap SkPDFType0Font SkPDFGraphicState SkPDFStream updated to new interface. - PDFPrimitivesTest updated for new interface. BUG=skia:3585 Review URL: https://codereview.chromium.org/1049753002
/external/skia/src/doc/SkDocument_PDF.cpp
|
41f88f0251cf48eb06f3f8d143aac8562a230889 |
|
26-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF fix object counting error Review URL: https://codereview.chromium.org/1012483003
/external/skia/src/doc/SkDocument_PDF.cpp
|
36352bf5e38f45a70ee4f4fc132a38048d38206d |
|
26-Mar-2015 |
mtklein <mtklein@chromium.org> |
C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} NOPRESUBMIT=true BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1037793002 Review URL: https://codereview.chromium.org/1037793002
/external/skia/src/doc/SkDocument_PDF.cpp
|
d4714af018158c15e13439bef2c9b5bafc25c1d7 |
|
25-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF SkPDFObject::addResources signature simplified - SkPDFcatalog keeps a ordered list of object pointers - Elimiante SkTSet template class - SkPDFObject::addResources signature changes BUG=skia:3585 Review URL: https://codereview.chromium.org/1038523004
/external/skia/src/doc/SkDocument_PDF.cpp
|
2f7ebcb424cd1d1acf07478157f86b0a3eafd712 |
|
25-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF: eliminate skpdfpage class BUG=skia:3585 Review URL: https://codereview.chromium.org/1007083004
/external/skia/src/doc/SkDocument_PDF.cpp
|
a43b41538ad6af0f2b7742b4ade8265d344b9d64 |
|
25-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF: merge skdocument_pdf and skpdfdocument BUG=skia:3585 Review URL: https://codereview.chromium.org/1034793002
/external/skia/src/doc/SkDocument_PDF.cpp
|
6d622703e578eddc64ab4e3340d0ab0033268799 |
|
25-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF: skpdfdocument and skpdfpage use skpdfdevice in a const way BUG=skia:3585 Review URL: https://codereview.chromium.org/1035513003
/external/skia/src/doc/SkDocument_PDF.cpp
|
7a0118465a2dd1783d7b19b026bedd7e13afadf2 |
|
25-Mar-2015 |
halcanary <halcanary@google.com> |
SkPDF: unclass skpdfdocument BUG=skia:3585 Review URL: https://codereview.chromium.org/1030193002
/external/skia/src/doc/SkDocument_PDF.cpp
|
2e3f9d8a9309686eeb4c76ccfde5800da87a68b3 |
|
27-Feb-2015 |
halcanary <halcanary@google.com> |
PDF: Canon now owns a reference to all interned objects Add SkPDFCanon::reset function to unref all objects. No longer possible to remove object from canon Motivation: this doesn't change these object's lifetime, (they will still be fully unrefed when SkDocument::close() is called, but we no longer have to remove them from the array when their destructor is called. Review URL: https://codereview.chromium.org/966863002
/external/skia/src/doc/SkDocument_PDF.cpp
|
792c80f5a7b66e75d42664ccb298f31962c6654c |
|
20-Feb-2015 |
halcanary <halcanary@google.com> |
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
/external/skia/src/doc/SkDocument_PDF.cpp
|
a1f1ee98a1f6d0770f6243270ca2f0e6c92efaba |
|
20-Feb-2015 |
halcanary <halcanary@google.com> |
PDF : New factory function for SkPDFDevice SkPDFDevice now has factory function that matches what callers need. Review URL: https://codereview.chromium.org/941023005
/external/skia/src/doc/SkDocument_PDF.cpp
|
8c92dc1dc281649f9e6b0ff534c25bc89dded3ea |
|
20-Feb-2015 |
halcanary <halcanary@google.com> |
Remove unused parameters to SkDocument::CreatePDF All image compression currently uses (losseless) Deflate, not Jpeg. All clients simply use SkDocument::CreatePDF(stream). SampleApp and SkLua still use SkDocument::CreatePDF(path). Review URL: https://codereview.chromium.org/935843007
/external/skia/src/doc/SkDocument_PDF.cpp
|
72c9faab45124e08c85f70ca38536914862d947c |
|
09-Jan-2015 |
mtklein <mtklein@chromium.org> |
Fix up all the easy virtual ... SK_OVERRIDE cases. This fixes every case where virtual and SK_OVERRIDE were on the same line, which should be the bulk of cases. We'll have to manually clean up the rest over time unless I level up in regexes. for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end BUG=skia: Review URL: https://codereview.chromium.org/806653007
/external/skia/src/doc/SkDocument_PDF.cpp
|
be519ad718371cc40c432572173e47f851476486 |
|
10-Nov-2014 |
halcanary <halcanary@google.com> |
Simplify canvas calls in SkDocument_PDF As suggested by reed@ in http://crrev.com/711133002 TBR=reed@google.com Review URL: https://codereview.chromium.org/707533003
/external/skia/src/doc/SkDocument_PDF.cpp
|
93f816129356d6764a9402817cc36bffd8f991fb |
|
10-Nov-2014 |
halcanary <halcanary@google.com> |
SkDocument_PDF does somthing with the trimBox parameter. Fixes change introduced in http://crrev.com/645563002 This will allow SkDocument to be a drop-in repalcement to SkPDFDocument/SkPDFDevice in Chromium. Review URL: https://codereview.chromium.org/711133002
/external/skia/src/doc/SkDocument_PDF.cpp
|
5867736b08d3689356b49f505bcf748c2194a0bc |
|
09-Oct-2014 |
reed <reed@google.com> |
use real pdfdevice behind SkDocument BUG=skia: TBR=bungeman@google.com Review URL: https://codereview.chromium.org/645563002
/external/skia/src/doc/SkDocument_PDF.cpp
|
701b40543d5d124dfa1e59b051cba9d2aaf61670 |
|
18-Nov-2013 |
robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Fix DocumentTest/SkDocument memory leaks https://codereview.chromium.org/72833002/ git-svn-id: http://skia.googlecode.com/svn/trunk@12302 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/doc/SkDocument_PDF.cpp
|
8c294900f31d8d032b62182f011019276d27d5d0 |
|
21-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add DPI stettings to SkDocument::CreatePDF(). Tests will be added in a future cl, once DPI will be used in SkPDFDevice R=reed@google.com, bungeman@google.com, vandebo@chromium.org Author: edisonn@google.com Review URL: https://codereview.chromium.org/32233003 git-svn-id: http://skia.googlecode.com/svn/trunk@11886 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/doc/SkDocument_PDF.cpp
|
5e00989a283111cef05bed8102e45c16651e43e4 |
|
14-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Add SkPDFDeviceFlatenner which extends SkPDFDevice to add support to flatten the path and the text when we have perspective. prepare to deprecate SkPDFDevice constructor, and route gm and render_pdfs to use SkDocument::Create pdf interface instead. - controlled by a flag add comments where we are supposed to flatten other features (paint, shaders, ... ) R=reed@google.com, bungeman@google.com, scroggo@google.com, vandebo@chromium.org, bsalomon@google.com Author: edisonn@google.com Review URL: https://codereview.chromium.org/24811002 git-svn-id: http://skia.googlecode.com/svn/trunk@11751 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/doc/SkDocument_PDF.cpp
|
b5a6651f9f69570d964382134d64360915db9a29 |
|
09-Oct-2013 |
commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SkDocument api changes (abort, close return success, set DCT encoder...). R=reed@google.com, reed Author: edisonn@google.com Review URL: https://codereview.chromium.org/26744002 git-svn-id: http://skia.googlecode.com/svn/trunk@11688 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/doc/SkDocument_PDF.cpp
|
6319367bdcbf5e5050632ab97973f5035d0dd8fa |
|
08-Jun-2013 |
skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
Sanitizing source files in Housekeeper-Nightly git-svn-id: http://skia.googlecode.com/svn/trunk@9478 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/doc/SkDocument_PDF.cpp
|
99ac02bb701c1e30b20f2174aac25ffbe487c0af |
|
07-Jun-2013 |
reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> |
SkDocument base for pdf, xps, etc. R=scroggo@google.com Review URL: https://codereview.chromium.org/16660002 git-svn-id: http://skia.googlecode.com/svn/trunk@9476 2bbb7eff-a529-9590-31e7-b0007b416f81
/external/skia/src/doc/SkDocument_PDF.cpp
|