| 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 #include "GrAAHairLinePathRenderer.h" | 8 #include "GrAAHairLinePathRenderer.h" |
| 9 | 9 |
| 10 #include "GrContext.h" | 10 #include "GrContext.h" |
| 11 #include "GrDefaultGeoProcFactory.h" | 11 #include "GrDefaultGeoProcFactory.h" |
| 12 #include "GrDrawState.h" | 12 #include "GrDrawState.h" |
| 13 #include "GrDrawTargetCaps.h" | 13 #include "GrDrawTargetCaps.h" |
| 14 #include "GrGpu.h" | 14 #include "GrGpu.h" |
| 15 #include "GrIndexBuffer.h" | 15 #include "GrIndexBuffer.h" |
| 16 #include "GrPathUtils.h" | 16 #include "GrPathUtils.h" |
| 17 #include "GrProcessor.h" | 17 #include "GrProcessor.h" |
| 18 #include "GrTBackendProcessorFactory.h" | |
| 19 #include "SkGeometry.h" | 18 #include "SkGeometry.h" |
| 20 #include "SkStroke.h" | 19 #include "SkStroke.h" |
| 21 #include "SkTemplates.h" | 20 #include "SkTemplates.h" |
| 22 | 21 |
| 23 #include "effects/GrBezierEffect.h" | 22 #include "effects/GrBezierEffect.h" |
| 24 | 23 |
| 25 // quadratics are rendered as 5-sided polys in order to bound the | 24 // quadratics are rendered as 5-sided polys in order to bound the |
| 26 // AA stroke around the center-curve. See comments in push_quad_index_buffer and | 25 // AA stroke around the center-curve. See comments in push_quad_index_buffer and |
| 27 // bloat_quad. Quadratics and conics share an index buffer | 26 // bloat_quad. Quadratics and conics share an index buffer |
| 28 | 27 |
| (...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 &devBounds); | 950 &devBounds); |
| 952 conics += n; | 951 conics += n; |
| 953 } | 952 } |
| 954 } | 953 } |
| 955 } | 954 } |
| 956 | 955 |
| 957 target->resetIndexSource(); | 956 target->resetIndexSource(); |
| 958 | 957 |
| 959 return true; | 958 return true; |
| 960 } | 959 } |
| OLD | NEW |