| Index: src/gpu/GrOptDrawState.cpp
|
| diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
|
| index d12cf0cad5f2aa0bea47218ba1ab9cc3e0222776..5e19871b8c9b2020272a98701b67775108a368b7 100644
|
| --- a/src/gpu/GrOptDrawState.cpp
|
| +++ b/src/gpu/GrOptDrawState.cpp
|
| @@ -53,7 +53,6 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState,
|
|
|
| optFlags = xferProcessor->getOptimizations(colorPOI,
|
| coveragePOI,
|
| - drawState.isColorWriteDisabled(),
|
| drawState.getStencil().doesWrite(),
|
| &overrideColor,
|
| caps);
|
| @@ -86,9 +85,6 @@ GrOptDrawState::GrOptDrawState(const GrDrawState& drawState,
|
| if (drawState.isHWAntialias()) {
|
| fFlags |= kHWAA_Flag;
|
| }
|
| - if (drawState.isColorWriteDisabled()) {
|
| - fFlags |= kDisableColorWrite_Flag;
|
| - }
|
| if (drawState.isDither()) {
|
| fFlags |= kDither_Flag;
|
| }
|
|
|