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 GrSoftwarePathRenderer_DEFINED | 9 #ifndef GrSoftwarePathRenderer_DEFINED |
10 #define GrSoftwarePathRenderer_DEFINED | 10 #define GrSoftwarePathRenderer_DEFINED |
(...skipping 18 matching lines...) Expand all Loading... |
29 const SkStrokeRec&, | 29 const SkStrokeRec&, |
30 bool antiAlias) const SK_OVERRIDE; | 30 bool antiAlias) const SK_OVERRIDE; |
31 protected: | 31 protected: |
32 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, | 32 virtual StencilSupport onGetStencilSupport(const GrDrawTarget*, |
33 const GrDrawState*, | 33 const GrDrawState*, |
34 const SkPath&, | 34 const SkPath&, |
35 const SkStrokeRec&) const SK_OVER
RIDE; | 35 const SkStrokeRec&) const SK_OVER
RIDE; |
36 | 36 |
37 virtual bool onDrawPath(GrDrawTarget*, | 37 virtual bool onDrawPath(GrDrawTarget*, |
38 GrDrawState*, | 38 GrDrawState*, |
| 39 GrColor, |
39 const SkPath&, | 40 const SkPath&, |
40 const SkStrokeRec&, | 41 const SkStrokeRec&, |
41 bool antiAlias) SK_OVERRIDE; | 42 bool antiAlias) SK_OVERRIDE; |
42 | 43 |
43 private: | 44 private: |
44 GrContext* fContext; | 45 GrContext* fContext; |
45 | 46 |
46 typedef GrPathRenderer INHERITED; | 47 typedef GrPathRenderer INHERITED; |
47 }; | 48 }; |
48 | 49 |
49 #endif | 50 #endif |
OLD | NEW |