Remove willReadDst from GrFragmentProcessor.
authoregdaniel <egdaniel@google.com>
Tue, 20 Jan 2015 14:34:51 +0000 (06:34 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 20 Jan 2015 14:34:51 +0000 (06:34 -0800)
commit71e236c03e65ff6b48a3d0eb091f814dd3e3a928
tree3b3ca3eb421a45b6aaf151c2e227cc1de4655a38
parentb2b416d3847c138a0a13876fdc1cdeae607b7e31
Remove willReadDst from GrFragmentProcessor.

Since only XP's can read dst now, there is no reason to have this query on GrFP.
This also triggered a chain reaction of cleaning up/removing unnecessary code
elsewhere.

BUG=skia:

Review URL: https://codereview.chromium.org/851143003
18 files changed:
include/gpu/GrFragmentProcessor.h
include/gpu/GrXferProcessor.h
include/gpu/effects/GrPorterDuffXferProcessor.h
src/effects/SkArithmeticMode_gpu.h
src/gpu/GrDrawState.cpp
src/gpu/GrDrawState.h
src/gpu/GrDrawTarget.cpp
src/gpu/GrDrawTarget.h
src/gpu/GrOptDrawState.cpp
src/gpu/GrProcOptInfo.cpp
src/gpu/GrProcOptInfo.h
src/gpu/effects/GrCoverageSetOpXP.cpp
src/gpu/effects/GrCoverageSetOpXP.h
src/gpu/effects/GrCustomXfermodePriv.h
src/gpu/effects/GrDisableColorXP.h
src/gpu/effects/GrPorterDuffXferProcessor.cpp
src/gpu/gl/builders/GrGLProgramBuilder.cpp
tests/GLProgramsTest.cpp