| 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 |
| 12 static const char defaultConfigs[] = | 16 static const char defaultConfigs[] = |
| 13 "565 8888 gpu nonrendering" | 17 "565 8888 gpu nonrendering" |
| 14 #if SK_ANGLE | 18 #if SK_ANGLE |
| 15 #ifdef SK_BUILD_FOR_WIN | 19 #ifdef SK_BUILD_FOR_WIN |
| 16 " angle" | 20 " angle" |
| 17 #endif | 21 #endif |
| 18 #endif | 22 #endif |
| 19 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK | 23 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
| 20 " hwui" | 24 " hwui" |
| 21 #endif | 25 #endif |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 if (extendedBackend.equals("gpu")) { | 375 if (extendedBackend.equals("gpu")) { |
| 372 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti
ons); | 376 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti
ons); |
| 373 } | 377 } |
| 374 #endif | 378 #endif |
| 375 if (!parsedConfig) { | 379 if (!parsedConfig) { |
| 376 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); | 380 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); |
| 377 } | 381 } |
| 378 outResult->emplace_back(parsedConfig); | 382 outResult->emplace_back(parsedConfig); |
| 379 } | 383 } |
| 380 } | 384 } |
| OLD | NEW |