| Index: src/gpu/GrDrawState.cpp
|
| diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp
|
| index 883c74b8ee65ef6b15dddf06143f23afa5529cf5..6f9b4d5a4de623ad6e595df986f84519c1a646a3 100644
|
| --- a/src/gpu/GrDrawState.cpp
|
| +++ b/src/gpu/GrDrawState.cpp
|
| @@ -112,24 +112,6 @@ void GrDrawState::onReset(const SkMatrix* initialViewMatrix) {
|
| fCoveragePrimProc = NULL;
|
| }
|
|
|
| -bool GrDrawState::setIdentityViewMatrix() {
|
| - if (this->numFragmentStages()) {
|
| - SkMatrix invVM;
|
| - if (!fViewMatrix.invert(&invVM)) {
|
| - // sad trombone sound
|
| - return false;
|
| - }
|
| - for (int s = 0; s < this->numColorStages(); ++s) {
|
| - fColorStages[s].localCoordChange(invVM);
|
| - }
|
| - for (int s = 0; s < this->numCoverageStages(); ++s) {
|
| - fCoverageStages[s].localCoordChange(invVM);
|
| - }
|
| - }
|
| - fViewMatrix.reset();
|
| - return true;
|
| -}
|
| -
|
| void GrDrawState::setFromPaint(const GrPaint& paint, const SkMatrix& vm, GrRenderTarget* rt) {
|
| SkASSERT(0 == fBlockEffectRemovalCnt || 0 == this->numFragmentStages());
|
|
|
|
|