OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2015 Google Inc. | 3 * Copyright 2015 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "GrAALinearizingConvexPathRenderer.h" | 9 #include "GrAALinearizingConvexPathRenderer.h" |
10 | 10 |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 DRAW_BATCH_TEST_DEFINE(AAFlatteningConvexPathBatch) { | 336 DRAW_BATCH_TEST_DEFINE(AAFlatteningConvexPathBatch) { |
337 AAFlatteningConvexPathBatch::Geometry geometry; | 337 AAFlatteningConvexPathBatch::Geometry geometry; |
338 geometry.fColor = GrRandomColor(random); | 338 geometry.fColor = GrRandomColor(random); |
339 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); | 339 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); |
340 geometry.fPath = GrTest::TestPathConvex(random); | 340 geometry.fPath = GrTest::TestPathConvex(random); |
341 | 341 |
342 return AAFlatteningConvexPathBatch::Create(geometry); | 342 return AAFlatteningConvexPathBatch::Create(geometry); |
343 } | 343 } |
344 | 344 |
345 #endif | 345 #endif |
OLD | NEW |