OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |