| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 "GrTessellatingPathRenderer.h" | 8 #include "GrTessellatingPathRenderer.h" |
| 9 | 9 |
| 10 #include "GrAuditTrail.h" | 10 #include "GrAuditTrail.h" |
| 11 #include "GrBatchFlushState.h" | 11 #include "GrBatchFlushState.h" |
| 12 #include "GrBatchTest.h" | 12 #include "GrBatchTest.h" |
| 13 #include "GrClip.h" | 13 #include "GrClip.h" |
| 14 #include "GrDefaultGeoProcFactory.h" | 14 #include "GrDefaultGeoProcFactory.h" |
| 15 #include "GrMesh.h" | 15 #include "GrMesh.h" |
| 16 #include "GrPathUtils.h" | 16 #include "GrPathUtils.h" |
| 17 #include "GrPipelineBuilder.h" |
| 17 #include "GrResourceCache.h" | 18 #include "GrResourceCache.h" |
| 18 #include "GrResourceProvider.h" | 19 #include "GrResourceProvider.h" |
| 19 #include "GrTessellator.h" | 20 #include "GrTessellator.h" |
| 20 #include "SkGeometry.h" | 21 #include "SkGeometry.h" |
| 21 | 22 |
| 22 #include "batches/GrVertexBatch.h" | 23 #include "batches/GrVertexBatch.h" |
| 23 | 24 |
| 24 #include <stdio.h> | 25 #include <stdio.h> |
| 25 | 26 |
| 26 /* | 27 /* |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 vmi.mapRect(&clipBounds); | 297 vmi.mapRect(&clipBounds); |
| 297 GrStyle style; | 298 GrStyle style; |
| 298 do { | 299 do { |
| 299 GrTest::TestStyle(random, &style); | 300 GrTest::TestStyle(random, &style); |
| 300 } while (style.strokeRec().isHairlineStyle()); | 301 } while (style.strokeRec().isHairlineStyle()); |
| 301 GrShape shape(path, style); | 302 GrShape shape(path, style); |
| 302 return TessellatingPathBatch::Create(color, shape, viewMatrix, clipBounds); | 303 return TessellatingPathBatch::Create(color, shape, viewMatrix, clipBounds); |
| 303 } | 304 } |
| 304 | 305 |
| 305 #endif | 306 #endif |
| OLD | NEW |