OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #ifndef GrBuiltInPathRenderer_DEFINED | 9 #ifndef GrBuiltInPathRenderer_DEFINED |
10 #define GrBuiltInPathRenderer_DEFINED | 10 #define GrBuiltInPathRenderer_DEFINED |
(...skipping 21 matching lines...) Expand all Loading... |
32 bool antiAlias) const SK_OVERRIDE; | 32 bool antiAlias) const SK_OVERRIDE; |
33 | 33 |
34 protected: | 34 protected: |
35 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, | 35 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, |
36 const GrDrawState*, | 36 const GrDrawState*, |
37 const SkPath&, | 37 const SkPath&, |
38 const SkStrokeRec&) const SK_OVER
RIDE; | 38 const SkStrokeRec&) const SK_OVER
RIDE; |
39 | 39 |
40 virtual bool onDrawPath(GrDrawTarget*, | 40 virtual bool onDrawPath(GrDrawTarget*, |
41 GrDrawState*, | 41 GrDrawState*, |
| 42 GrColor, |
42 const SkPath&, | 43 const SkPath&, |
43 const SkStrokeRec&, | 44 const SkStrokeRec&, |
44 bool antiAlias) SK_OVERRIDE; | 45 bool antiAlias) SK_OVERRIDE; |
45 | 46 |
46 virtual void onStencilPath(GrDrawTarget*, | 47 virtual void onStencilPath(GrDrawTarget*, |
47 GrDrawState*, | 48 GrDrawState*, |
48 const SkPath&, | 49 const SkPath&, |
49 const SkStrokeRec&) SK_OVERRIDE; | 50 const SkStrokeRec&) SK_OVERRIDE; |
50 | 51 |
51 private: | 52 private: |
52 GrStencilAndCoverPathRenderer(GrGpu*); | 53 GrStencilAndCoverPathRenderer(GrGpu*); |
53 | 54 |
54 GrGpu* fGpu; | 55 GrGpu* fGpu; |
55 | 56 |
56 typedef GrPathRenderer INHERITED; | 57 typedef GrPathRenderer INHERITED; |
57 }; | 58 }; |
58 | 59 |
59 #endif | 60 #endif |
OLD | NEW |