commit | 658d55cd6121c67488aaf5d0832c9712737f26a5 | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Tue Feb 03 06:56:44 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 03 06:56:44 2015 -0800 |
tree | aadccf0de00d90f95404d002a93950506e310c11 | |
parent | 532faa9021cde714bc1fcc5650257fd7310f9712 [diff] [blame] |
Hairline batch BUG=skia: Committed: https://skia.googlesource.com/skia/+/6eff8701f027016fbb3147412ec2292dcec2b7f5 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