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

Side by Side Diff: tools/flags/SkCommonFlagsConfig.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 | « tools/flags/SkCommonFlagsConfig.h ('k') | tools/gpu/GrContextFactory.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 2015 Google Inc. 2 * Copyright 2015 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 "SkCommonFlagsConfig.h" 8 #include "SkCommonFlagsConfig.h"
9 9
10 #include <stdlib.h> 10 #include <stdlib.h>
11 11
12 #if SK_SUPPORT_GPU
13 using sk_gpu_test::GrContextFactory;
14 #endif
15
16 static const char defaultConfigs[] = 12 static const char defaultConfigs[] =
17 "565 8888 gpu nonrendering" 13 "565 8888 gpu nonrendering"
18 #if SK_ANGLE 14 #if SK_ANGLE
19 #ifdef SK_BUILD_FOR_WIN 15 #ifdef SK_BUILD_FOR_WIN
20 " angle" 16 " angle"
21 #endif 17 #endif
22 #endif 18 #endif
23 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK 19 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
24 " hwui" 20 " hwui"
25 #endif 21 #endif
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 if (extendedBackend.equals("gpu")) { 371 if (extendedBackend.equals("gpu")) {
376 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti ons); 372 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti ons);
377 } 373 }
378 #endif 374 #endif
379 if (!parsedConfig) { 375 if (!parsedConfig) {
380 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); 376 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias);
381 } 377 }
382 outResult->emplace_back(parsedConfig); 378 outResult->emplace_back(parsedConfig);
383 } 379 }
384 } 380 }
OLDNEW
« no previous file with comments | « tools/flags/SkCommonFlagsConfig.h ('k') | tools/gpu/GrContextFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698