Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(828)

Side by Side Diff: tests/PathOpsBattles.cpp

Issue 1029993002: Revert of pathops version two (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/PathOpsAngleTest.cpp ('k') | tests/PathOpsBuilderTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 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 #include "PathOpsExtendedTest.h" 7 #include "PathOpsExtendedTest.h"
8 #include "PathOpsTestCommon.h" 8 #include "PathOpsTestCommon.h"
9 9
10 #define TEST(name) { name, #name } 10 #define TEST(name) { name, #name }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 path1.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 52 path1.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
53 path1.close(); 53 path1.close();
54 54
55 path2.setFillType((SkPath::FillType) 1); 55 path2.setFillType((SkPath::FillType) 1);
56 path2.moveTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6)); 56 path2.moveTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6));
57 path2.cubicTo(SkBits2Float(0x4286af43), SkBits2Float(0x42437fa7), SkBits2Float(0 x427ed0d6), SkBits2Float(0x42561f5a), SkBits2Float(0x426e69d2), SkBits2Float(0x4 2670c39)); 57 path2.cubicTo(SkBits2Float(0x4286af43), SkBits2Float(0x42437fa7), SkBits2Float(0 x427ed0d6), SkBits2Float(0x42561f5a), SkBits2Float(0x426e69d2), SkBits2Float(0x4 2670c39));
58 path2.lineTo(SkBits2Float(0x422c58d6), SkBits2Float(0x422705c1)); 58 path2.lineTo(SkBits2Float(0x422c58d6), SkBits2Float(0x422705c1));
59 path2.cubicTo(SkBits2Float(0x42383446), SkBits2Float(0x421ac98f), SkBits2Float(0 x4242b98a), SkBits2Float(0x420d5308), SkBits2Float(0x424bbb17), SkBits2Float(0x4 1fdb8ee)); 59 path2.cubicTo(SkBits2Float(0x42383446), SkBits2Float(0x421ac98f), SkBits2Float(0 x4242b98a), SkBits2Float(0x420d5308), SkBits2Float(0x424bbb17), SkBits2Float(0x4 1fdb8ee));
60 path2.lineTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6)); 60 path2.lineTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6));
61 path2.close(); 61 path2.close();
62 // SkOpSegment.cpp:3488: failed assertion "other->fTs[min].fWindSum == oppWindin g"
62 testPathOp(reporter, path1, path2, kUnion_PathOp, filename); 63 testPathOp(reporter, path1, path2, kUnion_PathOp, filename);
63 } 64 }
64 65
65 static void issue414409c(skiatest::Reporter* reporter, const char* filename) { 66 static void issue414409c(skiatest::Reporter* reporter, const char* filename) {
66 SkPath path1, path2; 67 SkPath path1, path2;
67 path1.setFillType((SkPath::FillType) 1); 68 path1.setFillType((SkPath::FillType) 1);
68 path1.moveTo(SkBits2Float(0x36961ef0), SkBits2Float(0xc2700000)); 69 path1.moveTo(SkBits2Float(0x36961ef0), SkBits2Float(0xc2700000));
69 path1.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 70 path1.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
70 path1.cubicTo(SkBits2Float(0x3df86648), SkBits2Float(0xc2a60000), SkBits2Float(0 x3e786777), SkBits2Float(0xc2a5ffdc), SkBits2Float(0x3eba4dc2), SkBits2Float(0xc 2a5ff96)); 71 path1.cubicTo(SkBits2Float(0x3df86648), SkBits2Float(0xc2a60000), SkBits2Float(0 x3e786777), SkBits2Float(0xc2a5ffdc), SkBits2Float(0x3eba4dc2), SkBits2Float(0xc 2a5ff96));
71 path1.lineTo(SkBits2Float(0x3eba4dc3), SkBits2Float(0xc2a5ff97)); 72 path1.lineTo(SkBits2Float(0x3eba4dc3), SkBits2Float(0xc2a5ff97));
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 path.reset(); 1289 path.reset();
1289 path.setFillType((SkPath::FillType) 0); 1290 path.setFillType((SkPath::FillType) 0);
1290 path.moveTo(SkBits2Float(0x4285e672), SkBits2Float(0xc2443b5f)); 1291 path.moveTo(SkBits2Float(0x4285e672), SkBits2Float(0xc2443b5f));
1291 path.cubicTo(SkBits2Float(0x42b50145), SkBits2Float(0xc1875361), SkBits2Float(0x 42afc74e), SkBits2Float(0x41db6d5e), SkBits2Float(0x4272e616), SkBits2Float(0x42 6253de)); 1292 path.cubicTo(SkBits2Float(0x42b50145), SkBits2Float(0xc1875361), SkBits2Float(0x 42afc74e), SkBits2Float(0x41db6d5e), SkBits2Float(0x4272e616), SkBits2Float(0x42 6253de));
1292 path.lineTo(SkBits2Float(0x422f96e8), SkBits2Float(0x42239c3e)); 1293 path.lineTo(SkBits2Float(0x422f96e8), SkBits2Float(0x42239c3e));
1293 path.cubicTo(SkBits2Float(0x427e233c), SkBits2Float(0x419e9f42), SkBits2Float(0x 4282d8d3), SkBits2Float(0xc143a6d1), SkBits2Float(0x42419734), SkBits2Float(0xc2 0ddabb)); 1294 path.cubicTo(SkBits2Float(0x427e233c), SkBits2Float(0x419e9f42), SkBits2Float(0x 4282d8d3), SkBits2Float(0xc143a6d1), SkBits2Float(0x42419734), SkBits2Float(0xc2 0ddabb));
1294 path.lineTo(SkBits2Float(0x4285e672), SkBits2Float(0xc2443b5f)); 1295 path.lineTo(SkBits2Float(0x4285e672), SkBits2Float(0xc2443b5f));
1295 path.close(); 1296 path.close();
1296 1297
1297 SkPath path2(path); 1298 SkPath path2(path);
1298 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 1299 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
1299 } 1300 }
1300 // op end success 1 1301 // op end success 1
1301 1302
1302 static void battleOp47(skiatest::Reporter* reporter, const char* filename) { 1303 static void battleOp47(skiatest::Reporter* reporter, const char* filename) {
1303 SkPath path; 1304 SkPath path;
1304 path.setFillType((SkPath::FillType) 0); 1305 path.setFillType((SkPath::FillType) 0);
1305 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 1306 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
1306 path.cubicTo(SkBits2Float(0x41d59904), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 424f13ae), SkBits2Float(0xc28c4fb7), SkBits2Float(0x4286bb70), SkBits2Float(0xc2 41f0ca)); 1307 path.cubicTo(SkBits2Float(0x41d59904), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 424f13ae), SkBits2Float(0xc28c4fb7), SkBits2Float(0x4286bb70), SkBits2Float(0xc2 41f0ca));
1307 path.lineTo(SkBits2Float(0x4242cb24), SkBits2Float(0xc20c32b1)); 1308 path.lineTo(SkBits2Float(0x4242cb24), SkBits2Float(0xc20c32b1));
1308 path.cubicTo(SkBits2Float(0x4215b1b4), SkBits2Float(0xc24adc20), SkBits2Float(0x 419a6875), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2 700000)); 1309 path.cubicTo(SkBits2Float(0x4215b1b4), SkBits2Float(0xc24adc20), SkBits2Float(0x 419a6875), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2 700000));
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1504 path.moveTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595e)); 1505 path.moveTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595e));
1505 path.cubicTo(SkBits2Float(0x42ad725e), SkBits2Float(0x416ed313), SkBits2Float(0x 42982fa2), SkBits2Float(0x4230cc44), SkBits2Float(0x42575fca), SkBits2Float(0x42 7ca963)); 1506 path.cubicTo(SkBits2Float(0x42ad725e), SkBits2Float(0x416ed313), SkBits2Float(0x 42982fa2), SkBits2Float(0x4230cc44), SkBits2Float(0x42575fca), SkBits2Float(0x42 7ca963));
1506 path.cubicTo(SkBits2Float(0x41fcc0a1), SkBits2Float(0x42a44341), SkBits2Float(0x 3f80ed4e), SkBits2Float(0x42affc4e), SkBits2Float(0xc1d56b7f), SkBits2Float(0x42 9d3115)); 1507 path.cubicTo(SkBits2Float(0x41fcc0a1), SkBits2Float(0x42a44341), SkBits2Float(0x 3f80ed4e), SkBits2Float(0x42affc4e), SkBits2Float(0xc1d56b7f), SkBits2Float(0x42 9d3115));
1507 path.lineTo(SkBits2Float(0xc19a478e), SkBits2Float(0x426343e2)); 1508 path.lineTo(SkBits2Float(0xc19a478e), SkBits2Float(0x426343e2));
1508 path.cubicTo(SkBits2Float(0x3f3a6666), SkBits2Float(0x427e6fe0), SkBits2Float(0x 41b6b66f), SkBits2Float(0x426d7d04), SkBits2Float(0x421bb135), SkBits2Float(0x42 36a5a5)); 1509 path.cubicTo(SkBits2Float(0x3f3a6666), SkBits2Float(0x427e6fe0), SkBits2Float(0x 41b6b66f), SkBits2Float(0x426d7d04), SkBits2Float(0x421bb135), SkBits2Float(0x42 36a5a5));
1509 path.cubicTo(SkBits2Float(0x425c0733), SkBits2Float(0x41ff9c8c), SkBits2Float(0x 427ac435), SkBits2Float(0x412ca4f2), SkBits2Float(0x426c9cb3), SkBits2Float(0xc1 20bbf8)); 1510 path.cubicTo(SkBits2Float(0x425c0733), SkBits2Float(0x41ff9c8c), SkBits2Float(0x 427ac435), SkBits2Float(0x412ca4f2), SkBits2Float(0x426c9cb3), SkBits2Float(0xc1 20bbf8));
1510 path.lineTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595e)); 1511 path.lineTo(SkBits2Float(0x42a3a81d), SkBits2Float(0xc15e595e));
1511 path.close(); 1512 path.close();
1512 1513
1513 SkPath path2(path); 1514 SkPath path2(path);
1514 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 1515 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
1515 } 1516 }
1516 // op end success 1 1517 // op end success 1
1517 1518
1518 static void battleOp55(skiatest::Reporter* reporter, const char* filename) { 1519 static void battleOp55(skiatest::Reporter* reporter, const char* filename) {
1519 SkPath path; 1520 SkPath path;
1520 path.setFillType((SkPath::FillType) 0); 1521 path.setFillType((SkPath::FillType) 0);
1521 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 1522 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
1522 path.cubicTo(SkBits2Float(0x4220aa02), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 42952310), SkBits2Float(0xc258f48d), SkBits2Float(0x42a35f68), SkBits2Float(0xc1 6b5614)); 1523 path.cubicTo(SkBits2Float(0x4220aa02), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 42952310), SkBits2Float(0xc258f48d), SkBits2Float(0x42a35f68), SkBits2Float(0xc1 6b5614));
1523 path.lineTo(SkBits2Float(0x426c3395), SkBits2Float(0xc12a1f61)); 1524 path.lineTo(SkBits2Float(0x426c3395), SkBits2Float(0xc12a1f61));
1524 path.cubicTo(SkBits2Float(0x42579ea8), SkBits2Float(0xc21cd5ce), SkBits2Float(0x 41e84916), SkBits2Float(0xc2700000), SkBits2Float(0x3697ff52), SkBits2Float(0xc2 700000)); 1525 path.cubicTo(SkBits2Float(0x42579ea8), SkBits2Float(0xc21cd5ce), SkBits2Float(0x 41e84916), SkBits2Float(0xc2700000), SkBits2Float(0x3697ff52), SkBits2Float(0xc2 700000));
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 path.reset(); 1747 path.reset();
1747 path.setFillType((SkPath::FillType) 0); 1748 path.setFillType((SkPath::FillType) 0);
1748 path.moveTo(SkBits2Float(0x4039d102), SkBits2Float(0xc2a5e5fe)); 1749 path.moveTo(SkBits2Float(0x4039d102), SkBits2Float(0xc2a5e5fe));
1749 path.cubicTo(SkBits2Float(0x408a83ff), SkBits2Float(0xc2a5cc72), SkBits2Float(0x 40b8130f), SkBits2Float(0xc2a5a01a), SkBits2Float(0x40e58a06), SkBits2Float(0xc2 a56100)); 1750 path.cubicTo(SkBits2Float(0x408a83ff), SkBits2Float(0xc2a5cc72), SkBits2Float(0x 40b8130f), SkBits2Float(0xc2a5a01a), SkBits2Float(0x40e58a06), SkBits2Float(0xc2 a56100));
1750 path.lineTo(SkBits2Float(0x40a5ee90), SkBits2Float(0xc26f1a20)); 1751 path.lineTo(SkBits2Float(0x40a5ee90), SkBits2Float(0xc26f1a20));
1751 path.cubicTo(SkBits2Float(0x408510de), SkBits2Float(0xc26f755e), SkBits2Float(0x 40484386), SkBits2Float(0xc26fb57a), SkBits2Float(0x40065347), SkBits2Float(0xc2 6fda68)); 1752 path.cubicTo(SkBits2Float(0x408510de), SkBits2Float(0xc26f755e), SkBits2Float(0x 40484386), SkBits2Float(0xc26fb57a), SkBits2Float(0x40065347), SkBits2Float(0xc2 6fda68));
1752 path.lineTo(SkBits2Float(0x4039d102), SkBits2Float(0xc2a5e5fe)); 1753 path.lineTo(SkBits2Float(0x4039d102), SkBits2Float(0xc2a5e5fe));
1753 path.close(); 1754 path.close();
1754 1755
1755 SkPath path2(path); 1756 SkPath path2(path);
1756 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 1757 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
1757 } 1758 }
1758 // op end success 1 1759 // op end success 1
1759 1760
1760 static void battleOp64(skiatest::Reporter* reporter, const char* filename) { 1761 static void battleOp64(skiatest::Reporter* reporter, const char* filename) {
1761 SkPath path; 1762 SkPath path;
1762 path.setFillType((SkPath::FillType) 0); 1763 path.setFillType((SkPath::FillType) 0);
1763 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 1764 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
1764 path.cubicTo(SkBits2Float(0x3faf587e), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 402f5505), SkBits2Float(0xc2a5eea1), SkBits2Float(0x408372de), SkBits2Float(0xc2 a5cbeb)); 1765 path.cubicTo(SkBits2Float(0x3faf587e), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 402f5505), SkBits2Float(0xc2a5eea1), SkBits2Float(0x408372de), SkBits2Float(0xc2 a5cbeb));
1765 path.lineTo(SkBits2Float(0x403e0bd0), SkBits2Float(0xc26fb4b6)); 1766 path.lineTo(SkBits2Float(0x403e0bd0), SkBits2Float(0xc26fb4b6));
1766 path.cubicTo(SkBits2Float(0x3ffd7de6), SkBits2Float(0xc26fe6e6), SkBits2Float(0x 3f7d82fb), SkBits2Float(0xc2700000), SkBits2Float(0x363f7eb2), SkBits2Float(0xc2 700000)); 1767 path.cubicTo(SkBits2Float(0x3ffd7de6), SkBits2Float(0xc26fe6e6), SkBits2Float(0x 3f7d82fb), SkBits2Float(0xc2700000), SkBits2Float(0x363f7eb2), SkBits2Float(0xc2 700000));
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 path.reset(); 1877 path.reset();
1877 path.setFillType((SkPath::FillType) 0); 1878 path.setFillType((SkPath::FillType) 0);
1878 path.moveTo(SkBits2Float(0x3ee8b040), SkBits2Float(0xc2a5ff5d)); 1879 path.moveTo(SkBits2Float(0x3ee8b040), SkBits2Float(0xc2a5ff5d));
1879 path.cubicTo(SkBits2Float(0x3ef0720a), SkBits2Float(0xc2a5ff52), SkBits2Float(0x 3ef83386), SkBits2Float(0xc2a5ff47), SkBits2Float(0x3efff501), SkBits2Float(0xc2 a5ff3b)); 1880 path.cubicTo(SkBits2Float(0x3ef0720a), SkBits2Float(0xc2a5ff52), SkBits2Float(0x 3ef83386), SkBits2Float(0xc2a5ff47), SkBits2Float(0x3efff501), SkBits2Float(0xc2 a5ff3b));
1880 path.lineTo(SkBits2Float(0x3eb90778), SkBits2Float(0xc26ffee3)); 1881 path.lineTo(SkBits2Float(0x3eb90778), SkBits2Float(0xc26ffee3));
1881 path.cubicTo(SkBits2Float(0x3eb36c27), SkBits2Float(0xc26ffef6), SkBits2Float(0x 3eadd0dd), SkBits2Float(0xc26fff07), SkBits2Float(0x3ea83592), SkBits2Float(0xc2 6fff16)); 1882 path.cubicTo(SkBits2Float(0x3eb36c27), SkBits2Float(0xc26ffef6), SkBits2Float(0x 3eadd0dd), SkBits2Float(0xc26fff07), SkBits2Float(0x3ea83592), SkBits2Float(0xc2 6fff16));
1882 path.lineTo(SkBits2Float(0x3ee8b040), SkBits2Float(0xc2a5ff5d)); 1883 path.lineTo(SkBits2Float(0x3ee8b040), SkBits2Float(0xc2a5ff5d));
1883 path.close(); 1884 path.close();
1884 1885
1885 SkPath path2(path); 1886 SkPath path2(path);
1886 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 1887 if (FLAGS_runFail) {
1888 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename);
1889 } else {
1890 testPathFailOp(reporter, path1, path2, (SkPathOp) 2, filename);
1891 }
1887 } 1892 }
1888 // op end success 1 1893 // op end success 1
1889 1894
1890 static void battleOp69(skiatest::Reporter* reporter, const char* filename) { 1895 static void battleOp69(skiatest::Reporter* reporter, const char* filename) {
1891 SkPath path; 1896 SkPath path;
1892 path.setFillType((SkPath::FillType) 1); 1897 path.setFillType((SkPath::FillType) 1);
1893 path.moveTo(SkBits2Float(0x36b67768), SkBits2Float(0xc2700000)); 1898 path.moveTo(SkBits2Float(0x36b67768), SkBits2Float(0xc2700000));
1894 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 1899 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
1895 path.cubicTo(SkBits2Float(0x3e1b21b2), SkBits2Float(0xc2a60000), SkBits2Float(0x 3e9b20b0), SkBits2Float(0xc2a5ffca), SkBits2Float(0x3ee8b040), SkBits2Float(0xc2 a5ff5d)); 1900 path.cubicTo(SkBits2Float(0x3e1b21b2), SkBits2Float(0xc2a60000), SkBits2Float(0x 3e9b20b0), SkBits2Float(0xc2a5ffca), SkBits2Float(0x3ee8b040), SkBits2Float(0xc2 a5ff5d));
1896 path.cubicTo(SkBits2Float(0x3ef0720a), SkBits2Float(0xc2a5ff52), SkBits2Float(0x 3ef83386), SkBits2Float(0xc2a5ff47), SkBits2Float(0x3efff501), SkBits2Float(0xc2 a5ff3b)); 1901 path.cubicTo(SkBits2Float(0x3ef0720a), SkBits2Float(0xc2a5ff52), SkBits2Float(0x 3ef83386), SkBits2Float(0xc2a5ff47), SkBits2Float(0x3efff501), SkBits2Float(0xc2 a5ff3b));
(...skipping 2073 matching lines...) Expand 10 before | Expand all | Expand 10 after
3970 path.reset(); 3975 path.reset();
3971 path.setFillType((SkPath::FillType) 0); 3976 path.setFillType((SkPath::FillType) 0);
3972 path.moveTo(SkBits2Float(0x42a38b52), SkBits2Float(0xc1639578)); 3977 path.moveTo(SkBits2Float(0x42a38b52), SkBits2Float(0xc1639578));
3973 path.cubicTo(SkBits2Float(0x42a4def8), SkBits2Float(0xc1269090), SkBits2Float(0x 42a5a99a), SkBits2Float(0xc0d1c16f), SkBits2Float(0x42a5e9be), SkBits2Float(0xc0 2be63c)); 3978 path.cubicTo(SkBits2Float(0x42a4def8), SkBits2Float(0xc1269090), SkBits2Float(0x 42a5a99a), SkBits2Float(0xc0d1c16f), SkBits2Float(0x42a5e9be), SkBits2Float(0xc0 2be63c));
3974 path.lineTo(SkBits2Float(0x426fdfd2), SkBits2Float(0xbff8877d)); 3979 path.lineTo(SkBits2Float(0x426fdfd2), SkBits2Float(0xbff8877d));
3975 path.cubicTo(SkBits2Float(0x426f8319), SkBits2Float(0xc097a16e), SkBits2Float(0x 426e5e22), SkBits2Float(0xc0f0d105), SkBits2Float(0x426c7311), SkBits2Float(0xc1 2484ba)); 3980 path.cubicTo(SkBits2Float(0x426f8319), SkBits2Float(0xc097a16e), SkBits2Float(0x 426e5e22), SkBits2Float(0xc0f0d105), SkBits2Float(0x426c7311), SkBits2Float(0xc1 2484ba));
3976 path.lineTo(SkBits2Float(0x42a38b52), SkBits2Float(0xc1639578)); 3981 path.lineTo(SkBits2Float(0x42a38b52), SkBits2Float(0xc1639578));
3977 path.close(); 3982 path.close();
3978 3983
3979 SkPath path2(path); 3984 SkPath path2(path);
3980 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 3985 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
3981 } 3986 }
3982 // op end success 1 3987 // op end success 1
3983 3988
3984 static void battleOp149(skiatest::Reporter* reporter, const char* filename) { 3989 static void battleOp149(skiatest::Reporter* reporter, const char* filename) {
3985 SkPath path; 3990 SkPath path;
3986 path.setFillType((SkPath::FillType) 1); 3991 path.setFillType((SkPath::FillType) 1);
3987 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); 3992 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000));
3988 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 3993 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
3989 path.cubicTo(SkBits2Float(0x42216831), SkBits2Float(0xc2a60000), SkBits2Float(0x 4295b6bc), SkBits2Float(0xc257ea44), SkBits2Float(0x42a38b52), SkBits2Float(0xc1 639578)); 3994 path.cubicTo(SkBits2Float(0x42216831), SkBits2Float(0xc2a60000), SkBits2Float(0x 4295b6bc), SkBits2Float(0xc257ea44), SkBits2Float(0x42a38b52), SkBits2Float(0xc1 639578));
3990 path.lineTo(SkBits2Float(0x426c7311), SkBits2Float(0xc12484ba)); 3995 path.lineTo(SkBits2Float(0x426c7311), SkBits2Float(0xc12484ba));
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
4080 path.reset(); 4085 path.reset();
4081 path.setFillType((SkPath::FillType) 0); 4086 path.setFillType((SkPath::FillType) 0);
4082 path.moveTo(SkBits2Float(0x42a5fe22), SkBits2Float(0x3f4744a1)); 4087 path.moveTo(SkBits2Float(0x42a5fe22), SkBits2Float(0x3f4744a1));
4083 path.cubicTo(SkBits2Float(0x42a5e921), SkBits2Float(0x40a4df91), SkBits2Float(0x 42a52322), SkBits2Float(0x411841f7), SkBits2Float(0x42a3adfe), SkBits2Float(0x41 5d43d0)); 4088 path.cubicTo(SkBits2Float(0x42a5e921), SkBits2Float(0x40a4df91), SkBits2Float(0x 42a52322), SkBits2Float(0x411841f7), SkBits2Float(0x42a3adfe), SkBits2Float(0x41 5d43d0));
4084 path.lineTo(SkBits2Float(0x426ca531), SkBits2Float(0x411ff355)); 4089 path.lineTo(SkBits2Float(0x426ca531), SkBits2Float(0x411ff355));
4085 path.cubicTo(SkBits2Float(0x426ec0ad), SkBits2Float(0x40dc21ae), SkBits2Float(0x 426fdeef), SkBits2Float(0x406e5efe), SkBits2Float(0x426ffd4d), SkBits2Float(0x3f 100c9b)); 4090 path.cubicTo(SkBits2Float(0x426ec0ad), SkBits2Float(0x40dc21ae), SkBits2Float(0x 426fdeef), SkBits2Float(0x406e5efe), SkBits2Float(0x426ffd4d), SkBits2Float(0x3f 100c9b));
4086 path.lineTo(SkBits2Float(0x42a5fe22), SkBits2Float(0x3f4744a1)); 4091 path.lineTo(SkBits2Float(0x42a5fe22), SkBits2Float(0x3f4744a1));
4087 path.close(); 4092 path.close();
4088 4093
4089 SkPath path2(path); 4094 SkPath path2(path);
4090 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 4095 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
4091 } 4096 }
4092 // op end success 1 4097 // op end success 1
4093 4098
4094 static void battleOp153(skiatest::Reporter* reporter, const char* filename) { 4099 static void battleOp153(skiatest::Reporter* reporter, const char* filename) {
4095 SkPath path; 4100 SkPath path;
4096 path.setFillType((SkPath::FillType) 1); 4101 path.setFillType((SkPath::FillType) 1);
4097 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000)); 4102 path.moveTo(SkBits2Float(0x00000000), SkBits2Float(0xc2700000));
4098 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 4103 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
4099 path.cubicTo(SkBits2Float(0x41b12ed4), SkBits2Float(0xc2a60000), SkBits2Float(0x 422d822c), SkBits2Float(0xc2944bde), SkBits2Float(0x426bdb91), SkBits2Float(0xc2 69a7f3)); 4104 path.cubicTo(SkBits2Float(0x41b12ed4), SkBits2Float(0xc2a60000), SkBits2Float(0x 422d822c), SkBits2Float(0xc2944bde), SkBits2Float(0x426bdb91), SkBits2Float(0xc2 69a7f3));
4100 path.cubicTo(SkBits2Float(0x42951a7b), SkBits2Float(0xc22ab829), SkBits2Float(0x 42a66879), SkBits2Float(0xc1aaf2b1), SkBits2Float(0x42a5fe21), SkBits2Float(0x3f 4744a0)); 4105 path.cubicTo(SkBits2Float(0x42951a7b), SkBits2Float(0xc22ab829), SkBits2Float(0x 42a66879), SkBits2Float(0xc1aaf2b1), SkBits2Float(0x42a5fe21), SkBits2Float(0x3f 4744a0));
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
4228 path.moveTo(SkBits2Float(0x429c4e4c), SkBits2Float(0x41df969b)); 4233 path.moveTo(SkBits2Float(0x429c4e4c), SkBits2Float(0x41df969b));
4229 path.cubicTo(SkBits2Float(0x4280e391), SkBits2Float(0x4284903f), SkBits2Float(0x 41c7a851), SkBits2Float(0x42b2072e), SkBits2Float(0xc1713833), SkBits2Float(0x42 a33d14)); 4234 path.cubicTo(SkBits2Float(0x4280e391), SkBits2Float(0x4284903f), SkBits2Float(0x 41c7a851), SkBits2Float(0x42b2072e), SkBits2Float(0xc1713833), SkBits2Float(0x42 a33d14));
4230 path.cubicTo(SkBits2Float(0xc25c7040), SkBits2Float(0x429472fb), SkBits2Float(0x c2a7bda2), SkBits2Float(0x421b8b2e), SkBits2Float(0xc2a5f5d6), SkBits2Float(0xbf e85110)); 4235 path.cubicTo(SkBits2Float(0xc25c7040), SkBits2Float(0x429472fb), SkBits2Float(0x c2a7bda2), SkBits2Float(0x421b8b2e), SkBits2Float(0xc2a5f5d6), SkBits2Float(0xbf e85110));
4231 path.lineTo(SkBits2Float(0xc26ff14f), SkBits2Float(0xbfa7f00b)); 4236 path.lineTo(SkBits2Float(0xc26ff14f), SkBits2Float(0xbfa7f00b));
4232 path.cubicTo(SkBits2Float(0xc272844c), SkBits2Float(0x41e0e1f3), SkBits2Float(0x c21f5a65), SkBits2Float(0x4256a019), SkBits2Float(0xc12e6015), SkBits2Float(0x42 6c01f9)); 4237 path.cubicTo(SkBits2Float(0xc272844c), SkBits2Float(0x41e0e1f3), SkBits2Float(0x c21f5a65), SkBits2Float(0x4256a019), SkBits2Float(0xc12e6015), SkBits2Float(0x42 6c01f9));
4233 path.cubicTo(SkBits2Float(0x419054b7), SkBits2Float(0x4280b1ec), SkBits2Float(0x 423a5877), SkBits2Float(0x423fa872), SkBits2Float(0x4261fc02), SkBits2Float(0x41 a1a142)); 4238 path.cubicTo(SkBits2Float(0x419054b7), SkBits2Float(0x4280b1ec), SkBits2Float(0x 423a5877), SkBits2Float(0x423fa872), SkBits2Float(0x4261fc02), SkBits2Float(0x41 a1a142));
4234 path.lineTo(SkBits2Float(0x429c4e4c), SkBits2Float(0x41df969b)); 4239 path.lineTo(SkBits2Float(0x429c4e4c), SkBits2Float(0x41df969b));
4235 path.close(); 4240 path.close();
4236 4241
4237 SkPath path2(path); 4242 SkPath path2(path);
4238 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 4243 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
4239 } 4244 }
4240 // op end success 1 4245 // op end success 1
4241 4246
4242 static void battleOp158(skiatest::Reporter* reporter, const char* filename) { 4247 static void battleOp158(skiatest::Reporter* reporter, const char* filename) {
4243 SkPath path; 4248 SkPath path;
4244 path.setFillType((SkPath::FillType) 0); 4249 path.setFillType((SkPath::FillType) 0);
4245 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 4250 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
4246 path.cubicTo(SkBits2Float(0x41cb677f), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 4245cb36), SkBits2Float(0xc28eb15b), SkBits2Float(0x42825fc2), SkBits2Float(0xc2 4d8299)); 4251 path.cubicTo(SkBits2Float(0x41cb677f), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 4245cb36), SkBits2Float(0xc28eb15b), SkBits2Float(0x42825fc2), SkBits2Float(0xc2 4d8299));
4247 path.cubicTo(SkBits2Float(0x42a1d9e8), SkBits2Float(0xc1fb44f8), SkBits2Float(0x 42ad4967), SkBits2Float(0xc0aa7cf8), SkBits2Float(0x42a1679f), SkBits2Float(0x41 9b26cf)); 4252 path.cubicTo(SkBits2Float(0x42a1d9e8), SkBits2Float(0xc1fb44f8), SkBits2Float(0x 42ad4967), SkBits2Float(0xc0aa7cf8), SkBits2Float(0x42a1679f), SkBits2Float(0x41 9b26cf));
4248 path.lineTo(SkBits2Float(0x42695b36), SkBits2Float(0x416050ca)); 4253 path.lineTo(SkBits2Float(0x42695b36), SkBits2Float(0x416050ca));
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
4402 path.moveTo(SkBits2Float(0x428cfdb5), SkBits2Float(0x422f3e36)); 4407 path.moveTo(SkBits2Float(0x428cfdb5), SkBits2Float(0x422f3e36));
4403 path.cubicTo(SkBits2Float(0x42397b9c), SkBits2Float(0x42a54202), SkBits2Float(0x c0931849), SkBits2Float(0x42bd474f), SkBits2Float(0xc22e0fe8), SkBits2Float(0x42 8d5ab7)); 4408 path.cubicTo(SkBits2Float(0x42397b9c), SkBits2Float(0x42a54202), SkBits2Float(0x c0931849), SkBits2Float(0x42bd474f), SkBits2Float(0xc22e0fe8), SkBits2Float(0x42 8d5ab7));
4404 path.cubicTo(SkBits2Float(0xc2a4de63), SkBits2Float(0x423adc3f), SkBits2Float(0x c2bd50df), SkBits2Float(0xc08673c0), SkBits2Float(0xc28db7cd), SkBits2Float(0xc2 2ce1b4)); 4409 path.cubicTo(SkBits2Float(0xc2a4de63), SkBits2Float(0x423adc3f), SkBits2Float(0x c2bd50df), SkBits2Float(0xc08673c0), SkBits2Float(0xc28db7cd), SkBits2Float(0xc2 2ce1b4));
4405 path.lineTo(SkBits2Float(0xc24ce4bb), SkBits2Float(0xc1f9f306)); 4410 path.lineTo(SkBits2Float(0xc24ce4bb), SkBits2Float(0xc1f9f306));
4406 path.cubicTo(SkBits2Float(0xc288db72), SkBits2Float(0xc0426216), SkBits2Float(0x c26e5ec8), SkBits2Float(0x42071590), SkBits2Float(0xc1fba9c9), SkBits2Float(0x42 4c5fa5)); 4411 path.cubicTo(SkBits2Float(0xc288db72), SkBits2Float(0xc0426216), SkBits2Float(0x c26e5ec8), SkBits2Float(0x42071590), SkBits2Float(0xc1fba9c9), SkBits2Float(0x42 4c5fa5));
4407 path.cubicTo(SkBits2Float(0xc054b001), SkBits2Float(0x4288d4dc), SkBits2Float(0x 420615fc), SkBits2Float(0x426eee67), SkBits2Float(0x424bd7af), SkBits2Float(0x41 fd5d01)); 4412 path.cubicTo(SkBits2Float(0xc054b001), SkBits2Float(0x4288d4dc), SkBits2Float(0x 420615fc), SkBits2Float(0x426eee67), SkBits2Float(0x424bd7af), SkBits2Float(0x41 fd5d01));
4408 path.lineTo(SkBits2Float(0x428cfdb5), SkBits2Float(0x422f3e36)); 4413 path.lineTo(SkBits2Float(0x428cfdb5), SkBits2Float(0x422f3e36));
4409 path.close(); 4414 path.close();
4410 4415
4411 SkPath path2(path); 4416 SkPath path2(path);
4412 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 4417 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
4413 } 4418 }
4414 // op end success 1 4419 // op end success 1
4415 4420
4416 static void battleOp164(skiatest::Reporter* reporter, const char* filename) { 4421 static void battleOp164(skiatest::Reporter* reporter, const char* filename) {
4417 SkPath path; 4422 SkPath path;
4418 path.setFillType((SkPath::FillType) 0); 4423 path.setFillType((SkPath::FillType) 0);
4419 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 4424 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
4420 path.cubicTo(SkBits2Float(0x41e183ec), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 4259cec4), SkBits2Float(0xc2896274), SkBits2Float(0x428b79bc), SkBits2Float(0xc2 340753)); 4425 path.cubicTo(SkBits2Float(0x41e183ec), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 4259cec4), SkBits2Float(0xc2896274), SkBits2Float(0x428b79bc), SkBits2Float(0xc2 340753));
4421 path.cubicTo(SkBits2Float(0x42aa0c16), SkBits2Float(0xc1aa937d), SkBits2Float(0x 42ae7c71), SkBits2Float(0x41080a55), SkBits2Float(0x42974339), SkBits2Float(0x42 08c1d5)); 4426 path.cubicTo(SkBits2Float(0x42aa0c16), SkBits2Float(0xc1aa937d), SkBits2Float(0x 42ae7c71), SkBits2Float(0x41080a55), SkBits2Float(0x42974339), SkBits2Float(0x42 08c1d5));
4422 path.lineTo(SkBits2Float(0x425ab161), SkBits2Float(0x41c5b8a2)); 4427 path.lineTo(SkBits2Float(0x425ab161), SkBits2Float(0x41c5b8a2));
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
4824 path.cubicTo(SkBits2Float(0xc2873b19), SkBits2Float(0x426b7658), SkBits2Float(0x c2ab209f), SkBits2Float(0x41d60b1d), SkBits2Float(0xc2a5685b), SkBits2Float(0xc0 e02f3c)); 4829 path.cubicTo(SkBits2Float(0xc2873b19), SkBits2Float(0x426b7658), SkBits2Float(0x c2ab209f), SkBits2Float(0x41d60b1d), SkBits2Float(0xc2a5685b), SkBits2Float(0xc0 e02f3c));
4825 path.cubicTo(SkBits2Float(0xc29fb018), SkBits2Float(0xc223115c), SkBits2Float(0x c263001e), SkBits2Float(0xc28acd07), SkBits2Float(0xc1c2e1a0), SkBits2Float(0xc2 9eb07c)); 4830 path.cubicTo(SkBits2Float(0xc29fb018), SkBits2Float(0xc223115c), SkBits2Float(0x c263001e), SkBits2Float(0xc28acd07), SkBits2Float(0xc1c2e1a0), SkBits2Float(0xc2 9eb07c));
4826 path.lineTo(SkBits2Float(0xc18ce0d1), SkBits2Float(0xc2656e32)); 4831 path.lineTo(SkBits2Float(0xc18ce0d1), SkBits2Float(0xc2656e32));
4827 path.cubicTo(SkBits2Float(0xc22418c2), SkBits2Float(0xc248ad0a), SkBits2Float(0x c266dfbc), SkBits2Float(0xc1ebc2b6), SkBits2Float(0xc26f24bb), SkBits2Float(0xc0 a20f94)); 4832 path.cubicTo(SkBits2Float(0xc22418c2), SkBits2Float(0xc248ad0a), SkBits2Float(0x c266dfbc), SkBits2Float(0xc1ebc2b6), SkBits2Float(0xc26f24bb), SkBits2Float(0xc0 a20f94));
4828 path.cubicTo(SkBits2Float(0xc27769ba), SkBits2Float(0x419abaee), SkBits2Float(0x c24383ac), SkBits2Float(0x422a36b0), SkBits2Float(0xc1d80e5c), SkBits2Float(0x42 56500a)); 4833 path.cubicTo(SkBits2Float(0xc27769ba), SkBits2Float(0x419abaee), SkBits2Float(0x c24383ac), SkBits2Float(0x422a36b0), SkBits2Float(0xc1d80e5c), SkBits2Float(0x42 56500a));
4829 path.cubicTo(SkBits2Float(0xc0a45587), SkBits2Float(0x428134b2), SkBits2Float(0x 41a9eeb8), SkBits2Float(0x4274e820), SkBits2Float(0x421e8655), SkBits2Float(0x42 3431b1)); 4834 path.cubicTo(SkBits2Float(0xc0a45587), SkBits2Float(0x428134b2), SkBits2Float(0x 41a9eeb8), SkBits2Float(0x4274e820), SkBits2Float(0x421e8655), SkBits2Float(0x42 3431b1));
4830 path.lineTo(SkBits2Float(0x425b4ae0), SkBits2Float(0x427944c0)); 4835 path.lineTo(SkBits2Float(0x425b4ae0), SkBits2Float(0x427944c0));
4831 path.close(); 4836 path.close();
4832 4837
4833 SkPath path2(path); 4838 SkPath path2(path);
4834 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l); 4839 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename);
4835 } 4840 }
4836 // op end success 1 4841 // op end success 1
4837 4842
4838 static void battleOp178(skiatest::Reporter* reporter, const char* filename) { 4843 static void battleOp178(skiatest::Reporter* reporter, const char* filename) {
4839 SkPath path; 4844 SkPath path;
4840 path.setFillType((SkPath::FillType) 0); 4845 path.setFillType((SkPath::FillType) 0);
4841 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 4846 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
4842 path.cubicTo(SkBits2Float(0x41fc5f30), SkBits2Float(0xc2a5fffe), SkBits2Float(0x 427176a0), SkBits2Float(0xc2823b95), SkBits2Float(0x4294be35), SkBits2Float(0xc2 1365c9)); 4847 path.cubicTo(SkBits2Float(0x41fc5f30), SkBits2Float(0xc2a5fffe), SkBits2Float(0x 427176a0), SkBits2Float(0xc2823b95), SkBits2Float(0x4294be35), SkBits2Float(0xc2 1365c9));
4843 path.cubicTo(SkBits2Float(0x42b0c118), SkBits2Float(0xc1095198), SkBits2Float(0x 42aa4b8f), SkBits2Float(0x41c9721a), SkBits2Float(0x42841312), SkBits2Float(0x42 491ec0)); 4848 path.cubicTo(SkBits2Float(0x42b0c118), SkBits2Float(0xc1095198), SkBits2Float(0x 42aa4b8f), SkBits2Float(0x41c9721a), SkBits2Float(0x42841312), SkBits2Float(0x42 491ec0));
4844 path.lineTo(SkBits2Float(0x423ef37b), SkBits2Float(0x42116356)); 4849 path.lineTo(SkBits2Float(0x423ef37b), SkBits2Float(0x42116356));
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
4944 path.cubicTo(SkBits2Float(0xc2903490), SkBits2Float(0x4256dc6c), SkBits2Float(0x c2af8c6f), SkBits2Float(0x419be833), SkBits2Float(0xc2a36e37), SkBits2Float(0xc1 68c0a6)); 4949 path.cubicTo(SkBits2Float(0xc2903490), SkBits2Float(0x4256dc6c), SkBits2Float(0x c2af8c6f), SkBits2Float(0x419be833), SkBits2Float(0xc2a36e37), SkBits2Float(0xc1 68c0a6));
4945 path.cubicTo(SkBits2Float(0xc2974fff), SkBits2Float(0xc242546a), SkBits2Float(0x c2448acf), SkBits2Float(0xc29698ac), SkBits2Float(0xc17253d7), SkBits2Float(0xc2 a33682)); 4950 path.cubicTo(SkBits2Float(0xc2974fff), SkBits2Float(0xc242546a), SkBits2Float(0x c2448acf), SkBits2Float(0xc29698ac), SkBits2Float(0xc17253d7), SkBits2Float(0xc2 a33682));
4946 path.lineTo(SkBits2Float(0xc12f2d38), SkBits2Float(0xc26bf872)); 4951 path.lineTo(SkBits2Float(0xc12f2d38), SkBits2Float(0xc26bf872));
4947 path.cubicTo(SkBits2Float(0xc20e1427), SkBits2Float(0xc259bacc), SkBits2Float(0x c25ac3d7), SkBits2Float(0xc20c7ab2), SkBits2Float(0xc26c48f7), SkBits2Float(0xc1 284130)); 4952 path.cubicTo(SkBits2Float(0xc20e1427), SkBits2Float(0xc259bacc), SkBits2Float(0x c25ac3d7), SkBits2Float(0xc20c7ab2), SkBits2Float(0xc26c48f7), SkBits2Float(0xc1 284130));
4948 path.cubicTo(SkBits2Float(0xc27dce17), SkBits2Float(0x41616864), SkBits2Float(0x c2507d50), SkBits2Float(0x421b5239), SkBits2Float(0xc1f51386), SkBits2Float(0x42 4e5c1e)); 4953 path.cubicTo(SkBits2Float(0xc27dce17), SkBits2Float(0x41616864), SkBits2Float(0x c2507d50), SkBits2Float(0x421b5239), SkBits2Float(0xc1f51386), SkBits2Float(0x42 4e5c1e));
4949 path.cubicTo(SkBits2Float(0xc11258cd), SkBits2Float(0x4280b301), SkBits2Float(0x 418fffac), SkBits2Float(0x4279d13a), SkBits2Float(0x42160652), SkBits2Float(0x42 3b5488)); 4954 path.cubicTo(SkBits2Float(0xc11258cd), SkBits2Float(0x4280b301), SkBits2Float(0x 418fffac), SkBits2Float(0x4279d13a), SkBits2Float(0x42160652), SkBits2Float(0x42 3b5488));
4950 path.lineTo(SkBits2Float(0x424f88ba), SkBits2Float(0x428191f0)); 4955 path.lineTo(SkBits2Float(0x424f88ba), SkBits2Float(0x428191f0));
4951 path.close(); 4956 path.close();
4952 4957
4953 SkPath path2(path); 4958 SkPath path2(path);
4954 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 4959 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
4955 } 4960 }
4956 // op end success 1 4961 // op end success 1
4957 4962
4958 static void battleOp182(skiatest::Reporter* reporter, const char* filename) { 4963 static void battleOp182(skiatest::Reporter* reporter, const char* filename) {
4959 SkPath path; 4964 SkPath path;
4960 path.setFillType((SkPath::FillType) 0); 4965 path.setFillType((SkPath::FillType) 0);
4961 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 4966 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
4962 path.cubicTo(SkBits2Float(0x420048ef), SkBits2Float(0xc2a60000), SkBits2Float(0x 4275172d), SkBits2Float(0xc2810bd2), SkBits2Float(0x429602e3), SkBits2Float(0xc2 0e29dc)); 4967 path.cubicTo(SkBits2Float(0x420048ef), SkBits2Float(0xc2a60000), SkBits2Float(0x 4275172d), SkBits2Float(0xc2810bd2), SkBits2Float(0x429602e3), SkBits2Float(0xc2 0e29dc));
4963 path.cubicTo(SkBits2Float(0x42b17a30), SkBits2Float(0xc0d1e0a1), SkBits2Float(0x 42a9174e), SkBits2Float(0x41ddef9e), SkBits2Float(0x4280787d), SkBits2Float(0x42 52400e)); 4968 path.cubicTo(SkBits2Float(0x42b17a30), SkBits2Float(0xc0d1e0a1), SkBits2Float(0x 42a9174e), SkBits2Float(0x41ddef9e), SkBits2Float(0x4280787d), SkBits2Float(0x42 52400e));
4964 path.lineTo(SkBits2Float(0x4239bd9f), SkBits2Float(0x4217fcf6)); 4969 path.lineTo(SkBits2Float(0x4239bd9f), SkBits2Float(0x4217fcf6));
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
5355 path.reset(); 5360 path.reset();
5356 path.setFillType((SkPath::FillType) 0); 5361 path.setFillType((SkPath::FillType) 0);
5357 path.moveTo(SkBits2Float(0x3fc9081a), SkBits2Float(0xc2a5f864)); 5362 path.moveTo(SkBits2Float(0x3fc9081a), SkBits2Float(0xc2a5f864));
5358 path.cubicTo(SkBits2Float(0x3fcfbb75), SkBits2Float(0xc2a5f7e2), SkBits2Float(0x 3fd66eab), SkBits2Float(0xc2a5f75a), SkBits2Float(0x3fdd21d8), SkBits2Float(0xc2 a5f6cb)); 5363 path.cubicTo(SkBits2Float(0x3fcfbb75), SkBits2Float(0xc2a5f7e2), SkBits2Float(0x 3fd66eab), SkBits2Float(0xc2a5f75a), SkBits2Float(0x3fdd21d8), SkBits2Float(0xc2 a5f6cb));
5359 path.lineTo(SkBits2Float(0x3f9fdac0), SkBits2Float(0xc26ff2b1)); 5364 path.lineTo(SkBits2Float(0x3f9fdac0), SkBits2Float(0xc26ff2b1));
5360 path.cubicTo(SkBits2Float(0x3f9b02da), SkBits2Float(0xc26ff37f), SkBits2Float(0x 3f962add), SkBits2Float(0xc26ff444), SkBits2Float(0x3f9152da), SkBits2Float(0xc2 6ff500)); 5365 path.cubicTo(SkBits2Float(0x3f9b02da), SkBits2Float(0xc26ff37f), SkBits2Float(0x 3f962add), SkBits2Float(0xc26ff444), SkBits2Float(0x3f9152da), SkBits2Float(0xc2 6ff500));
5361 path.lineTo(SkBits2Float(0x3fc9081a), SkBits2Float(0xc2a5f864)); 5366 path.lineTo(SkBits2Float(0x3fc9081a), SkBits2Float(0xc2a5f864));
5362 path.close(); 5367 path.close();
5363 5368
5364 SkPath path2(path); 5369 SkPath path2(path);
5365 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 5370 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
5366 } 5371 }
5367 // op end success 1 5372 // op end success 1
5368 5373
5369 static void battleOp196(skiatest::Reporter* reporter, const char* filename) { 5374 static void battleOp196(skiatest::Reporter* reporter, const char* filename) {
5370 SkPath path; 5375 SkPath path;
5371 path.setFillType((SkPath::FillType) 1); 5376 path.setFillType((SkPath::FillType) 1);
5372 path.moveTo(SkBits2Float(0x36a51f4a), SkBits2Float(0xc26fffff)); 5377 path.moveTo(SkBits2Float(0x36a51f4a), SkBits2Float(0xc26fffff));
5373 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 5378 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
5374 path.cubicTo(SkBits2Float(0x3f0607d1), SkBits2Float(0xc2a60000), SkBits2Float(0x 3f860758), SkBits2Float(0xc2a5fd76), SkBits2Float(0x3fc9081a), SkBits2Float(0xc2 a5f864)); 5379 path.cubicTo(SkBits2Float(0x3f0607d1), SkBits2Float(0xc2a60000), SkBits2Float(0x 3f860758), SkBits2Float(0xc2a5fd76), SkBits2Float(0x3fc9081a), SkBits2Float(0xc2 a5f864));
5375 5380
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
5431 path.reset(); 5436 path.reset();
5432 path.setFillType((SkPath::FillType) 0); 5437 path.setFillType((SkPath::FillType) 0);
5433 path.moveTo(SkBits2Float(0x40848cae), SkBits2Float(0xc2a5cb0c)); 5438 path.moveTo(SkBits2Float(0x40848cae), SkBits2Float(0xc2a5cb0c));
5434 path.cubicTo(SkBits2Float(0x40c597bc), SkBits2Float(0xc2a5970c), SkBits2Float(0x 41033f43), SkBits2Float(0xc2a53cca), SkBits2Float(0x41238fb3), SkBits2Float(0xc2 a4bc74)); 5439 path.cubicTo(SkBits2Float(0x40c597bc), SkBits2Float(0xc2a5970c), SkBits2Float(0x 41033f43), SkBits2Float(0xc2a53cca), SkBits2Float(0x41238fb3), SkBits2Float(0xc2 a4bc74));
5435 path.lineTo(SkBits2Float(0x40ec7963), SkBits2Float(0xc26e2c38)); 5440 path.lineTo(SkBits2Float(0x40ec7963), SkBits2Float(0xc26e2c38));
5436 path.cubicTo(SkBits2Float(0x40bdc13f), SkBits2Float(0xc26ee5c4), SkBits2Float(0x 408ed689), SkBits2Float(0xc26f6843), SkBits2Float(0x403fa341), SkBits2Float(0xc2 6fb372)); 5441 path.cubicTo(SkBits2Float(0x40bdc13f), SkBits2Float(0xc26ee5c4), SkBits2Float(0x 408ed689), SkBits2Float(0xc26f6843), SkBits2Float(0x403fa341), SkBits2Float(0xc2 6fb372));
5437 path.lineTo(SkBits2Float(0x40848cae), SkBits2Float(0xc2a5cb0c)); 5442 path.lineTo(SkBits2Float(0x40848cae), SkBits2Float(0xc2a5cb0c));
5438 path.close(); 5443 path.close();
5439 5444
5440 SkPath path2(path); 5445 SkPath path2(path);
5441 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 5446 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
5442 } 5447 }
5443 // op end success 1 5448 // op end success 1
5444 5449
5445 static void battleOp199(skiatest::Reporter* reporter, const char* filename) { 5450 static void battleOp199(skiatest::Reporter* reporter, const char* filename) {
5446 SkPath path; 5451 SkPath path;
5447 path.setFillType((SkPath::FillType) 0); 5452 path.setFillType((SkPath::FillType) 0);
5448 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 5453 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
5449 path.cubicTo(SkBits2Float(0x3ffdfad4), SkBits2Float(0xc2a60000), SkBits2Float(0x 407df074), SkBits2Float(0xc2a5db92), SkBits2Float(0x40be4d32), SkBits2Float(0xc2 a592c7)); 5454 path.cubicTo(SkBits2Float(0x3ffdfad4), SkBits2Float(0xc2a60000), SkBits2Float(0x 407df074), SkBits2Float(0xc2a5db92), SkBits2Float(0x40be4d32), SkBits2Float(0xc2 a592c7));
5450 path.lineTo(SkBits2Float(0x40899143), SkBits2Float(0xc26f6217)); 5455 path.lineTo(SkBits2Float(0x40899143), SkBits2Float(0xc26f6217));
5451 path.cubicTo(SkBits2Float(0x40379219), SkBits2Float(0xc26fcb54), SkBits2Float(0x 3fb799b8), SkBits2Float(0xc26fffff), SkBits2Float(0x3673fea3), SkBits2Float(0xc2 6fffff)); 5456 path.cubicTo(SkBits2Float(0x40379219), SkBits2Float(0xc26fcb54), SkBits2Float(0x 3fb799b8), SkBits2Float(0xc26fffff), SkBits2Float(0x3673fea3), SkBits2Float(0xc2 6fffff));
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
6285 path.moveTo(SkBits2Float(0x429ff91f), SkBits2Float(0xc1b14b8a)); 6290 path.moveTo(SkBits2Float(0x429ff91f), SkBits2Float(0xc1b14b8a));
6286 path.cubicTo(SkBits2Float(0x42ae673b), SkBits2Float(0x40783c41), SkBits2Float(0x 42a293c2), SkBits2Float(0x41fe6960), SkBits2Float(0x4280464e), SkBits2Float(0x42 52ba7b)); 6291 path.cubicTo(SkBits2Float(0x42ae673b), SkBits2Float(0x40783c41), SkBits2Float(0x 42a293c2), SkBits2Float(0x41fe6960), SkBits2Float(0x4280464e), SkBits2Float(0x42 52ba7b));
6287 path.cubicTo(SkBits2Float(0x423bf1b3), SkBits2Float(0x42932023), SkBits2Float(0x 41a5f32c), SkBits2Float(0x42a99309), SkBits2Float(0xc0c67989), SkBits2Float(0x42 a5892f)); 6292 path.cubicTo(SkBits2Float(0x423bf1b3), SkBits2Float(0x42932023), SkBits2Float(0x 41a5f32c), SkBits2Float(0x42a99309), SkBits2Float(0xc0c67989), SkBits2Float(0x42 a5892f));
6288 path.lineTo(SkBits2Float(0xc08f79c7), SkBits2Float(0x426f5437)); 6293 path.lineTo(SkBits2Float(0xc08f79c7), SkBits2Float(0x426f5437));
6289 path.cubicTo(SkBits2Float(0x416fed74), SkBits2Float(0x42752af2), SkBits2Float(0x 4207dcfc), SkBits2Float(0x4254b62d), SkBits2Float(0x42397512), SkBits2Float(0x42 185575)); 6294 path.cubicTo(SkBits2Float(0x416fed74), SkBits2Float(0x42752af2), SkBits2Float(0x 4207dcfc), SkBits2Float(0x4254b62d), SkBits2Float(0x42397512), SkBits2Float(0x42 185575));
6290 path.cubicTo(SkBits2Float(0x426b0d26), SkBits2Float(0x41b7e97d), SkBits2Float(0x 427c2639), SkBits2Float(0x40337286), SkBits2Float(0x42674956), SkBits2Float(0xc1 802a46)); 6295 path.cubicTo(SkBits2Float(0x426b0d26), SkBits2Float(0x41b7e97d), SkBits2Float(0x 427c2639), SkBits2Float(0x40337286), SkBits2Float(0x42674956), SkBits2Float(0xc1 802a46));
6291 path.lineTo(SkBits2Float(0x429ff91f), SkBits2Float(0xc1b14b8a)); 6296 path.lineTo(SkBits2Float(0x429ff91f), SkBits2Float(0xc1b14b8a));
6292 path.close(); 6297 path.close();
6293 6298
6294 SkPath path2(path); 6299 SkPath path2(path);
6295 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 6300 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
6296 } 6301 }
6297 // op end success 1 6302 // op end success 1
6298 6303
6299 static void battleOp231(skiatest::Reporter* reporter, const char* filename) { 6304 static void battleOp231(skiatest::Reporter* reporter, const char* filename) {
6300 SkPath path; 6305 SkPath path;
6301 path.setFillType((SkPath::FillType) 0); 6306 path.setFillType((SkPath::FillType) 0);
6302 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 6307 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
6303 path.cubicTo(SkBits2Float(0x421472e7), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 428b6da4), SkBits2Float(0xc26973d7), SkBits2Float(0x429fb179), SkBits2Float(0xc1 b54986)); 6308 path.cubicTo(SkBits2Float(0x421472e7), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 428b6da4), SkBits2Float(0xc26973d7), SkBits2Float(0x429fb179), SkBits2Float(0xc1 b54986));
6304 path.lineTo(SkBits2Float(0x4266e1be), SkBits2Float(0xc1830d0f)); 6309 path.lineTo(SkBits2Float(0x4266e1be), SkBits2Float(0xc1830d0f));
6305 path.cubicTo(SkBits2Float(0x42499544), SkBits2Float(0xc228c2c8), SkBits2Float(0x 41d69ff6), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2 700000)); 6310 path.cubicTo(SkBits2Float(0x42499544), SkBits2Float(0xc228c2c8), SkBits2Float(0x 41d69ff6), SkBits2Float(0xc2700000), SkBits2Float(0x357ffa94), SkBits2Float(0xc2 700000));
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
7042 path.cubicTo(SkBits2Float(0xc261a0a2), SkBits2Float(0x4289e850), SkBits2Float(0x c29d25ee), SkBits2Float(0x4227ed4e), SkBits2Float(0xc2a4d3d8), SkBits2Float(0x41 1d8f80)); 7047 path.cubicTo(SkBits2Float(0xc261a0a2), SkBits2Float(0x4289e850), SkBits2Float(0x c29d25ee), SkBits2Float(0x4227ed4e), SkBits2Float(0xc2a4d3d8), SkBits2Float(0x41 1d8f80));
7043 path.cubicTo(SkBits2Float(0xc2ac81c3), SkBits2Float(0xc1b24b1c), SkBits2Float(0x c28e216c), SkBits2Float(0xc256e38c), SkBits2Float(0xc22e0453), SkBits2Float(0xc2 8d5ec3)); 7048 path.cubicTo(SkBits2Float(0xc2ac81c3), SkBits2Float(0xc1b24b1c), SkBits2Float(0x c28e216c), SkBits2Float(0xc256e38c), SkBits2Float(0xc22e0453), SkBits2Float(0xc2 8d5ec3));
7044 path.lineTo(SkBits2Float(0xc1fb9743), SkBits2Float(0xc24c63fd)); 7049 path.lineTo(SkBits2Float(0xc1fb9743), SkBits2Float(0xc24c63fd));
7045 path.cubicTo(SkBits2Float(0xc24d7d6b), SkBits2Float(0xc21b575f), SkBits2Float(0x c279684a), SkBits2Float(0xc180e302), SkBits2Float(0xc26e4dff), SkBits2Float(0x40 e3cc4e)); 7050 path.cubicTo(SkBits2Float(0xc24d7d6b), SkBits2Float(0xc21b575f), SkBits2Float(0x c279684a), SkBits2Float(0xc180e302), SkBits2Float(0xc26e4dff), SkBits2Float(0x40 e3cc4e));
7046 path.cubicTo(SkBits2Float(0xc26333b4), SkBits2Float(0x41f2c929), SkBits2Float(0x c2231aa4), SkBits2Float(0x42476256), SkBits2Float(0xc1943166), SkBits2Float(0x42 64467e)); 7051 path.cubicTo(SkBits2Float(0xc26333b4), SkBits2Float(0x41f2c929), SkBits2Float(0x c2231aa4), SkBits2Float(0x42476256), SkBits2Float(0xc1943166), SkBits2Float(0x42 64467e));
7047 path.cubicTo(SkBits2Float(0x406e93d1), SkBits2Float(0x42809553), SkBits2Float(0x 41e1305a), SkBits2Float(0x4267b03c), SkBits2Float(0x423026ed), SkBits2Float(0x42 230127)); 7052 path.cubicTo(SkBits2Float(0x406e93d1), SkBits2Float(0x42809553), SkBits2Float(0x 41e1305a), SkBits2Float(0x4267b03c), SkBits2Float(0x423026ed), SkBits2Float(0x42 230127));
7048 path.lineTo(SkBits2Float(0x4273ad4f), SkBits2Float(0x42617d52)); 7053 path.lineTo(SkBits2Float(0x4273ad4f), SkBits2Float(0x42617d52));
7049 path.close(); 7054 path.close();
7050 7055
7051 SkPath path2(path); 7056 SkPath path2(path);
7052 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 7057 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
7053 } 7058 }
7054 // op end success 1 7059 // op end success 1
7055 7060
7056 static void battleOp257(skiatest::Reporter* reporter, const char* filename) { 7061 static void battleOp257(skiatest::Reporter* reporter, const char* filename) {
7057 SkPath path; 7062 SkPath path;
7058 path.setFillType((SkPath::FillType) 0); 7063 path.setFillType((SkPath::FillType) 0);
7059 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 7064 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
7060 path.cubicTo(SkBits2Float(0x41f2d268), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 426923a2), SkBits2Float(0xc284dd06), SkBits2Float(0x4291aced), SkBits2Float(0xc2 1f2e53)); 7065 path.cubicTo(SkBits2Float(0x41f2d268), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 426923a2), SkBits2Float(0xc284dd06), SkBits2Float(0x4291aced), SkBits2Float(0xc2 1f2e53));
7061 path.cubicTo(SkBits2Float(0x42aec809), SkBits2Float(0xc1528a66), SkBits2Float(0x 42ac7c90), SkBits2Float(0x419a60b1), SkBits2Float(0x428bb0fe), SkBits2Float(0x42 335ba0)); 7066 path.cubicTo(SkBits2Float(0x42aec809), SkBits2Float(0xc1528a66), SkBits2Float(0x 42ac7c90), SkBits2Float(0x419a60b1), SkBits2Float(0x428bb0fe), SkBits2Float(0x42 335ba0));
7062 path.lineTo(SkBits2Float(0x4249f6a4), SkBits2Float(0x4201a806)); 7067 path.lineTo(SkBits2Float(0x4249f6a4), SkBits2Float(0x4201a806));
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
7431 path.reset(); 7436 path.reset();
7432 path.setFillType((SkPath::FillType) 0); 7437 path.setFillType((SkPath::FillType) 0);
7433 path.moveTo(SkBits2Float(0x427e3109), SkBits2Float(0x42559108)); 7438 path.moveTo(SkBits2Float(0x427e3109), SkBits2Float(0x42559108));
7434 path.cubicTo(SkBits2Float(0x426e0477), SkBits2Float(0x4268d13b), SkBits2Float(0x 425bb575), SkBits2Float(0x427a2b1d), SkBits2Float(0x42479e2a), SkBits2Float(0x42 84a4a0)); 7439 path.cubicTo(SkBits2Float(0x426e0477), SkBits2Float(0x4268d13b), SkBits2Float(0x 425bb575), SkBits2Float(0x427a2b1d), SkBits2Float(0x42479e2a), SkBits2Float(0x42 84a4a0));
7435 path.lineTo(SkBits2Float(0x42104d52), SkBits2Float(0x423fc5ea)); 7440 path.lineTo(SkBits2Float(0x42104d52), SkBits2Float(0x423fc5ea));
7436 path.cubicTo(SkBits2Float(0x421ed35e), SkBits2Float(0x4234d83a), SkBits2Float(0x 422c0f91), SkBits2Float(0x42284d3a), SkBits2Float(0x4237c0bf), SkBits2Float(0x42 1a62ad)); 7441 path.cubicTo(SkBits2Float(0x421ed35e), SkBits2Float(0x4234d83a), SkBits2Float(0x 422c0f91), SkBits2Float(0x42284d3a), SkBits2Float(0x4237c0bf), SkBits2Float(0x42 1a62ad));
7437 path.lineTo(SkBits2Float(0x427e3109), SkBits2Float(0x42559108)); 7442 path.lineTo(SkBits2Float(0x427e3109), SkBits2Float(0x42559108));
7438 path.close(); 7443 path.close();
7439 7444
7440 SkPath path2(path); 7445 SkPath path2(path);
7441 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 7446 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
7442 } 7447 }
7443 // op end success 1 7448 // op end success 1
7444 7449
7445 static void battleOp270(skiatest::Reporter* reporter, const char* filename) { 7450 static void battleOp270(skiatest::Reporter* reporter, const char* filename) {
7446 SkPath path; 7451 SkPath path;
7447 path.setFillType((SkPath::FillType) 1); 7452 path.setFillType((SkPath::FillType) 1);
7448 path.moveTo(SkBits2Float(0xb7060057), SkBits2Float(0xc2700000)); 7453 path.moveTo(SkBits2Float(0xb7060057), SkBits2Float(0xc2700000));
7449 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 7454 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
7450 path.cubicTo(SkBits2Float(0x42011047), SkBits2Float(0xc2a60000), SkBits2Float(0x 42766e56), SkBits2Float(0xc28099ef), SkBits2Float(0x42967824), SkBits2Float(0xc2 0c36c8)); 7455 path.cubicTo(SkBits2Float(0x42011047), SkBits2Float(0xc2a60000), SkBits2Float(0x 42766e56), SkBits2Float(0xc28099ef), SkBits2Float(0x42967824), SkBits2Float(0xc2 0c36c8));
7451 path.cubicTo(SkBits2Float(0x42b1b91c), SkBits2Float(0xc0b9cd9b), SkBits2Float(0x 42a89b7a), SkBits2Float(0x41e5804f), SkBits2Float(0x427e310b), SkBits2Float(0x42 559106)); 7456 path.cubicTo(SkBits2Float(0x42b1b91c), SkBits2Float(0xc0b9cd9b), SkBits2Float(0x 42a89b7a), SkBits2Float(0x41e5804f), SkBits2Float(0x427e310b), SkBits2Float(0x42 559106));
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
7548 path.reset(); 7553 path.reset();
7549 path.setFillType((SkPath::FillType) 0); 7554 path.setFillType((SkPath::FillType) 0);
7550 path.moveTo(SkBits2Float(0x4279eebd), SkBits2Float(0x425a890e)); 7555 path.moveTo(SkBits2Float(0x4279eebd), SkBits2Float(0x425a890e));
7551 path.cubicTo(SkBits2Float(0x42693cf3), SkBits2Float(0x426da0dc), SkBits2Float(0x 42566929), SkBits2Float(0x427ebed8), SkBits2Float(0x4241d1ac), SkBits2Float(0x42 86c6a2)); 7556 path.cubicTo(SkBits2Float(0x42693cf3), SkBits2Float(0x426da0dc), SkBits2Float(0x 42566929), SkBits2Float(0x427ebed8), SkBits2Float(0x4241d1ac), SkBits2Float(0x42 86c6a2));
7552 path.lineTo(SkBits2Float(0x420c1c33), SkBits2Float(0x4242db53)); 7557 path.lineTo(SkBits2Float(0x420c1c33), SkBits2Float(0x4242db53));
7553 path.cubicTo(SkBits2Float(0x421afee9), SkBits2Float(0x42382742), SkBits2Float(0x 42289b18), SkBits2Float(0x422bc78f), SkBits2Float(0x4234ac94), SkBits2Float(0x42 1dfa34)); 7558 path.cubicTo(SkBits2Float(0x421afee9), SkBits2Float(0x42382742), SkBits2Float(0x 42289b18), SkBits2Float(0x422bc78f), SkBits2Float(0x4234ac94), SkBits2Float(0x42 1dfa34));
7554 path.lineTo(SkBits2Float(0x4279eebd), SkBits2Float(0x425a890e)); 7559 path.lineTo(SkBits2Float(0x4279eebd), SkBits2Float(0x425a890e));
7555 path.close(); 7560 path.close();
7556 7561
7557 SkPath path2(path); 7562 SkPath path2(path);
7558 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 7563 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
7559 } 7564 }
7560 // op end success 1 7565 // op end success 1
7561 7566
7562 static void battleOp274(skiatest::Reporter* reporter, const char* filename) { 7567 static void battleOp274(skiatest::Reporter* reporter, const char* filename) {
7563 SkPath path; 7568 SkPath path;
7564 path.setFillType((SkPath::FillType) 1); 7569 path.setFillType((SkPath::FillType) 1);
7565 path.moveTo(SkBits2Float(0xb630015d), SkBits2Float(0xc2700000)); 7570 path.moveTo(SkBits2Float(0xb630015d), SkBits2Float(0xc2700000));
7566 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 7571 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
7567 path.cubicTo(SkBits2Float(0x42023f77), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 427876e4), SkBits2Float(0xc27fd6f4), SkBits2Float(0x42972728), SkBits2Float(0xc2 093dbb)); 7572 path.cubicTo(SkBits2Float(0x42023f77), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 427876e4), SkBits2Float(0xc27fd6f4), SkBits2Float(0x42972728), SkBits2Float(0xc2 093dbb));
7568 path.cubicTo(SkBits2Float(0x42b212de), SkBits2Float(0xc0952410), SkBits2Float(0x 42a7d55b), SkBits2Float(0x41f0f791), SkBits2Float(0x4279eebf), SkBits2Float(0x42 5a890b)); 7573 path.cubicTo(SkBits2Float(0x42b212de), SkBits2Float(0xc0952410), SkBits2Float(0x 42a7d55b), SkBits2Float(0x41f0f791), SkBits2Float(0x4279eebf), SkBits2Float(0x42 5a890b));
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
7851 path.reset(); 7856 path.reset();
7852 path.setFillType((SkPath::FillType) 0); 7857 path.setFillType((SkPath::FillType) 0);
7853 path.moveTo(SkBits2Float(0x42759f2b), SkBits2Float(0x425f5e9b)); 7858 path.moveTo(SkBits2Float(0x42759f2b), SkBits2Float(0x425f5e9b));
7854 path.cubicTo(SkBits2Float(0x42646988), SkBits2Float(0x42724b20), SkBits2Float(0x 425112cb), SkBits2Float(0x42819524), SkBits2Float(0x423bfd7a), SkBits2Float(0x42 88d30e)); 7859 path.cubicTo(SkBits2Float(0x42646988), SkBits2Float(0x42724b20), SkBits2Float(0x 425112cb), SkBits2Float(0x42819524), SkBits2Float(0x423bfd7a), SkBits2Float(0x42 88d30e));
7855 path.lineTo(SkBits2Float(0x4207e580), SkBits2Float(0x4245d187)); 7860 path.lineTo(SkBits2Float(0x4207e580), SkBits2Float(0x4245d187));
7856 path.cubicTo(SkBits2Float(0x4217232e), SkBits2Float(0x423b592c), SkBits2Float(0x 42251e07), SkBits2Float(0x422f26e4), SkBits2Float(0x42318ed3), SkBits2Float(0x42 2178d2)); 7861 path.cubicTo(SkBits2Float(0x4217232e), SkBits2Float(0x423b592c), SkBits2Float(0x 42251e07), SkBits2Float(0x422f26e4), SkBits2Float(0x42318ed3), SkBits2Float(0x42 2178d2));
7857 path.lineTo(SkBits2Float(0x42759f2b), SkBits2Float(0x425f5e9b)); 7862 path.lineTo(SkBits2Float(0x42759f2b), SkBits2Float(0x425f5e9b));
7858 path.close(); 7863 path.close();
7859 7864
7860 SkPath path2(path); 7865 SkPath path2(path);
7861 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 7866 testPathOpCheck(reporter, path1, path2, (SkPathOp) 2, filename, FLAGS_runFai l);
7862 } 7867 }
7863 // op end success 1 7868 // op end success 1
7864 7869
7865 static void battleOp284(skiatest::Reporter* reporter, const char* filename) { 7870 static void battleOp284(skiatest::Reporter* reporter, const char* filename) {
7866 SkPath path; 7871 SkPath path;
7867 path.setFillType((SkPath::FillType) 1); 7872 path.setFillType((SkPath::FillType) 1);
7868 path.moveTo(SkBits2Float(0x3707ffa9), SkBits2Float(0xc2700000)); 7873 path.moveTo(SkBits2Float(0x3707ffa9), SkBits2Float(0xc2700000));
7869 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000)); 7874 path.lineTo(SkBits2Float(0x00000000), SkBits2Float(0xc2a60000));
7870 path.cubicTo(SkBits2Float(0x42036bf7), SkBits2Float(0xc2a60000), SkBits2Float(0x 427a7934), SkBits2Float(0xc27e7a35), SkBits2Float(0x4297d0ad), SkBits2Float(0xc2 064926)); 7875 path.cubicTo(SkBits2Float(0x42036bf7), SkBits2Float(0xc2a60000), SkBits2Float(0x 427a7934), SkBits2Float(0xc27e7a35), SkBits2Float(0x4297d0ad), SkBits2Float(0xc2 064926));
7871 path.cubicTo(SkBits2Float(0x42b264c0), SkBits2Float(0xc061818a), SkBits2Float(0x 42a70569), SkBits2Float(0x41fc47ee), SkBits2Float(0x42759f2d), SkBits2Float(0x42 5f5e99)); 7876 path.cubicTo(SkBits2Float(0x42b264c0), SkBits2Float(0xc061818a), SkBits2Float(0x 42a70569), SkBits2Float(0x41fc47ee), SkBits2Float(0x42759f2d), SkBits2Float(0x42 5f5e99));
(...skipping 2802 matching lines...) Expand 10 before | Expand all | Expand 10 after
10674 path.cubicTo(SkBits2Float(0x3dbed1a5), SkBits2Float(0xc2a5fffa), SkBits2Float(0x 3dfda9cc), SkBits2Float(0xc2a5fff4), SkBits2Float(0x3e1e40f8), SkBits2Float(0xc2 a5ffed)); 10679 path.cubicTo(SkBits2Float(0x3dbed1a5), SkBits2Float(0xc2a5fffa), SkBits2Float(0x 3dfda9cc), SkBits2Float(0xc2a5fff4), SkBits2Float(0x3e1e40f8), SkBits2Float(0xc2 a5ffed));
10675 path.lineTo(SkBits2Float(0x3de4ce81), SkBits2Float(0xc26fffe5)); 10680 path.lineTo(SkBits2Float(0x3de4ce81), SkBits2Float(0xc26fffe5));
10676 path.cubicTo(SkBits2Float(0x3db75eff), SkBits2Float(0xc26ffff0), SkBits2Float(0x 3d89f101), SkBits2Float(0xc26ffff8), SkBits2Float(0x3d390604), SkBits2Float(0xc2 6ffffc)); 10681 path.cubicTo(SkBits2Float(0x3db75eff), SkBits2Float(0xc26ffff0), SkBits2Float(0x 3d89f101), SkBits2Float(0xc26ffff8), SkBits2Float(0x3d390604), SkBits2Float(0xc2 6ffffc));
10677 path.lineTo(SkBits2Float(0x3d7ff566), SkBits2Float(0xc2a5fffd)); 10682 path.lineTo(SkBits2Float(0x3d7ff566), SkBits2Float(0xc2a5fffd));
10678 path.close(); 10683 path.close();
10679 10684
10680 SkPath path2(path); 10685 SkPath path2(path);
10681 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 10686 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename);
10682 } 10687 }
10683 10688
10684 static void (*firstTest)(skiatest::Reporter* , const char* filename) = battleOp1 394; 10689 static void (*firstTest)(skiatest::Reporter* , const char* filename) = battleOp6 8;
10685 static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0; 10690 static void (*stopTest)(skiatest::Reporter* , const char* filename) = 0;
10686 10691
10687 static struct TestDesc tests[] = { 10692 static struct TestDesc tests[] = {
10688 TEST(battleOp1), 10693 TEST(battleOp1),
10689 TEST(battleOp2), 10694 TEST(battleOp2),
10690 TEST(battleOp3), 10695 TEST(battleOp3),
10691 TEST(battleOp4), 10696 TEST(battleOp4),
10692 TEST(battleOp5), 10697 TEST(battleOp5),
10693 TEST(battleOp6), 10698 TEST(battleOp6),
10694 TEST(battleOp7), 10699 TEST(battleOp7),
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
11116 11121
11117 11122
11118 static const size_t testCount = SK_ARRAY_COUNT(tests); 11123 static const size_t testCount = SK_ARRAY_COUNT(tests);
11119 11124
11120 static bool runReverse = false; 11125 static bool runReverse = false;
11121 11126
11122 DEF_TEST(PathOpsBattle, reporter) { 11127 DEF_TEST(PathOpsBattle, reporter) {
11123 #if DEBUG_SHOW_TEST_NAME 11128 #if DEBUG_SHOW_TEST_NAME
11124 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); 11129 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH);
11125 #endif 11130 #endif
11126 RunTestSet(reporter, tests, testCount, firstTest, NULL, stopTest, runReverse ); 11131 RunTestSet(reporter, tests, testCount, firstTest, stopTest, runReverse);
11127 } 11132 }
OLDNEW
« no previous file with comments | « tests/PathOpsAngleTest.cpp ('k') | tests/PathOpsBuilderTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698