| Index: src/gpu/GrPipelineBuilder.cpp
|
| diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp
|
| index f34476e102e5657f71de3fd90455621ef4efe347..a20112cd0a9c977a91c1e6abb2b56f2cc7f00200 100644
|
| --- a/src/gpu/GrPipelineBuilder.cpp
|
| +++ b/src/gpu/GrPipelineBuilder.cpp
|
| @@ -123,13 +123,13 @@ GrPipelineBuilder::~GrPipelineBuilder() {
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| -bool GrPipelineBuilder::willBlendWithDst(const GrPrimitiveProcessor* pp) const {
|
| +bool GrPipelineBuilder::willColorBlendWithDst(const GrPrimitiveProcessor* pp) const {
|
| this->calcColorInvariantOutput(pp);
|
| this->calcCoverageInvariantOutput(pp);
|
|
|
| - GrXPFactory::InvariantOutput output;
|
| - fXPFactory->getInvariantOutput(fColorProcInfo, fCoverageProcInfo, &output);
|
| - return output.fWillBlendWithDst;
|
| + GrXPFactory::InvariantBlendedColor blendedColor;
|
| + fXPFactory->getInvariantBlendedColor(fColorProcInfo, fCoverageProcInfo, &blendedColor);
|
| + return blendedColor.fWillBlendWithDst;
|
| }
|
|
|
| void GrPipelineBuilder::calcColorInvariantOutput(const GrPrimitiveProcessor* pp) const {
|
|
|