| 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 "GrBatch.h" | 10 #include "GrBatch.h" |
| 11 #include "GrBatchTarget.h" | 11 #include "GrBatchTarget.h" |
| 12 #include "GrBatchTest.h" | 12 #include "GrBatchTest.h" |
| 13 #include "GrCaps.h" |
| 13 #include "GrContext.h" | 14 #include "GrContext.h" |
| 14 #include "GrDefaultGeoProcFactory.h" | 15 #include "GrDefaultGeoProcFactory.h" |
| 15 #include "GrDrawTargetCaps.h" | |
| 16 #include "GrIndexBuffer.h" | 16 #include "GrIndexBuffer.h" |
| 17 #include "GrPathUtils.h" | 17 #include "GrPathUtils.h" |
| 18 #include "GrPipelineBuilder.h" | 18 #include "GrPipelineBuilder.h" |
| 19 #include "GrProcessor.h" | 19 #include "GrProcessor.h" |
| 20 #include "GrResourceProvider.h" | 20 #include "GrResourceProvider.h" |
| 21 #include "GrVertexBuffer.h" | 21 #include "GrVertexBuffer.h" |
| 22 #include "SkGeometry.h" | 22 #include "SkGeometry.h" |
| 23 #include "SkStroke.h" | 23 #include "SkStroke.h" |
| 24 #include "SkTemplates.h" | 24 #include "SkTemplates.h" |
| 25 | 25 |
| (...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 GrColor color = GrRandomColor(random); | 997 GrColor color = GrRandomColor(random); |
| 998 SkMatrix viewMatrix = GrTest::TestMatrix(random); | 998 SkMatrix viewMatrix = GrTest::TestMatrix(random); |
| 999 GrStrokeInfo stroke(SkStrokeRec::kHairline_InitStyle); | 999 GrStrokeInfo stroke(SkStrokeRec::kHairline_InitStyle); |
| 1000 SkPath path = GrTest::TestPath(random); | 1000 SkPath path = GrTest::TestPath(random); |
| 1001 SkIRect devClipBounds; | 1001 SkIRect devClipBounds; |
| 1002 devClipBounds.setEmpty(); | 1002 devClipBounds.setEmpty(); |
| 1003 return create_hairline_batch(color, viewMatrix, path, stroke, devClipBounds)
; | 1003 return create_hairline_batch(color, viewMatrix, path, stroke, devClipBounds)
; |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 #endif | 1006 #endif |
| OLD | NEW |