Index: src/gpu/GrPipeline.cpp |
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp |
index aef528d096bbe258dbbb372405f4ebbf9f4a8c59..3ff6807b3b7f867ef9ae684201361f60f5cc42a3 100644 |
--- a/src/gpu/GrPipeline.cpp |
+++ b/src/gpu/GrPipeline.cpp |
@@ -24,16 +24,14 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, |
const GrXPFactory* xpFactory = builder.getXPFactory(); |
SkAutoTUnref<GrXferProcessor> xferProcessor; |
if (xpFactory) { |
- xferProcessor.reset(xpFactory->createXferProcessor(args.fOpts.fColorPOI, |
- args.fOpts.fCoveragePOI, |
+ xferProcessor.reset(xpFactory->createXferProcessor(args.fOpts, |
builder.hasMixedSamples(), |
&args.fDstTexture, |
*args.fCaps)); |
} else { |
xferProcessor.reset(GrPorterDuffXPFactory::CreateSrcOverXferProcessor( |
*args.fCaps, |
- args.fOpts.fColorPOI, |
- args.fOpts.fCoveragePOI, |
+ args.fOpts, |
builder.hasMixedSamples(), |
&args.fDstTexture)); |
} |
@@ -49,8 +47,7 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, |
GrXferProcessor::OptFlags optFlags = GrXferProcessor::kNone_OptFlags; |
- optFlags = xferProcessor->getOptimizations(args.fOpts.fColorPOI, |
- args.fOpts.fCoveragePOI, |
+ optFlags = xferProcessor->getOptimizations(args.fOpts, |
builder.getStencil().doesWrite(), |
&overrideColor, |
*args.fCaps); |