diff options
author | Brian Salomon <bsalomon@google.com> | 2017-02-10 14:29:38 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-10 20:02:32 +0000 |
commit | eec6f7be5461e588210f383b8af18f324a2bdb46 (patch) | |
tree | 1d72e2d8636f65b32e0edaa4a47fe3fa6d6c3b05 /src/gpu/GrPaint.cpp | |
parent | 2aeae78a2ce3b036f0401fd0381d6fd6e2a7a1fc (diff) |
Use new fragment processor optimization queries.
This doesn't yet delete the old virtuals.
It still uses the color and component flags model for the pipeline input and blended output but I'm planning to change those as well.
Change-Id: I64e2ec0fe9ed9fae3aabf1ca8c9bc0582fc7565a
Reviewed-on: https://skia-review.googlesource.com/7760
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrPaint.cpp')
-rw-r--r-- | src/gpu/GrPaint.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gpu/GrPaint.cpp b/src/gpu/GrPaint.cpp index c68b4b1089..19bfef3360 100644 --- a/src/gpu/GrPaint.cpp +++ b/src/gpu/GrPaint.cpp @@ -85,10 +85,7 @@ bool GrPaint::internalIsConstantBlendedColor(GrColor paintColor, GrColor* color) if (fXPFactory) { fXPFactory->getInvariantBlendedColor(colorProcInfo, &blendedColor); } else { - GrPorterDuffXPFactory::SrcOverInvariantBlendedColor(colorProcInfo.color(), - colorProcInfo.validFlags(), - colorProcInfo.isOpaque(), - &blendedColor); + GrPorterDuffXPFactory::SrcOverInvariantBlendedColor(colorProcInfo, &blendedColor); } if (kRGBA_GrColorComponentFlags == blendedColor.fKnownColorFlags) { |