skia2/include
Ben Wagner 1662257bda Alloc glyph image correctly for SkMask::k3D_Format.
Remove the no longer used outside Skia SK_SUPPORT_LEGACY_EMBOSSMASKFILTER
define, and either delete the code it guards or update it to use the new
emboss mask filter factory.

Re-enable the code to test the emboss mask filter.

Add a test to ensure that embossed text is drawn correctly, as before
glyphs did not allocate the proper amount of memory for the k3D_Format
which the emboss mask filter produces.

Fixes SkEmbossMask::Emboss to write the whole of the mul and add planes
to avoid pixel differences and MemorySanitizer errors.

Update the GPU to understand the k3D_Format and use just the alpha
plane, ignoring the mul and add plane which it currently cannot support.

Change-Id: Icac1a3f37d6e8c6be3151df570f5e14111e18585
Reviewed-on: https://skia-review.googlesource.com/70260
Reviewed-by: Herb Derby <herb@google.com>
Reviewed-on: https://skia-review.googlesource.com/70962
Commit-Queue: Ben Wagner <bungeman@google.com>
2017-11-14 14:10:22 +00:00
..
android Add SK_API to APIs used by the android framework. 2017-09-21 18:14:36 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Move SkCodec::Origin into its own file 2017-10-18 19:08:16 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core Revert "Revert "Remove MakeForLocalSpace since picture image is sufficient"" 2017-11-09 21:50:27 +00:00
effects Alloc glyph image correctly for SkMask::k3D_Format. 2017-11-14 14:10:22 +00:00
encode Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
gpu Move pixel config getter to private in GrBackendSurface 2017-11-13 20:39:51 +00:00
pathops Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports removed dead code behind legacy fontmgr api flag 2017-10-11 15:18:57 +00:00
private sksl enum support 2017-11-13 14:36:40 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils Make SkImageGeneratorCG apply encoded origin 2017-11-03 15:29:34 +00:00
views Remove trailing whitespace. 2017-10-09 21:20:34 +00:00