OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 GrOvalRenderer_DEFINED | 8 #ifndef GrOvalRenderer_DEFINED |
9 #define GrOvalRenderer_DEFINED | 9 #define GrOvalRenderer_DEFINED |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const SkRect& ellipse, | 72 const SkRect& ellipse, |
73 const SkStrokeRec& stroke); | 73 const SkStrokeRec& stroke); |
74 void drawCircle(GrDrawTarget* target, | 74 void drawCircle(GrDrawTarget* target, |
75 GrPipelineBuilder*, | 75 GrPipelineBuilder*, |
76 GrColor, | 76 GrColor, |
77 const SkMatrix& viewMatrix, | 77 const SkMatrix& viewMatrix, |
78 bool useCoverageAA, | 78 bool useCoverageAA, |
79 const SkRect& circle, | 79 const SkRect& circle, |
80 const SkStrokeRec& stroke); | 80 const SkStrokeRec& stroke); |
81 | 81 |
82 GrIndexBuffer* rRectIndexBuffer(bool isStrokeOnly); | |
83 | |
84 GrGpu* fGpu; | 82 GrGpu* fGpu; |
85 GrIndexBuffer* fRRectIndexBuffer; | 83 GrIndexBuffer* fRRectIndexBuffer; |
86 GrIndexBuffer* fStrokeRRectIndexBuffer; | 84 GrIndexBuffer* fStrokeRRectIndexBuffer; |
87 | 85 |
88 typedef SkRefCnt INHERITED; | 86 typedef SkRefCnt INHERITED; |
89 }; | 87 }; |
90 | 88 |
91 #endif // GrOvalRenderer_DEFINED | 89 #endif // GrOvalRenderer_DEFINED |
OLD | NEW |