Chromium Code Reviews| Index: src/gpu/batches/GrAAStrokeRectBatch.h |
| diff --git a/src/gpu/batches/GrAAStrokeRectBatch.h b/src/gpu/batches/GrAAStrokeRectBatch.h |
| index 242597b66a5b42419dca8f90cae065038a9d6976..4959232bab92cb321bfb3083da15aa746c979605 100644 |
| --- a/src/gpu/batches/GrAAStrokeRectBatch.h |
| +++ b/src/gpu/batches/GrAAStrokeRectBatch.h |
| @@ -15,6 +15,7 @@ class GrDrawBatch; |
| class GrResourceProvider; |
| class SkMatrix; |
| struct SkRect; |
| +class SkStrokeRec; |
| namespace GrAAStrokeRectBatch { |
|
robertphillips
2015/09/22 17:35:46
Do we need this entry point any more ?
joshualitt
2015/09/22 17:44:54
Unfortunately we do, for the fill AA Nested rects
|
| @@ -26,14 +27,16 @@ GrDrawBatch* Create(GrColor color, |
| bool miterStroke, |
| bool degenerate); |
| +GrDrawBatch* Create(GrColor color, |
| + const SkMatrix& viewMatrix, |
| + const SkRect& rect, |
| + const SkStrokeRec& stroke); |
| + |
| bool Append(GrBatch*, |
| GrColor color, |
| const SkMatrix& viewMatrix, |
| - const SkRect& devOutside, |
| - const SkRect& devOutsideAssist, |
| - const SkRect& devInside, |
| - bool miterStroke, |
| - bool degenerate); |
| + const SkRect& rect, |
| + const SkStrokeRec& stroke); |
| }; |