aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPipelineBuilder.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-08-13 07:08:31 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-13 07:08:31 -0700
commit2d563030a83ce544bee999b5abe658cbf002587e (patch)
tree41fe81857c028fd69ad026ceec2fa1cbdbd1ead1 /src/gpu/GrPipelineBuilder.cpp
parent7ef45a1aeb2c764d41838323f5bcff149c5de756 (diff)
Move willColorBlendWithDst from pipeline builder to GrPipelineOptimizations.
Diffstat (limited to 'src/gpu/GrPipelineBuilder.cpp')
-rw-r--r--src/gpu/GrPipelineBuilder.cpp8
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;