skia2/src/pdf
halcanary 3c35fb3310 SkPDF: Glyph Useage Map improvements
Instead of having a fFontGlyphUsage on each device and one on each
document, just have the one on the document, and never merge.

Make fGlyphUsage accesible on SkPDFDocument.

Remove SkPDFGlyphSetMap::merge, ::reset, and SkPDFGlyphSet::merge.

SkPDFGlyphSetMap has an TArray of SkPDFGlyphSet, not TDArray of
SkPDFGlyphSet pointers.  SkPDFGlyphSet and SkPDFBitset get move
constructors.

All tests produce exactly identical output PDFs.

BUG=skia:5434
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2112943002

Review-Url: https://codereview.chromium.org/2112943002
2016-06-30 11:55:07 -07:00
..
SkBitmapKey.h SkPDF: properly dedup bitmaps in shaders 2016-04-01 11:51:00 -07:00
SkDeflate.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkDeflate.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkDocument_PDF_None.cpp SkPDF/None: fix compilation 2016-04-27 10:57:52 -07:00
SkJpegInfo.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SkJpegInfo.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SkPDFBitmap.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFBitmap.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFCanon.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFCanon.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFCanvas.cpp remove 'deprecated' region from SkDraw 2016-04-27 07:49:17 -07:00
SkPDFCanvas.h remove 'deprecated' region from SkDraw 2016-04-27 07:49:17 -07:00
SkPDFDevice.cpp SkPDF: Glyph Useage Map improvements 2016-06-30 11:55:07 -07:00
SkPDFDevice.h SkPDF: Glyph Useage Map improvements 2016-06-30 11:55:07 -07:00
SkPDFDocument.cpp SkPDF: Glyph Useage Map improvements 2016-06-30 11:55:07 -07:00
SkPDFDocument.h SkPDF: Glyph Useage Map improvements 2016-06-30 11:55:07 -07:00
SkPDFFont.cpp SkPDF: Glyph Useage Map improvements 2016-06-30 11:55:07 -07:00
SkPDFFont.h SkPDF: Glyph Useage Map improvements 2016-06-30 11:55:07 -07:00
SkPDFFontImpl.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SkPDFFormXObject.cpp SkPDF: SkPDFStream takes only SkStreamAsset 2016-06-29 06:31:32 -07:00
SkPDFFormXObject.h SkPDF: SkPDFStream takes only SkStreamAsset 2016-06-29 06:31:32 -07:00
SkPDFGraphicState.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFGraphicState.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFMetadata.cpp SkPDF: allow overriding Producer metadata 2016-06-30 08:22:04 -07:00
SkPDFMetadata.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFResourceDict.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFResourceDict.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFShader.cpp SkPDF: SkPDFStream takes only SkStreamAsset 2016-06-29 06:31:32 -07:00
SkPDFShader.h Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
SkPDFStream.cpp SkPDF: always assume SkStreamAsset behaves as specified 2016-06-29 07:23:47 -07:00
SkPDFStream.h SkPDF: SkPDFStream takes only SkStreamAsset 2016-06-29 06:31:32 -07:00
SkPDFTypes.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFTypes.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFUtils.cpp Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00
SkPDFUtils.h Remove unnecessary includes in src/pdf/ 2016-06-29 05:12:32 -07:00