skia2/site/dev
halcanary 1b5c604d9d PDF: Add (low-memory) SkPDFBitmap class
Also: Add SkDeflateWStream and associated unit tests.

SkPDFBitmap is a replacement for SkPDFImage.  As of now, it only
supports 8888 bitmaps (the most common case).

SkPDFBitmap takes very little extra memory (aside from refing the
bitmap's pixels), and its emitObject() does not cache any data.

The SkPDFBitmap::Create function will check the canon for duplicates.
This can reduce the size of the output PDF.

Motivation:  this gives another ~40% decrease in PDF memory overhead

TODO: Support other ColorTypes and scrap SkPDFImage.

BUG=skia:3030

Review URL: https://codereview.chromium.org/918813002
2015-02-18 11:29:57 -08:00
..
contrib PDF: Add (low-memory) SkPDFBitmap class 2015-02-18 11:29:57 -08:00
design prettify site/dev/design/pdftheory 2015-01-26 07:45:47 -08:00
tools Fix the URL for previewing Markdown changes. 2015-02-04 06:05:58 -08:00
index.md Document some skia perf interesting queries. 2015-01-09 10:35:52 -08:00