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 #include "SkImageInfo.h" | 9 #include "SkImageInfo.h" |
10 | 10 |
11 #include <stdlib.h> | 11 #include <stdlib.h> |
12 | 12 |
13 #if SK_SUPPORT_GPU | 13 #if SK_SUPPORT_GPU |
14 using sk_gpu_test::GrContextFactory; | 14 using sk_gpu_test::GrContextFactory; |
15 #endif | 15 #endif |
16 | 16 |
17 static const char defaultConfigs[] = | 17 static const char defaultConfigs[] = |
18 "565 8888 gpu nonrendering" | 18 "8888 gpu nonrendering" |
19 #if SK_ANGLE | 19 #if SK_ANGLE |
20 #ifdef SK_BUILD_FOR_WIN | 20 #ifdef SK_BUILD_FOR_WIN |
21 " angle" | 21 " angle" |
22 #endif | 22 #endif |
23 #endif | 23 #endif |
24 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK | 24 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
25 " hwui" | 25 " hwui" |
26 #endif | 26 #endif |
27 ; | 27 ; |
28 | 28 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 if (extendedBackend.equals("gpu")) { | 430 if (extendedBackend.equals("gpu")) { |
431 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti
ons); | 431 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti
ons); |
432 } | 432 } |
433 #endif | 433 #endif |
434 if (!parsedConfig) { | 434 if (!parsedConfig) { |
435 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); | 435 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); |
436 } | 436 } |
437 outResult->emplace_back(parsedConfig); | 437 outResult->emplace_back(parsedConfig); |
438 } | 438 } |
439 } | 439 } |
OLD | NEW |