| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef GrAARectRenderer_DEFINED | 8 #ifndef GrAARectRenderer_DEFINED |
| 9 #define GrAARectRenderer_DEFINED | 9 #define GrAARectRenderer_DEFINED |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 rect, combinedMatrix, | 58 rect, combinedMatrix, |
| 59 devRect, useVertexCoverage); | 59 devRect, useVertexCoverage); |
| 60 #endif | 60 #endif |
| 61 } | 61 } |
| 62 | 62 |
| 63 void strokeAARect(GrGpu* gpu, | 63 void strokeAARect(GrGpu* gpu, |
| 64 GrDrawTarget* target, | 64 GrDrawTarget* target, |
| 65 const SkRect& rect, | 65 const SkRect& rect, |
| 66 const SkMatrix& combinedMatrix, | 66 const SkMatrix& combinedMatrix, |
| 67 const SkRect& devRect, | 67 const SkRect& devRect, |
| 68 const SkStrokeRec* stroke, | 68 const SkStrokeRec& stroke, |
| 69 bool useVertexCoverage); | 69 bool useVertexCoverage); |
| 70 | 70 |
| 71 // First rect is outer; second rect is inner | 71 // First rect is outer; second rect is inner |
| 72 void fillAANestedRects(GrGpu* gpu, | 72 void fillAANestedRects(GrGpu* gpu, |
| 73 GrDrawTarget* target, | 73 GrDrawTarget* target, |
| 74 const SkRect rects[2], | 74 const SkRect rects[2], |
| 75 const SkMatrix& combinedMatrix, | 75 const SkMatrix& combinedMatrix, |
| 76 bool useVertexCoverage); | 76 bool useVertexCoverage); |
| 77 | 77 |
| 78 private: | 78 private: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 109 const SkRect& devOutside, | 109 const SkRect& devOutside, |
| 110 const SkRect& devOutsideAssist, | 110 const SkRect& devOutsideAssist, |
| 111 const SkRect& devInside, | 111 const SkRect& devInside, |
| 112 bool useVertexCoverage, | 112 bool useVertexCoverage, |
| 113 bool miterStroke); | 113 bool miterStroke); |
| 114 | 114 |
| 115 typedef SkRefCnt INHERITED; | 115 typedef SkRefCnt INHERITED; |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 #endif // GrAARectRenderer_DEFINED | 118 #endif // GrAARectRenderer_DEFINED |
| OLD | NEW |