| Index: src/gpu/GrAARectRenderer.cpp
|
| diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp
|
| index 6866b79aef886e32e2789d75bcd0579172d1883a..b1c943de114a3a054cd97569e1dca60b2a377338 100644
|
| --- a/src/gpu/GrAARectRenderer.cpp
|
| +++ b/src/gpu/GrAARectRenderer.cpp
|
| @@ -114,6 +114,7 @@ public:
|
| return;
|
| }
|
|
|
| + fBatchesGenerated++;
|
| const GrGeometryProcessor* gp = create_fill_rect_gp(canTweakAlphaForCoverage,
|
| localMatrix);
|
|
|
| @@ -208,10 +209,7 @@ private:
|
| 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
|
|
|