skia2/include/gpu/effects
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
..
GrConstColorProcessor.h GrConstColorProcessor uses 4f colors in the destination space 2016-10-26 00:48:33 +00:00
GrCoverageSetOpXP.h sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
GrCustomXfermode.h sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00
GrPorterDuffXferProcessor.h Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
GrXfermodeFragmentProcessor.h sk_sp for Ganesh. 2016-06-09 08:01:03 -07:00