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 14 matching lines...) Expand all Loading... |
25 StencilSupport onGetStencilSupport(const SkPath&) const override; | 25 StencilSupport onGetStencilSupport(const SkPath&) const override; |
26 | 26 |
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(GrDrawTarget*, | 33 bool internalDrawPath(GrDrawTarget*, |
34 GrPipelineBuilder*, | 34 GrPipelineBuilder*, |
| 35 const GrClip&, |
35 GrColor, | 36 GrColor, |
36 const SkMatrix& viewMatrix, | 37 const SkMatrix& viewMatrix, |
37 const SkPath&, | 38 const SkPath&, |
38 const GrStyle&, | 39 const GrStyle&, |
39 bool stencilOnly); | 40 bool stencilOnly); |
40 | 41 |
41 bool fSeparateStencil; | 42 bool fSeparateStencil; |
42 bool fStencilWrapOps; | 43 bool fStencilWrapOps; |
43 | 44 |
44 typedef GrPathRenderer INHERITED; | 45 typedef GrPathRenderer INHERITED; |
45 }; | 46 }; |
46 | 47 |
47 #endif | 48 #endif |
OLD | NEW |