OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 GrDefaultPathRenderer_DEFINED | 8 #ifndef GrDefaultPathRenderer_DEFINED |
9 #define GrDefaultPathRenderer_DEFINED | 9 #define GrDefaultPathRenderer_DEFINED |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 bool onCanDrawPath(const CanDrawPathArgs&) const override; | 27 bool onCanDrawPath(const CanDrawPathArgs&) const override; |
28 | 28 |
29 bool onDrawPath(const DrawPathArgs&) override; | 29 bool onDrawPath(const DrawPathArgs&) override; |
30 | 30 |
31 void onStencilPath(const StencilPathArgs&) override; | 31 void onStencilPath(const StencilPathArgs&) override; |
32 | 32 |
33 bool internalDrawPath(GrDrawContext*, | 33 bool internalDrawPath(GrDrawContext*, |
34 const GrPaint&, | 34 const GrPaint&, |
35 const GrUserStencilSettings*, | 35 const GrUserStencilSettings*, |
36 const GrClip&, | 36 const GrClip&, |
37 GrColor, | |
38 const SkMatrix& viewMatrix, | 37 const SkMatrix& viewMatrix, |
39 const GrShape&, | 38 const GrShape&, |
40 bool stencilOnly); | 39 bool stencilOnly); |
41 | 40 |
42 bool fSeparateStencil; | 41 bool fSeparateStencil; |
43 bool fStencilWrapOps; | 42 bool fStencilWrapOps; |
44 | 43 |
45 typedef GrPathRenderer INHERITED; | 44 typedef GrPathRenderer INHERITED; |
46 }; | 45 }; |
47 | 46 |
48 #endif | 47 #endif |
OLD | NEW |