Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index 2e4d7f86c44397598192d3f2567965dac21e3b25..3de0b12e8593164cda09d74e851487c8c0d5e878 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -311,15 +311,11 @@ public: |
fCommon.fCoverage = GrColorPackRGBA(coverage, coverage, coverage, coverage); |
} |
- /** |
- * Version of above that specifies 4 channel per-vertex color. The value |
- * should be premultiplied. |
- */ |
- void setCoverage4(GrColor coverage) { |
- fCommon.fCoverage = coverage; |
+ uint8_t getCoverage() const { |
+ return GrColorUnpackR(fCommon.fCoverage); |
} |
- GrColor getCoverage() const { |
+ GrColor getCoverageColor() const { |
return fCommon.fCoverage; |
} |