OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 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 "GrAAConvexPathRenderer.h" | 9 #include "GrAAConvexPathRenderer.h" |
10 | 10 |
(...skipping 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1013 DRAW_BATCH_TEST_DEFINE(AAConvexPathBatch) { | 1013 DRAW_BATCH_TEST_DEFINE(AAConvexPathBatch) { |
1014 AAConvexPathBatch::Geometry geometry; | 1014 AAConvexPathBatch::Geometry geometry; |
1015 geometry.fColor = GrRandomColor(random); | 1015 geometry.fColor = GrRandomColor(random); |
1016 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); | 1016 geometry.fViewMatrix = GrTest::TestMatrixInvertible(random); |
1017 geometry.fPath = GrTest::TestPathConvex(random); | 1017 geometry.fPath = GrTest::TestPathConvex(random); |
1018 | 1018 |
1019 return AAConvexPathBatch::Create(geometry); | 1019 return AAConvexPathBatch::Create(geometry); |
1020 } | 1020 } |
1021 | 1021 |
1022 #endif | 1022 #endif |
OLD | NEW |