diff options
Diffstat (limited to 'src/gpu/GrPipelineBuilder.cpp')
-rw-r--r-- | src/gpu/GrPipelineBuilder.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gpu/GrPipelineBuilder.cpp b/src/gpu/GrPipelineBuilder.cpp index 6885eb0dd8..9117a1fea3 100644 --- a/src/gpu/GrPipelineBuilder.cpp +++ b/src/gpu/GrPipelineBuilder.cpp @@ -82,23 +82,6 @@ void GrPipelineBuilder::setFromPaint(const GrPaint& paint, GrRenderTarget* rt) { fCoverageCache = GrColor_ILLEGAL; } -//////////////////////////////////////////////////////////////////////////////// - -bool GrPipelineBuilder::canUseFracCoveragePrimProc(GrColor color, - const GrDrawTargetCaps& caps) const { - if (caps.dualSourceBlendingSupport()) { - return true; - } - - this->calcColorInvariantOutput(color); - - // The coverage isn't actually white, its unknown, but this will produce the same effect - // TODO we want to cache the result of this call, but we can probably clean up the interface - // so we don't have to pass in a seemingly known coverage - this->calcCoverageInvariantOutput(GrColor_WHITE); - return this->getXPFactory()->canApplyCoverage(fColorProcInfo, fCoverageProcInfo); -} - //////////////////////////////////////////////////////////////////////////////s bool GrPipelineBuilder::willXPNeedDstCopy(const GrDrawTargetCaps& caps, |