OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 GrConvexPolyEffect_DEFINED | 8 #ifndef GrConvexPolyEffect_DEFINED |
9 #define GrConvexPolyEffect_DEFINED | 9 #define GrConvexPolyEffect_DEFINED |
10 | 10 |
11 #include "GrDrawTargetCaps.h" | 11 #include "GrCaps.h" |
12 #include "GrFragmentProcessor.h" | 12 #include "GrFragmentProcessor.h" |
13 #include "GrProcessor.h" | 13 #include "GrProcessor.h" |
14 #include "GrTypesPriv.h" | 14 #include "GrTypesPriv.h" |
15 | 15 |
16 class GrInvariantOutput; | 16 class GrInvariantOutput; |
17 class SkPath; | 17 class SkPath; |
18 | 18 |
19 /** | 19 /** |
20 * An effect that renders a convex polygon. It is intended to be used as a cover
age effect. | 20 * An effect that renders a convex polygon. It is intended to be used as a cover
age effect. |
21 * Bounding geometry is rendered and the effect computes coverage based on the f
ragment's | 21 * Bounding geometry is rendered and the effect computes coverage based on the f
ragment's |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 int fEdgeCount; | 84 int fEdgeCount; |
85 SkScalar fEdges[3 * kMaxEdges]; | 85 SkScalar fEdges[3 * kMaxEdges]; |
86 | 86 |
87 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; | 87 GR_DECLARE_FRAGMENT_PROCESSOR_TEST; |
88 | 88 |
89 typedef GrFragmentProcessor INHERITED; | 89 typedef GrFragmentProcessor INHERITED; |
90 }; | 90 }; |
91 | 91 |
92 | 92 |
93 #endif | 93 #endif |
OLD | NEW |