Index: include/gpu/GrPaint.h |
diff --git a/include/gpu/GrPaint.h b/include/gpu/GrPaint.h |
index c5563f00fa28ee1fcfb1cd3150eaa5f5b5cdc9da..d44dd89e60a1d3c5d0059d24caec5f88cc04d32f 100644 |
--- a/include/gpu/GrPaint.h |
+++ b/include/gpu/GrPaint.h |
@@ -67,12 +67,6 @@ public: |
GrColor getColor() const { return fColor; } |
/** |
- * Applies fractional coverage to the entire drawn primitive. Defaults to 0xff. |
- */ |
- void setCoverage(uint8_t coverage) { fCoverage = coverage; } |
- uint8_t getCoverage() const { return fCoverage; } |
- |
- /** |
* Should primitives be anti-aliased or not. Defaults to false. |
*/ |
void setAntiAlias(bool aa) { fAntiAlias = aa; } |
@@ -125,7 +119,6 @@ public: |
fDither = paint.fDither; |
fColor = paint.fColor; |
- fCoverage = paint.fCoverage; |
fColorStages = paint.fColorStages; |
fCoverageStages = paint.fCoverageStages; |
@@ -140,7 +133,6 @@ public: |
this->resetBlend(); |
this->resetOptions(); |
this->resetColor(); |
- this->resetCoverage(); |
this->resetStages(); |
} |
@@ -214,7 +206,6 @@ private: |
bool fDither; |
GrColor fColor; |
- uint8_t fCoverage; |
void resetBlend() { |
fSrcBlendCoeff = kOne_GrBlendCoeff; |
@@ -230,10 +221,6 @@ private: |
fColor = GrColorPackRGBA(0xff, 0xff, 0xff, 0xff); |
} |
- void resetCoverage() { |
- fCoverage = 0xff; |
- } |
- |
void resetStages() { |
fColorStages.reset(); |
fCoverageStages.reset(); |