Chromium Code Reviews| Index: include/gpu/GrAARectRenderer.h |
| diff --git a/include/gpu/GrAARectRenderer.h b/include/gpu/GrAARectRenderer.h |
| index a19b07afcae2b31207d9a597decd2d6152950613..07093d86204ebb9c57fb9bd75f0aaf94a09c295e 100644 |
| --- a/include/gpu/GrAARectRenderer.h |
| +++ b/include/gpu/GrAARectRenderer.h |
| @@ -44,7 +44,9 @@ public: |
| const SkMatrix& combinedMatrix, |
| const GrRect& devRect, |
| bool useVertexCoverage) { |
| +#define SHADER_AA_FILL_RECT 1 |
|
bsalomon
2013/06/13 14:27:51
Are we ready for this?
robertphillips
2013/06/13 17:45:52
Not yet.
|
| #ifdef SHADER_AA_FILL_RECT |
| + |
| if (combinedMatrix.rectStaysRect()) { |
| this->shaderFillAlignedAARect(gpu, target, |
| rect, combinedMatrix); |