skia2/include/effects
Brian Osman 3e31e99bab Revert "Alloc glyph image correctly for SkMask::k3D_Format."
This reverts commit 1662257bda.

Reason for revert: Android still using this API

Original change's description:
> 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>

TBR=djsollen@google.com,bungeman@google.com,herb@google.com

Change-Id: Id6625bae8d3bd70ce7aa3045348c04fdd146c637
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/71183
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2017-11-14 16:16:45 +00:00
..
Sk1DPathEffect.h
Sk2DPathEffect.h
SkAlphaThresholdFilter.h
SkArithmeticImageFilter.h remove unused variants in imagefilter factories 2017-06-19 01:57:51 +00:00
SkBlurDrawLooper.h Add SK_API to APIs used by the android framework. 2017-09-21 18:14:36 +00:00
SkBlurImageFilter.h Serialize the new TileMode in SkBlurImageFilterImpl. 2017-07-11 18:13:31 +00:00
SkBlurMaskFilter.h Revert "Alloc glyph image correctly for SkMask::k3D_Format." 2017-11-14 16:16:45 +00:00
SkColorFilterImageFilter.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkColorMatrix.h
SkColorMatrixFilter.h
SkComposeImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkCornerPathEffect.h
SkDashPathEffect.h move all details for dashing into impl 2017-05-24 03:22:23 +00:00
SkDiscretePathEffect.h
SkDisplacementMapEffect.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkDropShadowImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkGradientShader.h Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
SkHighContrastFilter.h
SkImageSource.h Reland "Fix SkImageSource::filterBounds()" again 2017-09-25 19:05:20 +00:00
SkLayerDrawLooper.h
SkLayerRasterizer.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
SkLightingImageFilter.h Implement clone for GrLightingEffect descendants 2017-07-28 14:39:57 +00:00
SkLumaColorFilter.h Pass GrRenderTargetContext's GrColorSpaceInfo to SkShader and SkColorFilter. 2017-10-25 19:32:20 +00:00
SkMagnifierImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkMatrixConvolutionImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkMergeImageFilter.h Revert "Revert "remove unused api"" 2017-06-20 17:26:09 +00:00
SkMorphologyImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkOffsetImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkOverdrawColorFilter.h Pass GrRenderTargetContext's GrColorSpaceInfo to SkShader and SkColorFilter. 2017-10-25 19:32:20 +00:00
SkPaintFlagsDrawFilter.h
SkPaintImageFilter.h
SkPerlinNoiseShader.h move perlinenoise2 into effects 2017-05-30 20:15:37 +00:00
SkPictureImageFilter.h remove legacy code for resolution 2017-11-10 19:59:47 +00:00
SkRRectsGaussianEdgeMaskFilter.h Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
SkTableColorFilter.h
SkTableMaskFilter.h Revert "remove unused TableMaskFilter" 2017-06-19 02:50:18 +00:00
SkTileImageFilter.h SkImageFilter::onMakeColorSpace() - more overrides 2017-04-10 21:28:43 +00:00
SkToSRGBColorFilter.h Pass GrRenderTargetContext's GrColorSpaceInfo to SkShader and SkColorFilter. 2017-10-25 19:32:20 +00:00
SkXfermodeImageFilter.h Revert "Revert "remove unused api on xfermodeimagefilter"" 2017-06-20 17:26:39 +00:00