Index: src/gpu/GrProcOptInfo.h |
diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h |
index 87e7cd9c69774ed677cf5fcf0bc35538e0cc6edf..4048897ded129db31c1357d92a18d544c5f5cb97 100644 |
--- a/src/gpu/GrProcOptInfo.h |
+++ b/src/gpu/GrProcOptInfo.h |
@@ -10,6 +10,7 @@ |
#include "GrColor.h" |
#include "GrInvariantOutput.h" |
+#include "SkRefCnt.h" |
class GrDrawBatch; |
class GrFragmentProcessor; |
@@ -28,10 +29,10 @@ public: |
, fInputColorIsUsed(true) |
, fInputColor(0) {} |
- void calcWithInitialValues(const GrFragmentProcessor* const *, int cnt, GrColor startColor, |
+ void calcWithInitialValues(const sk_sp<GrFragmentProcessor>*, int cnt, GrColor startColor, |
GrColorComponentFlags, bool areCoverageStages, bool isLCD = false); |
void initUsingInvariantOutput(GrInitInvariantOutput invOutput); |
- void completeCalculations(const GrFragmentProcessor * const processors[], int cnt); |
+ void completeCalculations(const sk_sp<GrFragmentProcessor>* processors, int cnt); |
bool isSolidWhite() const { return fInOut.isSolidWhite(); } |
bool isOpaque() const { return fInOut.isOpaque(); } |
@@ -74,7 +75,7 @@ public: |
GrColor inputColorToFirstEffectiveProccesor() const { return fInputColor; } |
private: |
- void internalCalc(const GrFragmentProcessor* const[], int cnt); |
+ void internalCalc(const sk_sp<GrFragmentProcessor>*, int cnt); |
GrInvariantOutput fInOut; |
int fFirstEffectiveProcessorIndex; |