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> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #endif | 21 #endif |
22 #endif | 22 #endif |
23 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK | 23 #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK |
24 " hwui" | 24 " hwui" |
25 #endif | 25 #endif |
26 ; | 26 ; |
27 | 27 |
28 static const char configHelp[] = | 28 static const char configHelp[] = |
29 "Options: 565 8888 debug gpu gpudebug gpudft gpunull " | 29 "Options: 565 8888 debug gpu gpudebug gpudft gpunull " |
30 "msaa16 msaa4 gpuf16 gpusrgb nonrendering null nullgpu " | 30 "msaa16 msaa4 gpuf16 gpusrgb nonrendering null nullgpu " |
31 "nvpr16 nvpr4 nvprdit16 nvprdit4 pdf pdf_poppler skp svg xps" | 31 "nvpr16 nvpr4 nvprdit16 nvprdit4 pdf skp svg xps" |
32 #if SK_ANGLE | 32 #if SK_ANGLE |
33 #ifdef SK_BUILD_FOR_WIN | 33 #ifdef SK_BUILD_FOR_WIN |
34 " angle" | 34 " angle" |
35 #endif | 35 #endif |
36 " angle-gl" | 36 " angle-gl" |
37 #endif | 37 #endif |
38 #if SK_COMMAND_BUFFER | 38 #if SK_COMMAND_BUFFER |
39 " commandbuffer" | 39 " commandbuffer" |
40 #endif | 40 #endif |
41 #if SK_MESA | 41 #if SK_MESA |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 if (extendedBackend.equals("gpu")) { | 375 if (extendedBackend.equals("gpu")) { |
376 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti
ons); | 376 parsedConfig = parse_command_line_config_gpu(tag, vias, extendedOpti
ons); |
377 } | 377 } |
378 #endif | 378 #endif |
379 if (!parsedConfig) { | 379 if (!parsedConfig) { |
380 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); | 380 parsedConfig = new SkCommandLineConfig(tag, simpleBackend, vias); |
381 } | 381 } |
382 outResult->emplace_back(parsedConfig); | 382 outResult->emplace_back(parsedConfig); |
383 } | 383 } |
384 } | 384 } |
OLD | NEW |