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

Side by Side Diff: tests/PathOpsExtendedTest.h

Issue 1214603003: Revert of Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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/AtomicTest.cpp ('k') | tests/PathOpsExtendedTest.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 #ifndef PathOpsExtendedTest_DEFINED 7 #ifndef PathOpsExtendedTest_DEFINED
8 #define PathOpsExtendedTest_DEFINED 8 #define PathOpsExtendedTest_DEFINED
9 9
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
11 #include "SkCommandLineFlags.h" 11 #include "SkCommandLineFlags.h"
12 #include "SkPath.h" 12 #include "SkPath.h"
13 #include "SkPathOpsTypes.h" 13 #include "SkPathOpsTypes.h"
14 #include "SkStream.h" 14 #include "SkStream.h"
15 #include "SkThread.h"
16 #include "SkThreadUtils.h"
15 #include "Test.h" 17 #include "Test.h"
16 18
17 DECLARE_bool(runFail); 19 DECLARE_bool(runFail);
18 DECLARE_bool(runBinary); 20 DECLARE_bool(runBinary);
19 21
20 struct PathOpsThreadState; 22 struct PathOpsThreadState;
21 23
22 struct TestDesc { 24 struct TestDesc {
23 void (*fun)(skiatest::Reporter*, const char* filename); 25 void (*fun)(skiatest::Reporter*, const char* filename);
24 const char* str; 26 const char* str;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void (*firstTest)(skiatest::Reporter* , const char* filename), 60 void (*firstTest)(skiatest::Reporter* , const char* filename),
59 void (*skipTest)(skiatest::Reporter* , const char* filename), 61 void (*skipTest)(skiatest::Reporter* , const char* filename),
60 void (*stopTest)(skiatest::Reporter* , const char* filename), bo ol reverse); 62 void (*stopTest)(skiatest::Reporter* , const char* filename), bo ol reverse);
61 void ShowTestArray(const char* testName); 63 void ShowTestArray(const char* testName);
62 void ShowTestName(PathOpsThreadState* data, int a, int b, int c, int d); 64 void ShowTestName(PathOpsThreadState* data, int a, int b, int c, int d);
63 void ShowFunctionHeader(const char* name); 65 void ShowFunctionHeader(const char* name);
64 void ShowPath(const SkPath& path, const char* pathName); 66 void ShowPath(const SkPath& path, const char* pathName);
65 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo); 67 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
66 68
67 #endif 69 #endif
OLDNEW
« no previous file with comments | « tests/AtomicTest.cpp ('k') | tests/PathOpsExtendedTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698