skia2/include/core
Mike Klein 6dfcecad33 Make SkColorFilter::appendStages() not fail.
This makes SkColorFilter::appendStages() first try onAppendStages(),
and if it's unimplemented or fails, fall back to filterSpan4f().

This also makes onAppendStages() private to try to ensure that
appendStages() is now its only caller, ensuring everyone goes
through this fallback path.

The fallback uses the color filter transformed into the dst colorspace
using our new SkColorSpaceXformer... that seem ok Matt?

Change-Id: I4751a6859596fa4f7e844e69ef0d986f005b52c7
Reviewed-on: https://skia-review.googlesource.com/16031
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-05-09 17:46:29 +00:00
..
SkAnnotation.h
SkBBHFactory.h Remove stray semicolons. 2016-09-27 14:04:26 +00:00
SkBitmap.h Reland "Add SkImage::makeColorSpace() with correct transfer fn behavior" 2017-05-04 13:22:39 +00:00
SkBlendMode.h move SkBlendMode_Name into public (for chrome) 2016-11-16 19:17:21 +00:00
SkBlurTypes.h
SkCanvas.h Forward getGrContext in color space xform canvas 2017-05-09 03:52:04 +00:00
SkClipOp.h remove legacy clipop names 2017-03-15 23:44:46 +00:00
SkColor.h Make SkColorSetA() a constexpr function. 2017-04-07 20:21:11 +00:00
SkColorFilter.h Make SkColorFilter::appendStages() not fail. 2017-05-09 17:46:29 +00:00
SkColorPriv.h Remove SK_SUPPORT_LEGACY_BROKEN_LERP support 2017-03-13 15:08:29 +00:00
SkColorSpace.h Delete SkColorSpace::ColorSpaceFlags 2017-03-24 17:11:26 +00:00
SkColorSpaceXform.h Add codec and color xform support for 565 2017-03-28 19:39:42 +00:00
SkColorSpaceXformCanvas.h Make xformer class for SkCSXCanvas, use for draw loopers 2017-03-30 18:02:58 +00:00
SkColorTable.h Revert[4] "clean up (partially) colortable api"""" 2017-04-03 19:29:38 +00:00
SkCrossContextImageData.h Revert "Revert "Plumb GrBackendTexture throughout skia."" 2017-04-20 17:17:43 +00:00
SkData.h Class delete call unsized delete when size not known. 2016-10-19 21:41:00 +00:00
SkDataTable.h Remove SkDataTableBuilder. It is not used. 2017-02-28 21:11:45 +00:00
SkDeque.h
SkDocument.h SkXPS: new document API. 2017-02-06 19:00:28 +00:00
SkDrawable.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
SkDrawFilter.h
SkDrawLooper.h Make xformer class for SkCSXCanvas, use for draw loopers 2017-03-30 18:02:58 +00:00
SkEncodedImageFormat.h SkImageEncoder: simplify API 2016-11-23 16:40:32 +00:00
SkExecutor.h SkExecutor 2017-02-22 16:17:39 +00:00
SkFilterQuality.h
SkFlattenable.h
SkFlattenableSerialization.h hide setImageFilter(ptr) 2016-11-01 16:05:41 +00:00
SkFont.h
SkFontArguments.h Add SkTypeface::getVariationDesignPosition. 2017-02-24 16:59:05 +00:00
SkFontLCDConfig.h
SkFontStyle.h
SkGraphics.h remove guard for SkImageGenerator api 2017-02-22 04:31:18 +00:00
SkICC.h Improve comment in SkICC.h 2017-02-24 20:35:57 +00:00
SkImage.h Revert "Added SkImage::MakeCrossContextFromEncoded" 2017-05-08 20:46:26 +00:00
SkImageDeserializer.h
SkImageEncoder.h hide lockpixels api behind flag 2017-04-17 15:33:36 +00:00
SkImageFilter.h Finish overriding onMakeColorSpace() for SkImageFilters 2017-04-17 17:17:32 +00:00
SkImageGenerator.h remove (possibly slow) call to refEncoded in getDeferredTextureImageData 2017-05-09 03:52:03 +00:00
SkImageInfo.h Revert "explictly fail to draw unpremul, as this is buggy, incomplete, tricky, and unused" 2017-01-20 14:21:42 +00:00
SkLights.h makeColorSpace() for SkColorFilterShader and SkLightingShader 2017-04-21 19:55:23 +00:00
SkMallocPixelRef.h Only store width and height on SkPixelRef (part 2) 2017-05-01 15:01:05 +00:00
SkMask.h
SkMaskFilter.h Consolidate Proxy caching code in GrResourceProvider 2017-03-14 14:09:12 +00:00
SkMath.h
SkMatrix44.h Add some thread safety notes. 2017-03-02 13:44:49 +00:00
SkMatrix.h optimize intersect, use getType to utilize fast-case in preTranslate 2017-03-07 20:51:34 +00:00
SkMetaData.h
SkMilestone.h Update Skia milestone to 60 2017-04-13 21:22:43 +00:00
SkMultiPictureDraw.h Revert[2] "Change SkCanvas to *not* inherit from SkRefCnt" 2016-11-13 18:31:13 +00:00
SkPaint.h remove SK_SUPPORT_LEGACY_PAINT_TEXTDECORATION 2017-04-05 12:24:36 +00:00
SkPath.h Add some thread safety notes. 2017-03-02 13:44:49 +00:00
SkPathEffect.h move intermediate patheffect classes inside src 2017-03-09 14:46:11 +00:00
SkPathMeasure.h
SkPathRef.h Remove SkAutoTUnref and SkAutoTDelete from public includes. 2016-10-27 09:30:08 -07:00
SkPicture.h Initial clip-mask-layer support 2017-05-01 14:07:10 +00:00
SkPictureAnalyzer.h Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
SkPictureRecorder.h remove kReturnNullForEmpty_FinishFlag feature 2017-04-11 01:24:06 +00:00
SkPixelRef.h Finish removal of SkImageInfo from SkPixelRef 2017-05-04 12:54:10 +00:00
SkPixelSerializer.h
SkPixmap.h remove vestigle code for lockpixels 2017-04-20 15:15:58 +00:00
SkPngChunkReader.h
SkPoint3.h
SkPoint.h
SkPostConfig.h drawfilter is legacy-guarded, no need for deprecated 2017-05-03 15:46:55 +00:00
SkPreConfig.h use __BYTE_ORDER__ macro to detect endianness when available 2016-11-28 21:07:47 +00:00
SkRasterHandleAllocator.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
SkRasterizer.h
SkRect.h Add tracking of unique proxyID beside unique renderTargetID in auditTrail and clearOp 2017-03-31 16:11:30 +00:00
SkRefCnt.h Only perform SkSafeRef race detection if on android framework 2017-03-23 14:32:47 +00:00
SkRegion.h SkRegion deserialization more robust 2017-02-18 13:34:30 +00:00
SkRRect.h Circular shadow fixes for Flutter. 2017-04-21 15:23:53 +00:00
SkRSXform.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00
SkRWBuffer.h Add a SkRWBuffer reserve mechanism 2016-09-30 13:34:19 -07:00
SkScalar.h remove obsolete SK_SUPPORT_LEGACY_SCALARMUL code 2017-04-08 00:34:04 +00:00
SkShader.h Minimize computeTotalInverse()'s inputs 2017-05-08 18:04:57 +00:00
SkSize.h SkSize can be aggregate-initialized 2017-04-11 18:57:20 +00:00
SkStream.h Remove unnecessary SkFILEStream::getMemoryBase 2017-05-01 15:17:15 +00:00
SkString.h
SkStrokeRec.h
SkSurface.h Add backend safe classes for passing in external texture and render targets into gpu 2017-04-18 20:33:58 +00:00
SkSurfaceProps.h
SkSwizzle.h
SkTextBlob.h Purge GrTextBlobCache entries on SkTextBlob deletion 2017-03-14 14:00:13 +00:00
SkTime.h
SkTLazy.h
SkTraceMemoryDump.h
SkTypeface.h SkTypeface: remove old virtual onGetAdvancedMetrics, since https://crrev.com/2860293003 2017-05-05 19:08:13 +00:00
SkTypes.h Make SkNoncopyable movable 2017-04-26 01:24:24 +00:00
SkUnPreMultiply.h
SkVertices.h remove legacy vertices flag and code 2017-04-06 12:58:46 +00:00
SkWriteBuffer.h Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
SkWriter32.h
SkYUVSizeInfo.h Make header files self-sufficient 2017-02-10 01:19:52 +00:00