OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 GrBezierEffect_DEFINED | 8 #ifndef GrBezierEffect_DEFINED |
9 #define GrBezierEffect_DEFINED | 9 #define GrBezierEffect_DEFINED |
10 | 10 |
11 #include "GrDrawTargetCaps.h" | 11 #include "GrCaps.h" |
12 #include "GrProcessor.h" | 12 #include "GrProcessor.h" |
13 #include "GrGeometryProcessor.h" | 13 #include "GrGeometryProcessor.h" |
14 #include "GrInvariantOutput.h" | 14 #include "GrInvariantOutput.h" |
15 #include "GrTypesPriv.h" | 15 #include "GrTypesPriv.h" |
16 | 16 |
17 /** | 17 /** |
18 * Shader is based off of Loop-Blinn Quadratic GPU Rendering | 18 * Shader is based off of Loop-Blinn Quadratic GPU Rendering |
19 * The output of this effect is a hairline edge for conics. | 19 * The output of this effect is a hairline edge for conics. |
20 * Conics specified by implicit equation K^2 - LM. | 20 * Conics specified by implicit equation K^2 - LM. |
21 * K, L, and M, are the first three values of the vertex attribute, | 21 * K, L, and M, are the first three values of the vertex attribute, |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 GrPrimitiveEdgeType fEdgeType; | 282 GrPrimitiveEdgeType fEdgeType; |
283 const Attribute* fInPosition; | 283 const Attribute* fInPosition; |
284 const Attribute* fInCubicCoeffs; | 284 const Attribute* fInCubicCoeffs; |
285 | 285 |
286 GR_DECLARE_GEOMETRY_PROCESSOR_TEST; | 286 GR_DECLARE_GEOMETRY_PROCESSOR_TEST; |
287 | 287 |
288 typedef GrGeometryProcessor INHERITED; | 288 typedef GrGeometryProcessor INHERITED; |
289 }; | 289 }; |
290 | 290 |
291 #endif | 291 #endif |
OLD | NEW |