diff options
author | 2015-07-16 09:13:50 -0700 | |
---|---|---|
committer | 2015-07-16 09:13:51 -0700 | |
commit | 8cab9a7685e872427e6f0388f149575a9b6016ee (patch) | |
tree | 7e9456dfab4ac0def923aef86520e3cb0fcf6c8b /src/gpu/effects | |
parent | e8d21e8f24aa676765d0ff8f433228665c75cdc2 (diff) |
All batches do their own pipeline compare
BUG=skia:
Review URL: https://codereview.chromium.org/1242033002
Diffstat (limited to 'src/gpu/effects')
-rw-r--r-- | src/gpu/effects/GrDashingEffect.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/effects/GrDashingEffect.cpp b/src/gpu/effects/GrDashingEffect.cpp index 18cd3d12ac..f6fe81ba36 100644 --- a/src/gpu/effects/GrDashingEffect.cpp +++ b/src/gpu/effects/GrDashingEffect.cpp @@ -620,6 +620,10 @@ private: } bool onCombineIfPossible(GrBatch* t) override { + if (!this->pipeline()->isEqual(*t->pipeline())) { + return false; + } + DashBatch* that = t->cast<DashBatch>(); if (this->aaMode() != that->aaMode()) { |