diff options
author | 2015-08-13 07:08:31 -0700 | |
---|---|---|
committer | 2015-08-13 07:08:31 -0700 | |
commit | 2d563030a83ce544bee999b5abe658cbf002587e (patch) | |
tree | 41fe81857c028fd69ad026ceec2fa1cbdbd1ead1 /src/gpu/GrPipelineBuilder.cpp | |
parent | 7ef45a1aeb2c764d41838323f5bcff149c5de756 (diff) |
Move willColorBlendWithDst from pipeline builder to GrPipelineOptimizations.
Review URL: https://codereview.chromium.org/1285193004
Diffstat (limited to 'src/gpu/GrPipelineBuilder.cpp')
-rw-r--r-- | src/gpu/GrPipelineBuilder.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp index f303f536c1..1c4421836d 100644 --- a/src/gpu/GrPipelineBuilder.cpp +++ b/src/gpu/GrPipelineBuilder.cpp @@ -133,14 +133,6 @@ GrPipelineBuilder::~GrPipelineBuilder() { //////////////////////////////////////////////////////////////////////////////// -bool GrPipelineBuilder::willColorBlendWithDst(const GrPrimitiveProcessor* pp) const { - this->calcColorInvariantOutput(pp); - - GrXPFactory::InvariantBlendedColor blendedColor; - fXPFactory->getInvariantBlendedColor(fColorProcInfo, &blendedColor); - return blendedColor.fWillBlendWithDst; -} - void GrPipelineBuilder::calcColorInvariantOutput(const GrPrimitiveProcessor* pp) const { fColorProcInfo.calcColorWithPrimProc(pp, fColorStages.begin(), this->numColorFragmentStages()); fColorProcInfoValid = false; |