aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColorSpace.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-02-15 15:54:35 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-15 22:59:27 +0000
commit25834ffc5a4f6c45830dded7d5d135df157870e6 (patch)
treefe2c19ed5a517263078439c1f15abfa8f96039a0 /include/core/SkColorSpace.h
parentf6a1a2179ad6bf37dd81a658b30d12bfbdfa5c3f (diff)
Use non-linear blending flag in raster pipeline blitter
BUG=skia: Change-Id: I00b52e6de3b46b7d26c1df2aa63c521b6c7ece2d Reviewed-on: https://skia-review.googlesource.com/8526 Commit-Queue: Matt Sarett <msarett@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'include/core/SkColorSpace.h')
-rw-r--r--include/core/SkColorSpace.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
index 86389f22f9..87ef0ceb0b 100644
--- a/include/core/SkColorSpace.h
+++ b/include/core/SkColorSpace.h
@@ -91,10 +91,11 @@ public:
* Transfer function can be specified as an enum or as the coefficients to an equation.
* Gamut can be specified as an enum or as the matrix transformation to XYZ D50.
*/
- static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, Gamut gamut);
+ static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, Gamut gamut, uint32_t flags = 0);
static sk_sp<SkColorSpace> MakeRGB(RenderTargetGamma gamma, const SkMatrix44& toXYZD50,
uint32_t flags = 0);
- static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs, Gamut gamut);
+ static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs, Gamut gamut,
+ uint32_t flags = 0);
static sk_sp<SkColorSpace> MakeRGB(const SkColorSpaceTransferFn& coeffs,
const SkMatrix44& toXYZD50, uint32_t flags = 0);