| Index: src/gpu/GrDrawState.cpp
|
| diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp
|
| index b4cf9c8b4106228fc45d57a72e8ec5e7a7a8b9dd..235ef08abda0796e73c6893cb4a7ede58ce1b280 100644
|
| --- a/src/gpu/GrDrawState.cpp
|
| +++ b/src/gpu/GrDrawState.cpp
|
| @@ -427,7 +427,7 @@ bool GrDrawState::hasSolidCoverage() const {
|
| if (this->hasCoverageVertexAttribute()) {
|
| inout.fValidFlags = 0;
|
| } else {
|
| - inout.fColor = fCoverage;
|
| + inout.fColor = this->getCoverageColor();
|
| inout.fValidFlags = kRGBA_GrColorComponentFlags;
|
| }
|
|
|
| @@ -436,6 +436,7 @@ bool GrDrawState::hasSolidCoverage() const {
|
| const GrGeometryProcessor* gp = fGeometryProcessor->getGeometryProcessor();
|
| gp->computeInvariantOutput(&inout);
|
| }
|
| +
|
| for (int s = 0; s < this->numCoverageStages(); ++s) {
|
| const GrProcessor* processor = this->getCoverageStage(s).getProcessor();
|
| processor->computeInvariantOutput(&inout);
|
| @@ -663,8 +664,8 @@ GrDrawState::~GrDrawState() {
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| GrDrawState::BlendOptFlags GrDrawState::getBlendOpts(bool forceCoverage,
|
| - GrBlendCoeff* srcCoeff,
|
| - GrBlendCoeff* dstCoeff) const {
|
| + GrBlendCoeff* srcCoeff,
|
| + GrBlendCoeff* dstCoeff) const {
|
| GrBlendCoeff bogusSrcCoeff, bogusDstCoeff;
|
| if (NULL == srcCoeff) {
|
| srcCoeff = &bogusSrcCoeff;
|
|
|