| Index: src/gpu/GrOptDrawState.cpp
|
| diff --git a/src/gpu/GrOptDrawState.cpp b/src/gpu/GrOptDrawState.cpp
|
| index 98a5689d534b72425a5df85f6409b64fd0f11dc6..854fb81a8cca03d4d71ad6dec3a16a65ced5659b 100644
|
| --- a/src/gpu/GrOptDrawState.cpp
|
| +++ b/src/gpu/GrOptDrawState.cpp
|
| @@ -186,7 +186,7 @@ void GrOptDrawState::copyEffectiveColorStages(const GrDrawState& ds) {
|
| }
|
|
|
| for (int i = 0; i < ds.numColorStages(); ++i) {
|
| - const GrFragmentProcessor* fp = ds.getColorStage(i).getFragmentProcessor();
|
| + const GrFragmentProcessor* fp = ds.getColorStage(i).getProcessor();
|
| if (!fp->willUseInputColor()) {
|
| firstColorStage = i;
|
| fInputColorIsUsed = false;
|
| @@ -234,10 +234,10 @@ void GrOptDrawState::copyEffectiveCoverageStages(const GrDrawState& ds) {
|
| }
|
|
|
| static void get_stage_stats(const GrFragmentStage& stage, bool* readsDst, bool* readsFragPosition) {
|
| - if (stage.getFragmentProcessor()->willReadDstColor()) {
|
| + if (stage.getProcessor()->willReadDstColor()) {
|
| *readsDst = true;
|
| }
|
| - if (stage.getFragmentProcessor()->willReadFragmentPosition()) {
|
| + if (stage.getProcessor()->willReadFragmentPosition()) {
|
| *readsFragPosition = true;
|
| }
|
| }
|
|
|