skia2/include/core
Brian Osman 04ae8eef82 Add color space to SkColorFilter::filterColor4f
We can assume sRGB in filterColor, but with filterColor4f, we're often
passing a color that's in a different space. We need to plumb that
through, so that mode color filter (eg) converts and works in the right
space. This color space argument is both the space of the SkColor4f
being passed, and the space that the filter operates in.

Fixes several more GMs so they render the same in glp3 and p3-gl.

Bug: skia:
Change-Id: Ia80e0f48459c3ecc9b9f86681006fe44c3009f51
Reviewed-on: https://skia-review.googlesource.com/144787
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2018-08-01 20:45:50 +00:00
..
SkAnnotation.h
SkBBHFactory.h
SkBitmap.h Remove SkTransferFunctionBehavior 2018-07-17 14:18:20 +00:00
SkBlendMode.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkBlurTypes.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkCanvas.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkCanvasVirtualEnforcer.h skeletal animation support added to API and software backend 2018-06-29 19:34:28 +00:00
SkClipOp.h
SkColor.h refresh generated includes 2018-06-14 18:02:37 +00:00
SkColorFilter.h Add color space to SkColorFilter::filterColor4f 2018-08-01 20:45:50 +00:00
SkColorPriv.h Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
SkColorSpace.h Remove SkTransferFunctionBehavior 2018-07-17 14:18:20 +00:00
SkColorSpaceXform.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkColorSpaceXformCanvas.h
SkCoverageMode.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkData.h More workarounds on Windows Debug DLL crash. 2018-07-09 17:20:17 +00:00
SkDataTable.h
SkDeferredDisplayListRecorder.h Add DoneProc to Promise Images 2018-03-16 19:27:46 +00:00
SkDeque.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkDocument.h SkDocument: remove unused fDoneProc 2018-01-08 20:53:41 +00:00
SkDrawable.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkDrawLooper.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkEncodedImageFormat.h GOOGLE3 -> SK_BUILD_FOR_GOOGLE3 2017-12-19 14:42:16 +00:00
SkExecutor.h
SkFilterQuality.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFlattenable.h Restore SkLightingShader and associated classes 2018-07-17 17:24:50 +00:00
SkFont.h Remove SkPaint::Flags::kDevKernFlag. 2018-05-09 21:27:11 +00:00
SkFontArguments.h Add SkTypeface::getVariationDesignParameters 2018-07-12 17:30:20 +00:00
SkFontLCDConfig.h remove defines and add commas 2018-05-21 17:33:39 +00:00
SkFontMgr.h SkFontMgr.h is a core header. 2018-06-20 14:46:28 +00:00
SkFontParameters.h Add SkTypeface::getVariationDesignParameters 2018-07-12 17:30:20 +00:00
SkFontStyle.h
SkGraphics.h Remove TLS glyph cache calls. 2018-03-09 19:32:22 +00:00
SkICC.h Reland "strip down SkICC.cpp" 2018-05-22 14:17:15 +00:00
SkImage.h Remove SkTransferFunctionBehavior 2018-07-17 14:18:20 +00:00
SkImageEncoder.h centralize encoding to SkData 2017-12-09 01:36:48 +00:00
SkImageFilter.h Add color type to the image filter DAG's OutputProperties 2018-07-06 18:34:58 +00:00
SkImageGenerator.h Remove old lazy image decoding heuristic logic 2018-07-11 14:07:08 +00:00
SkImageInfo.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkLights.h Restore SkLightingShader and associated classes 2018-07-17 17:24:50 +00:00
SkMallocPixelRef.h Clean up includes in SkMallocPixelRef 2018-06-26 16:47:39 +00:00
SkMaskFilter.h rebase 2018-06-08 20:36:53 +00:00
SkMath.h Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
SkMatrix44.h Remove string.h from SkTypes.h 2018-06-15 20:32:05 +00:00
SkMatrix.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkMetaData.h
SkMilestone.h Update Skia milestone to 70 2018-07-19 13:44:30 +00:00
SkMultiPictureDraw.h
SkOverdrawCanvas.h skeletal animation support added to API and software backend 2018-06-29 19:34:28 +00:00
SkPaint.h Centralize bitmap glyph positioning 2018-07-26 18:16:46 +00:00
SkPath.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkPathEffect.h rebase 2018-06-08 20:36:53 +00:00
SkPathMeasure.h abort really big path fuzzing 2018-06-21 16:42:37 +00:00
SkPicture.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkPictureRecorder.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkPixelRef.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkPixmap.h Remove SkTransferFunctionBehavior 2018-07-17 14:18:20 +00:00
SkPngChunkReader.h
SkPoint3.h Add some additional checks for shadow generation 2018-02-26 20:02:38 +00:00
SkPoint.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkPostConfig.h trim #include <new> from SkPostConfig.h 2018-06-11 15:55:31 +00:00
SkPreConfig.h remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
SkRasterHandleAllocator.h
SkRect.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkRefCnt.h Remove SkRefCnt_SafeAssign. 2018-07-12 23:42:44 +00:00
SkRegion.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkRRect.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkRSXform.h
SkRWBuffer.h
SkScalar.h Revert "Revert "implement SkScalar versions in terms of float versions"" 2018-05-14 18:20:29 +00:00
SkSerialProcs.h Change behavior of custom image serial/deserial 2018-03-08 21:50:51 +00:00
SkShader.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkSize.h
SkStream.h Mark all deleted methods private 2018-06-21 16:37:32 +00:00
SkString.h Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
SkStrokeRec.h SkTypes: more into SkMacros 2018-06-12 20:24:43 +00:00
SkSurface.h refresh generated includes 2018-07-13 14:23:24 +00:00
SkSurfaceCharacterization.h Add GrContextThreadSafeProxy and remove most friends of GrContextThreadSafeProxy 2018-05-10 19:14:16 +00:00
SkSurfaceProps.h Flesh out SkSurfaceCharacterization 2017-11-30 17:10:38 +00:00
SkSwizzle.h
SkTextBlob.h Rename MakeAsTextDraw to MakeFromText 2018-07-27 21:03:26 +00:00
SkTime.h SkMacros split from SkTypes.h 2018-06-12 18:39:33 +00:00
SkTLazy.h remove SkTCast 2018-06-18 17:22:18 +00:00
SkTraceMemoryDump.h Dump additional details about the gpu resources. 2018-03-29 18:08:15 +00:00
SkTypeface.h Move SkNoncopyable to include/private. 2018-07-17 21:39:51 +00:00
SkTypes.h Remove SkFastMin32 2018-07-30 18:14:38 +00:00
SkUnPreMultiply.h
SkVertices.h added caching of SkVertices 2018-07-09 20:31:28 +00:00
SkYUVSizeInfo.h alternative no anonymous enums 2018-04-26 17:11:53 +00:00