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

Side by Side Diff: tests/skia_test.cpp

Issue 1815823002: Move SkGLContext and some GrGLInterface implementations to skgputest module (Closed) Base URL: https://chromium.googlesource.com/skia.git@debugobject
Patch Set: fix windows and android? 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;
27 28
28 DEFINE_bool2(extendedTest, x, false, "run extended tests for pathOps."); 29 DEFINE_bool2(extendedTest, x, false, "run extended tests for pathOps.");
29 30
30 // need to explicitly declare this, or we get some weird infinite loop llist 31 // need to explicitly declare this, or we get some weird infinite loop llist
31 template TestRegistry* TestRegistry::gHead; 32 template TestRegistry* TestRegistry::gHead;
32 void (*gVerboseFinalize)() = nullptr; 33 void (*gVerboseFinalize)() = nullptr;
33 34
34 // The threads report back to this object when they are done. 35 // The threads report back to this object when they are done.
35 class Status { 36 class Status {
36 public: 37 public:
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 SkDebugf("\n"); 221 SkDebugf("\n");
221 return (status.failCount() == 0) ? 0 : 1; 222 return (status.failCount() == 0) ? 0 : 1;
222 } 223 }
223 224
224 #if !defined(SK_BUILD_FOR_IOS) 225 #if !defined(SK_BUILD_FOR_IOS)
225 int main(int argc, char** argv) { 226 int main(int argc, char** argv) {
226 SkCommandLineFlags::Parse(argc, argv); 227 SkCommandLineFlags::Parse(argc, argv);
227 return test_main(); 228 return test_main();
228 } 229 }
229 #endif 230 #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