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

Side by Side Diff: tests/PathOpsExtendedTest.cpp

Issue 1184373003: Add sk_parallel_for() (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix Created 5 years, 6 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/OnceTest.cpp ('k') | tests/PathOpsSkpClipTest.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 7
8 #include "PathOpsExtendedTest.h" 8 #include "PathOpsExtendedTest.h"
9 #include "PathOpsThreadedCommon.h" 9 #include "PathOpsThreadedCommon.h"
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
11 #include "SkCanvas.h" 11 #include "SkCanvas.h"
12 #include "SkForceLinking.h" 12 #include "SkForceLinking.h"
13 #include "SkMatrix.h" 13 #include "SkMatrix.h"
14 #include "SkPaint.h" 14 #include "SkPaint.h"
15 #include "SkRTConf.h" 15 #include "SkRTConf.h"
16 #include "SkStream.h" 16 #include "SkStream.h"
17 #include "SkTaskGroup.h"
18 #include "SkThread.h" 17 #include "SkThread.h"
19 18
20 #ifdef SK_BUILD_FOR_MAC 19 #ifdef SK_BUILD_FOR_MAC
21 #include <sys/sysctl.h> 20 #include <sys/sysctl.h>
22 #endif 21 #endif
23 22
24 __SK_FORCE_IMAGE_DECODER_LINKING; 23 __SK_FORCE_IMAGE_DECODER_LINKING;
25 24
26 DEFINE_bool2(runFail, f, false, "run tests known to fail."); 25 DEFINE_bool2(runFail, f, false, "run tests known to fail.");
27 DEFINE_bool2(runBinary, f, false, "run tests known to fail binary sect."); 26 DEFINE_bool2(runBinary, f, false, "run tests known to fail binary sect.");
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 if (foundSkip && tests[index].fun != firstTest) { 669 if (foundSkip && tests[index].fun != firstTest) {
671 SkDebugf(" %s,\n", tests[index].str); 670 SkDebugf(" %s,\n", tests[index].str);
672 } 671 }
673 if (tests[index].fun == stopTest || index == last) { 672 if (tests[index].fun == stopTest || index == last) {
674 break; 673 break;
675 } 674 }
676 index += reverse ? -1 : 1; 675 index += reverse ? -1 : 1;
677 } while (true); 676 } while (true);
678 #endif 677 #endif
679 } 678 }
OLDNEW
« no previous file with comments | « tests/OnceTest.cpp ('k') | tests/PathOpsSkpClipTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698