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 "SkPath.h" | 8 #include "SkPath.h" |
9 | 9 |
10 #if SK_SUPPORT_GPU | 10 #if SK_SUPPORT_GPU |
11 #include "GrContextFactory.h" | 11 #include "GrContextFactory.h" |
12 #include "GrTessellatingPathRenderer.h" | |
13 #include "GrTest.h" | 12 #include "GrTest.h" |
14 #include "Test.h" | 13 #include "Test.h" |
| 14 #include "batches/GrTessellatingPathRenderer.h" |
15 | 15 |
16 /* | 16 /* |
17 * These tests pass by not crashing, hanging or asserting in Debug. | 17 * These tests pass by not crashing, hanging or asserting in Debug. |
18 */ | 18 */ |
19 | 19 |
20 // Tests active edges made inactive by splitting. | 20 // Tests active edges made inactive by splitting. |
21 // Also tests active edge list forced into an invalid ordering by | 21 // Also tests active edge list forced into an invalid ordering by |
22 // splitting (mopped up in cleanup_active_edges()). | 22 // splitting (mopped up in cleanup_active_edges()). |
23 static SkPath create_path_0() { | 23 static SkPath create_path_0() { |
24 SkPath path; | 24 SkPath path; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 test_path(dt, rt, rp, create_path_8()); | 279 test_path(dt, rt, rp, create_path_8()); |
280 test_path(dt, rt, rp, create_path_9()); | 280 test_path(dt, rt, rp, create_path_9()); |
281 test_path(dt, rt, rp, create_path_10()); | 281 test_path(dt, rt, rp, create_path_10()); |
282 test_path(dt, rt, rp, create_path_11()); | 282 test_path(dt, rt, rp, create_path_11()); |
283 test_path(dt, rt, rp, create_path_12()); | 283 test_path(dt, rt, rp, create_path_12()); |
284 test_path(dt, rt, rp, create_path_13()); | 284 test_path(dt, rt, rp, create_path_13()); |
285 test_path(dt, rt, rp, create_path_14()); | 285 test_path(dt, rt, rp, create_path_14()); |
286 test_path(dt, rt, rp, create_path_15()); | 286 test_path(dt, rt, rp, create_path_15()); |
287 } | 287 } |
288 #endif | 288 #endif |
OLD | NEW |