History log of /external/skia/tests/PDFJpegEmbedTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7d57124a2a9ed7b271568fb75b3cfd949fdb313a 25-Feb-2016 halcanary <halcanary@google.com> Unit Tests: eliminate stray SkDebugf()s.

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1733113002

Review URL: https://codereview.chromium.org/1733113002
/external/skia/tests/PDFJpegEmbedTest.cpp
7a14b310d6c618fa2151d93a43b29f9599adc32a 01-Oct-2015 halcanary <halcanary@google.com> SkPDF: Implement drawImage*() properly

drawImage calls now properly embeds the original jpeg.

NOTE: drawBitmap*() calls no longer embed JPEG files when
possible (this is in advance of eliminating bitmaps backed
by encoded data). Chromium has already moved from
drawBitmap to drawImage.

Comparisons:

control:
total PDF drawImage/drawBitmap calls: 8010
total PDF jpeg images: 0
total PDF regular images: 3581

experiament:
total PDF drawImage/drawBitmap calls: 8014
total PDF jpeg images: 271
total PDF regular images: 3311
total PDF regular images: 3582 (271 + 3311)

When comparing rendered output there were perceptual
differences in the following four GMs: colorcube, emboss,
colormatrix, and tablecolorfilter. All of these differences
were improvements (that is, closer to the 8888 rendering)
due fixing a bug with colorfilters and forgetting to call
notifyPixelsChanged.

No SKPs had perceptual differences.

Total PDF size dropped from 133964 kB to 126276 kB, a 5.7%
improvement (mostly due to restoring use of JPG images in
SKPs).

BUG=skia:4370

Review URL: https://codereview.chromium.org/1372783003
/external/skia/tests/PDFJpegEmbedTest.cpp
d114645d931d4e95a938597a45a270f211273c17 25-Sep-2015 reed <reed@google.com> SkInstallDiscardablePixelRef is deprecated, enforce that

No functionality change, just a renaming.

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/1372593002
/external/skia/tests/PDFJpegEmbedTest.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/tests/PDFJpegEmbedTest.cpp
2ccdb636e8618db77be8e05cdacd82c249c6898c 11-Aug-2015 halcanary <halcanary@google.com> SkPDF: clean up overuse of SK_SUPPORT_PDF

When possible use run-time checks (via SkDocument::CreatePDF)
When PDF is disabled, do not compile tests/PDF*.cpp

Review URL: https://codereview.chromium.org/1278403006
/external/skia/tests/PDFJpegEmbedTest.cpp
8ee06f21a27bbffaf613a312c6f24bbbb21c650a 11-Aug-2015 halcanary <halcanary@google.com> SkPDF: allow PDF module to be disabled in DM and SampleApp

To disable PDF:

GYP_DEFINES='skia_pdf=0' bin/sync-and-gyp
ninja -C out/Debug dm SampleApp

When disabled, SkDocument::CreatePDF() always returns NULL.

Review URL: https://codereview.chromium.org/1279123007
/external/skia/tests/PDFJpegEmbedTest.cpp
96287f7af7ff6aaa48b8d28ec6b7b79836da2d7c 07-May-2015 halcanary <halcanary@google.com> SkPDF: detect YUV-JPEG without relying on ImageGenerator

JPEG/JFIF References:
* http://www.w3.org/Graphics/JPEG/itu-t81.pdf
* http://www.w3.org/Graphics/JPEG/jfif3.pdf

BUG=476721
BUG=446940

Review URL: https://codereview.chromium.org/1133443003
/external/skia/tests/PDFJpegEmbedTest.cpp
a8448bc3dfe0f2e768838b4416fb3ebf823b694e 17-Apr-2015 halcanary <halcanary@google.com> PDF: Correctly embed JPEG images directly into PDF output.

We only embed images with YUV planes. That should only grab the
subset of color JPEGs supported by PDF.

BUG=skia:3180

Review URL: https://codereview.chromium.org/1025773002
/external/skia/tests/PDFJpegEmbedTest.cpp
5965c8ae4ee960275da4bc40189bdba85aab8b5e 08-Jan-2015 reed <reed@google.com> add ImageGenerator::NewFromData to porting layer

BUG=skia:3275

Review URL: https://codereview.chromium.org/834633006
/external/skia/tests/PDFJpegEmbedTest.cpp
d476a176b774c387b242fa8fb2a9296d722c34aa 02-Dec-2014 halcanary <halcanary@google.com> Remove PDF JPEG shortcut, since it fails on grayscale JPEGs.

BUG=436079

Review URL: https://codereview.chromium.org/767343002
/external/skia/tests/PDFJpegEmbedTest.cpp
daefa5b340d7aa36fe31865a3646f6fce321bb38 27-Aug-2014 halcanary <halcanary@google.com> JPEG(JFIF only) directly embedded into PDF

R=reed@google.com, djsollen@google.com, mtklein@google.com

Author: halcanary@google.com

Review URL: https://codereview.chromium.org/515493003
/external/skia/tests/PDFJpegEmbedTest.cpp