skia2/experimental
Brian Osman 618d304eb3 GrConstColorProcessor uses 4f colors in the destination space
Many places that construct one are explicitly specifying opaque white or
transparent black, which we can assume (based on the semantics of the
operation) should remain (0,0,0,0) or (1,1,1,1), so that's simple.

In other cases, we convert our source color to destination space.

One wrinkle is tht SkColorFilter now needs to know the destination color
space, due to SkModeColorFilter.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3903

Change-Id: I4969c0260588f4021300733f601b47dc606adf79
Reviewed-on: https://skia-review.googlesource.com/3903
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2016-10-26 00:48:33 +00:00
..
c-api-example CMAKE + install command 2015-09-03 14:23:18 -07:00
ChromeUtils Sanitizing source files in Housekeeper-Nightly 2013-12-11 07:02:06 +00:00
docs runs some sample animations side by side in canvas and svg 2015-11-16 13:36:08 -08:00
DrawingBoard remove SkFloatToScalar macro 2013-11-25 19:44:07 +00:00
expectations/skp add headers to experimental SKP expectations 2014-08-20 11:51:39 -07:00
FileReaderApp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
GLFWTest Cleanup use of legacy SkSurface creation methods a bit 2016-08-23 06:39:35 -07:00
go-skia patch from issue 697743002 2014-11-03 10:45:50 -08:00
iOSSampleApp Fix iOS surface creation for SampleApp 2016-10-10 07:39:38 -07:00
iOSShell Remove custom bundle ID for iOS 2016-05-20 11:20:38 -07:00
Networking Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SimpleCocoaApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SimpleiOSApp Make SkGraphics::Term a no-op, stop calling it. 2015-09-09 07:35:42 -07:00
SkPerlinNoiseShader2 GrConstColorProcessor uses 4f colors in the destination space 2016-10-26 00:48:33 +00:00
SkV8Example Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
svg/model [SVGDom] Opacity optimization 2016-09-20 15:45:57 -07:00
tools android_skp_capture.sh 2016-09-07 12:56:45 -07:00
xps_to_png experimental/xps_to_png: fix DPI, usage message 2016-10-17 15:58:05 +00:00
SkSetPoly3To3_A.cpp remove SK_SCALAR_IS_[FLOAT,FIXED] and assume floats 2013-12-17 16:44:46 +00:00
SkSetPoly3To3_D.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
SkSetPoly3To3.cpp Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00