Index: include/gpu/GrXferProcessor.h |
diff --git a/include/gpu/GrXferProcessor.h b/include/gpu/GrXferProcessor.h |
index 64a0e1ab555fa1f14a8bc540faa81e131db06ce5..ad1669ad3b897ac443ab0c22f504b60bd495364e 100644 |
--- a/include/gpu/GrXferProcessor.h |
+++ b/include/gpu/GrXferProcessor.h |
@@ -145,7 +145,7 @@ public: |
const GrProcOptInfo& coveragePOI, |
bool doesStencilWrite, |
GrColor* overrideColor, |
- const GrCaps& caps); |
+ const GrCaps& caps) const; |
/** |
* Returns whether this XP will require an Xfer barrier on the given rt. If true, outBarrierType |
@@ -199,11 +199,6 @@ public: |
bool dstReadUsesMixedSamples() const { return fDstReadUsesMixedSamples; } |
/** |
- * Returns whether or not the XP will look at coverage when doing its blending. |
- */ |
- bool readsCoverage() const { return fReadsCoverage; } |
- |
- /** |
* Returns whether or not this xferProcossor will set a secondary output to be used with dual |
* source blending. |
*/ |
@@ -224,9 +219,6 @@ public: |
if (this->fWillReadDstColor != that.fWillReadDstColor) { |
return false; |
} |
- if (this->fReadsCoverage != that.fReadsCoverage) { |
- return false; |
- } |
if (this->fDstTexture.getTexture() != that.fDstTexture.getTexture()) { |
return false; |
} |
@@ -250,7 +242,7 @@ private: |
const GrProcOptInfo& coveragePOI, |
bool doesStencilWrite, |
GrColor* overrideColor, |
- const GrCaps& caps) = 0; |
+ const GrCaps& caps) const = 0; |
/** |
* Sets a unique key on the GrProcessorKeyBuilder that is directly associated with this xfer |
@@ -286,7 +278,6 @@ private: |
bool fWillReadDstColor; |
bool fDstReadUsesMixedSamples; |
- bool fReadsCoverage; |
SkIPoint fDstTextureOffset; |
GrTextureAccess fDstTexture; |