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

Side by Side Diff: tests/skia_test.cpp

Issue 1845473004: Revert of Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
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/TextureStorageAllocator.cpp ('k') | tools/VisualBench/VisualBench.h » ('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 2011 Google Inc. 2 * Copyright 2011 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 "CrashHandler.h" 8 #include "CrashHandler.h"
9 #include "OverwriteLine.h" 9 #include "OverwriteLine.h"
10 #include "Resources.h" 10 #include "Resources.h"
11 #include "SkAtomics.h" 11 #include "SkAtomics.h"
12 #include "SkCommonFlags.h" 12 #include "SkCommonFlags.h"
13 #include "SkGraphics.h" 13 #include "SkGraphics.h"
14 #include "SkOSFile.h" 14 #include "SkOSFile.h"
15 #include "SkTArray.h" 15 #include "SkTArray.h"
16 #include "SkTaskGroup.h" 16 #include "SkTaskGroup.h"
17 #include "SkTemplates.h" 17 #include "SkTemplates.h"
18 #include "SkTime.h" 18 #include "SkTime.h"
19 #include "Test.h" 19 #include "Test.h"
20 20
21 #if SK_SUPPORT_GPU 21 #if SK_SUPPORT_GPU
22 #include "GrContext.h" 22 #include "GrContext.h"
23 #include "GrContextFactory.h" 23 #include "GrContextFactory.h"
24 #endif 24 #endif
25 25
26 using namespace skiatest; 26 using namespace skiatest;
27 using namespace sk_gpu_test;
28 27
29 DEFINE_bool2(extendedTest, x, false, "run extended tests for pathOps."); 28 DEFINE_bool2(extendedTest, x, false, "run extended tests for pathOps.");
30 29
31 // need to explicitly declare this, or we get some weird infinite loop llist 30 // need to explicitly declare this, or we get some weird infinite loop llist
32 template TestRegistry* TestRegistry::gHead; 31 template TestRegistry* TestRegistry::gHead;
33 void (*gVerboseFinalize)() = nullptr; 32 void (*gVerboseFinalize)() = nullptr;
34 33
35 // The threads report back to this object when they are done. 34 // The threads report back to this object when they are done.
36 class Status { 35 class Status {
37 public: 36 public:
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 SkDebugf("\n"); 220 SkDebugf("\n");
222 return (status.failCount() == 0) ? 0 : 1; 221 return (status.failCount() == 0) ? 0 : 1;
223 } 222 }
224 223
225 #if !defined(SK_BUILD_FOR_IOS) 224 #if !defined(SK_BUILD_FOR_IOS)
226 int main(int argc, char** argv) { 225 int main(int argc, char** argv) {
227 SkCommandLineFlags::Parse(argc, argv); 226 SkCommandLineFlags::Parse(argc, argv);
228 return test_main(); 227 return test_main();
229 } 228 }
230 #endif 229 #endif
OLDNEW
« no previous file with comments | « tests/TextureStorageAllocator.cpp ('k') | tools/VisualBench/VisualBench.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698