commit | 7bc18b75ee473cd90c5577270e378f99cedd4ab9 | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Tue Feb 03 16:41:41 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 03 16:41:41 2015 -0800 |
tree | 759f42a4d7260382de00c34e2b6604605ef3eab8 | |
parent | 5224ba7860ca8c734055895eac4b67888737047d [diff] [blame] |
Hairline batch BUG=skia: Committed: https://skia.googlesource.com/skia/+/6eff8701f027016fbb3147412ec2292dcec2b7f5 Committed: https://skia.googlesource.com/skia/+/658d55cd6121c67488aaf5d0832c9712737f26a5 Review URL: https://codereview.chromium.org/876673002
diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp index 48692eb..420c9e7 100644 --- a/src/gpu/GrAARectRenderer.cpp +++ b/src/gpu/GrAARectRenderer.cpp
@@ -208,10 +208,7 @@ return false; } - if (this->usesLocalCoords() != that->usesLocalCoords()) { - return false; - } - + SkASSERT(this->usesLocalCoords() == that->usesLocalCoords()); // We apply the viewmatrix to the rect points on the cpu. However, if the pipeline uses // local coords then we won't be able to batch. We could actually upload the viewmatrix // using vertex attributes in these cases, but haven't investigated that