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 12 matching lines...) Expand all Loading... |
23 private: | 23 private: |
24 | 24 |
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(GrDrawContext*, |
34 GrPipelineBuilder*, | 34 const GrPaint&, |
| 35 const GrUserStencilSettings*, |
35 const GrClip&, | 36 const GrClip&, |
36 GrColor, | 37 GrColor, |
37 const SkMatrix& viewMatrix, | 38 const SkMatrix& viewMatrix, |
38 const SkPath&, | 39 const SkPath&, |
39 const GrStyle&, | 40 const GrStyle&, |
40 bool stencilOnly); | 41 bool stencilOnly); |
41 | 42 |
42 bool fSeparateStencil; | 43 bool fSeparateStencil; |
43 bool fStencilWrapOps; | 44 bool fStencilWrapOps; |
44 | 45 |
45 typedef GrPathRenderer INHERITED; | 46 typedef GrPathRenderer INHERITED; |
46 }; | 47 }; |
47 | 48 |
48 #endif | 49 #endif |
OLD | NEW |