Index: include/gpu/effects/GrPorterDuffXferProcessor.h |
diff --git a/include/gpu/effects/GrPorterDuffXferProcessor.h b/include/gpu/effects/GrPorterDuffXferProcessor.h |
index 3dc503305f07762e40fad0088435861036d0f94b..be014a6b04822387c191286f315001c69717f431 100644 |
--- a/include/gpu/effects/GrPorterDuffXferProcessor.h |
+++ b/include/gpu/effects/GrPorterDuffXferProcessor.h |
@@ -22,8 +22,7 @@ public: |
GrXPFactory::InvariantBlendedColor*) const override; |
static GrXferProcessor* CreateSrcOverXferProcessor(const GrCaps& caps, |
- const GrProcOptInfo& colorPOI, |
- const GrProcOptInfo& coveragePOI, |
+ const GrPipelineOptimizations& optimizations, |
bool hasMixedSamples, |
const GrXferProcessor::DstTexture*); |
@@ -44,22 +43,19 @@ public: |
} |
static bool SrcOverWillNeedDstTexture(const GrCaps& caps, |
- const GrProcOptInfo& colorPOI, |
- const GrProcOptInfo& coveragePOI, |
+ const GrPipelineOptimizations& optimizations, |
bool hasMixedSamples); |
private: |
GrPorterDuffXPFactory(SkXfermode::Mode); |
GrXferProcessor* onCreateXferProcessor(const GrCaps& caps, |
- const GrProcOptInfo& colorPOI, |
- const GrProcOptInfo& coveragePOI, |
+ const GrPipelineOptimizations& optimizations, |
bool hasMixedSamples, |
const DstTexture*) const override; |
bool willReadDstColor(const GrCaps& caps, |
- const GrProcOptInfo& colorPOI, |
- const GrProcOptInfo& coveragePOI, |
+ const GrPipelineOptimizations& optimizations, |
bool hasMixedSamples) const override; |
bool onIsEqual(const GrXPFactory& xpfBase) const override { |