diff options
author | 2014-12-10 13:48:57 -0800 | |
---|---|---|
committer | 2014-12-10 13:48:57 -0800 | |
commit | c6bc58eded89b0c0a36b8e20e193c200f297a0da (patch) | |
tree | 3de559baf8eecee6f6576c9b6deee39fb8258775 /src/gpu/effects/GrOvalEffect.cpp | |
parent | 04b49c31789201fbef969f5598a286187920dd56 (diff) |
Remove GP from drawstate, revision of invariant output for GP
BUG=skia:
Review URL: https://codereview.chromium.org/791743003
Diffstat (limited to 'src/gpu/effects/GrOvalEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrOvalEffect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp index b750599aec..f1d1e68f29 100644 --- a/src/gpu/effects/GrOvalEffect.cpp +++ b/src/gpu/effects/GrOvalEffect.cpp @@ -56,7 +56,7 @@ GrFragmentProcessor* CircleEffect::Create(GrPrimitiveEdgeType edgeType, const Sk } void CircleEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { - inout->mulByUnknownAlpha(); + inout->mulByUnknownSingleComponent(); } CircleEffect::CircleEffect(GrPrimitiveEdgeType edgeType, const SkPoint& c, SkScalar r) @@ -233,7 +233,7 @@ GrFragmentProcessor* EllipseEffect::Create(GrPrimitiveEdgeType edgeType, } void EllipseEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { - inout->mulByUnknownAlpha(); + inout->mulByUnknownSingleComponent(); } EllipseEffect::EllipseEffect(GrPrimitiveEdgeType edgeType, const SkPoint& c, SkScalar rx, SkScalar ry) |