diff options
| author | bsalomon <bsalomon@google.com> | 2014-07-07 11:54:23 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2014-07-07 11:54:23 -0700 |
| commit | f99f884cd82528684779e40413f1ceaf277dad2d (patch) | |
| tree | a3e70c0a67e21667b5f5b2b8aa821f6b072bba39 /tests/GLProgramsTest.cpp | |
| parent | f05d6268db18038bd8ef2adfd90e261125c22c56 (diff) | |
Remove use of GrEffectRef from draw state and below.
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/372773002
Diffstat (limited to 'tests/GLProgramsTest.cpp')
| -rw-r--r-- | tests/GLProgramsTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 3df08a7f5b..64c8559196 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -76,16 +76,16 @@ void GrGLProgramDesc::setRandom(SkRandom* random, bool vertexCode = false; int numStages = numColorStages + numCoverageStages; for (int s = 0; s < numStages; ++s) { - const GrBackendEffectFactory& factory = (*stages[s]->getEffect())->getFactory(); + const GrBackendEffectFactory& factory = stages[s]->getEffect()->getFactory(); GrDrawEffect drawEffect(*stages[s], useLocalCoords); this->effectKeys()[s] = factory.glEffectKey(drawEffect, gpu->glCaps()); - if ((*stages[s]->getEffect())->willReadDstColor()) { + if (stages[s]->getEffect()->willReadDstColor()) { dstRead = true; } - if ((*stages[s]->getEffect())->willReadFragmentPosition()) { + if (stages[s]->getEffect()->willReadFragmentPosition()) { fragPos = true; } - if ((*stages[s]->getEffect())->hasVertexCode()) { + if (stages[s]->getEffect()->hasVertexCode()) { vertexCode = true; } } |
