skia2/src/pdf
Mike Klein 96bce8f919 Reland "hide color filters from blitters"
This is a reland of cba64462d2

... with a fix to SkColorFilterShader::onAppendStages() to
copy out the alpha.  The blitters sometimes outlive the shader.

Original change's description:
> hide color filters from blitters
>
> This is all guarded by the old define we never rebaselined.
>
> Had to make some upgrades to SkColorFilterShader to support
> replacing an SkPaint's shader and color filter with a single
> merged SkColorFilterShader.  Our pipeline's order of operations
> is
>
>    1) shader
>    2) scale by paint alpha
>    3) color filter
>
> but SkColorFilterShader had no way to get that paint alpha in
> the middle there, so I added one.
>
> Change-Id: Ibc1448c1b421747086030337c1a30b8f0af4aa5e
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/250296
> Commit-Queue: Mike Klein <mtklein@google.com>
> Reviewed-by: Mike Reed <reed@google.com>

Cq-Include-Trybots: skia.primary:Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN
Change-Id: Ia98dbeaba6220a60d195c0ef967772c9dce882a2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/250596
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2019-10-24 16:57:02 +00:00
..
SkBitmapKey.h
SkClusterator.cpp
SkClusterator.h
SkDeflate.cpp
SkDeflate.h
SkDocument_PDF_None.cpp
SkJpegInfo.cpp
SkJpegInfo.h
SkKeyedImage.cpp SkIRect::makeOffset(SkVector) 2019-10-03 19:32:42 +00:00
SkKeyedImage.h
SkPDFBitmap.cpp
SkPDFBitmap.h
SkPDFDevice.cpp Reland "hide color filters from blitters" 2019-10-24 16:57:02 +00:00
SkPDFDevice.h Reland "Combine snapBackImage and snapSpecial" 2019-08-28 21:03:12 +00:00
SkPDFDocument.cpp
SkPDFDocumentPriv.h
SkPDFFont.cpp SkPDF: rasterize bitmap glyphs at 64pt, not em-size 2019-09-30 16:56:48 +00:00
SkPDFFont.h Switch PDF over to using bulk calls 2019-07-03 19:52:44 +00:00
SkPDFFormXObject.cpp
SkPDFFormXObject.h
SkPDFGlyphUse.h
SkPDFGradientShader.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
SkPDFGradientShader.h
SkPDFGraphicStackState.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
SkPDFGraphicStackState.h
SkPDFGraphicState.cpp
SkPDFGraphicState.h
SkPDFMakeCIDGlyphWidthsArray.cpp [pdf] Disable default width calculation. 2019-09-04 00:42:19 +00:00
SkPDFMakeCIDGlyphWidthsArray.h [pdf] Only compute needed advances. 2019-09-03 18:08:02 +00:00
SkPDFMakeToUnicodeCmap.cpp
SkPDFMakeToUnicodeCmap.h
SkPDFMetadata.cpp SkPDF: simplify Producer metadata logic 2019-10-21 20:01:47 +00:00
SkPDFMetadata.h
SkPDFResourceDict.cpp SkPDF: fix typo s/ProcSets/ProcSet/ (again) 2019-07-02 18:30:31 +00:00
SkPDFResourceDict.h
SkPDFShader.cpp SkPDF: SkPDFMakeShader handles pathological inputs better. 2019-07-31 16:23:35 +00:00
SkPDFShader.h SkPDF: clean up image shader code 2019-06-05 15:55:10 +00:00
SkPDFSubsetFont.cpp Retain hints when subsetting for PDF. 2019-10-09 14:58:02 +00:00
SkPDFSubsetFont.h
SkPDFTag.cpp Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
SkPDFTag.h header self-sufficiency and idempotency 2019-06-26 19:12:43 +00:00
SkPDFType1Font.cpp Switch PDF over to using bulk calls 2019-07-03 19:52:44 +00:00
SkPDFType1Font.h
SkPDFTypes.cpp
SkPDFTypes.h
SkPDFUnion.h
SkPDFUtils.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
SkPDFUtils.h Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
SkUUID.h