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

Side by Side Diff: tests/PathOpsBattles.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/PaintTest.cpp ('k') | tests/PathOpsBuilderConicTest.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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 path.moveTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95)); 393 path.moveTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95));
394 path.cubicTo(SkBits2Float(0x3f9e4c7a), SkBits2Float(0xc2a5fb49), SkBits2Float(0x 3fa36794), SkBits2Float(0xc2a5fafa), SkBits2Float(0x3fa882aa), SkBits2Float(0xc2 a5faa7)); 394 path.cubicTo(SkBits2Float(0x3f9e4c7a), SkBits2Float(0xc2a5fb49), SkBits2Float(0x 3fa36794), SkBits2Float(0xc2a5fafa), SkBits2Float(0x3fa882aa), SkBits2Float(0xc2 a5faa7));
395 path.lineTo(SkBits2Float(0x3f73a149), SkBits2Float(0xc26ff845)); 395 path.lineTo(SkBits2Float(0x3f73a149), SkBits2Float(0xc26ff845));
396 path.cubicTo(SkBits2Float(0x3f6c3f64), SkBits2Float(0xc26ff8bf), SkBits2Float(0x 3f64dd9d), SkBits2Float(0xc26ff931), SkBits2Float(0x3f5d7bcf), SkBits2Float(0xc2 6ff99f)); 396 path.cubicTo(SkBits2Float(0x3f6c3f64), SkBits2Float(0xc26ff8bf), SkBits2Float(0x 3f64dd9d), SkBits2Float(0xc26ff931), SkBits2Float(0x3f5d7bcf), SkBits2Float(0xc2 6ff99f));
397 path.lineTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95)); 397 path.lineTo(SkBits2Float(0x3f993156), SkBits2Float(0xc2a5fb95));
398 path.close(); 398 path.close();
399 399
400 SkPath path2(path); 400 SkPath path2(path);
401 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename); 401 testPathOp(reporter, path1, path2, (SkPathOp) 2, filename);
402 } 402 }
403 // ../../third_party/tcmalloc/chromium/src/free_list.h:118] Memory corruption de tected. 403 // ../../third_party/tcmalloc/chromium/src/free_list.h:118] Memory corruption de tected.
404 404
405 static void battleOp13(skiatest::Reporter* reporter, const char* filename) { 405 static void battleOp13(skiatest::Reporter* reporter, const char* filename) {
406 SkPath path; 406 SkPath path;
407 path.setFillType((SkPath::FillType) 0); 407 path.setFillType((SkPath::FillType) 0);
408 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 408 path.moveTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
409 path.cubicTo(SkBits2Float(0x3ddcd524), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 3e5cd462), SkBits2Float(0xc2a5ffe3), SkBits2Float(0x3ea59eff), SkBits2Float(0xc2 a5ffac)); 409 path.cubicTo(SkBits2Float(0x3ddcd524), SkBits2Float(0xc2a5ffff), SkBits2Float(0x 3e5cd462), SkBits2Float(0xc2a5ffe3), SkBits2Float(0x3ea59eff), SkBits2Float(0xc2 a5ffac));
410 path.lineTo(SkBits2Float(0x3e6f74a3), SkBits2Float(0xc26fff89)); 410 path.lineTo(SkBits2Float(0x3e6f74a3), SkBits2Float(0xc26fff89));
411 path.cubicTo(SkBits2Float(0x3e1fa33e), SkBits2Float(0xc26fffd9), SkBits2Float(0x 3d9fa303), SkBits2Float(0xc2700000), SkBits2Float(0xb580e440), SkBits2Float(0xc2 700000)); 411 path.cubicTo(SkBits2Float(0x3e1fa33e), SkBits2Float(0xc26fffd9), SkBits2Float(0x 3d9fa303), SkBits2Float(0xc2700000), SkBits2Float(0xb580e440), SkBits2Float(0xc2 700000));
412 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 412 path.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000));
413 path.close(); 413 path.close();
(...skipping 10704 matching lines...) Expand 10 before | Expand all | Expand 10 after
11118 static const size_t testCount = SK_ARRAY_COUNT(tests); 11118 static const size_t testCount = SK_ARRAY_COUNT(tests);
11119 11119
11120 static bool runReverse = false; 11120 static bool runReverse = false;
11121 11121
11122 DEF_TEST(PathOpsBattle, reporter) { 11122 DEF_TEST(PathOpsBattle, reporter) {
11123 #if DEBUG_SHOW_TEST_NAME 11123 #if DEBUG_SHOW_TEST_NAME
11124 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH); 11124 strncpy(DEBUG_FILENAME_STRING, "", DEBUG_FILENAME_STRING_LENGTH);
11125 #endif 11125 #endif
11126 RunTestSet(reporter, tests, testCount, firstTest, nullptr, stopTest, runReve rse); 11126 RunTestSet(reporter, tests, testCount, firstTest, nullptr, stopTest, runReve rse);
11127 } 11127 }
OLDNEW
« no previous file with comments | « tests/PaintTest.cpp ('k') | tests/PathOpsBuilderConicTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698