| Index: src/gpu/GrProcOptInfo.h
|
| diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h
|
| index 19f01a2821659b2131fb3b9f43ee46a32ad1025d..94f80e77b234d64094d8fc71156de8c20843cf92 100644
|
| --- a/src/gpu/GrProcOptInfo.h
|
| +++ b/src/gpu/GrProcOptInfo.h
|
| @@ -14,7 +14,6 @@
|
| class GrDrawBatch;
|
| class GrFragmentProcessor;
|
| class GrPrimitiveProcessor;
|
| -class GrProcessor;
|
|
|
| /**
|
| * GrProcOptInfo gathers invariant data from a set of processor stages.It is used to recognize
|
| @@ -27,8 +26,7 @@ public:
|
| : fInOut(0, static_cast<GrColorComponentFlags>(0), false)
|
| , fFirstEffectiveProcessorIndex(0)
|
| , fInputColorIsUsed(true)
|
| - , fInputColor(0)
|
| - , fReadsFragPosition(false) {}
|
| + , fInputColor(0) {}
|
|
|
| void calcWithInitialValues(const GrFragmentProcessor* const *, int cnt, GrColor startColor,
|
| GrColorComponentFlags, bool areCoverageStages, bool isLCD = false);
|
| @@ -75,19 +73,13 @@ public:
|
| */
|
| GrColor inputColorToFirstEffectiveProccesor() const { return fInputColor; }
|
|
|
| - /**
|
| - * Returns true if any of the processor preserved by GrProcOptInfo read the frag position.
|
| - */
|
| - bool readsFragPosition() const { return fReadsFragPosition; }
|
| -
|
| private:
|
| - void internalCalc(const GrFragmentProcessor* const[], int cnt, bool initWillReadFragPosition);
|
| + void internalCalc(const GrFragmentProcessor* const[], int cnt);
|
|
|
| GrInvariantOutput fInOut;
|
| int fFirstEffectiveProcessorIndex;
|
| bool fInputColorIsUsed;
|
| GrColor fInputColor;
|
| - bool fReadsFragPosition;
|
| };
|
|
|
| #endif
|
|
|