760 {
767
771 if (
parts.size() == 2) {
774 if (parts2.
size() == 2 && parts2[1].isEmpty()) {
777 extendedBackend = vias[vias.
size() - 1];
779 } else {
780 extendedBackend =
parts[0];
781 }
782 extendedOptions = parts2[0];
783 simpleBackend.
printf(
"%s[%s]", extendedBackend.
c_str(), extendedOptions.
c_str());
784 }
785 }
786
787 if (extendedBackend.
isEmpty()) {
788 simpleBackend = tag;
791 simpleBackend = vias[vias.
size() - 1];
793 }
798 break;
799 }
800 }
801 }
803 if (extendedBackend.
equals(
"gpu")) {
805 }
806#if defined(SK_GRAPHITE)
807 if (extendedBackend.
equals(
"graphite")) {
808 parsedConfig = parse_command_line_config_graphite(tag, vias, extendedOptions);
809 }
810#endif
811 if (extendedBackend.
equals(
"svg")) {
813 }
814 if (!parsedConfig) {
816 }
818 }
819}
SkCommandLineConfigGpu * parse_command_line_config_gpu(const SkString &tag, const TArray< SkString > &vias, const SkString &options)
const char * predefinedConfig
SkCommandLineConfigSvg * parse_command_line_config_svg(const SkString &tag, const TArray< SkString > &vias, const SkString &options)
static const struct @440 gPredefinedConfigs[]
void SkStrSplit(const char *str, const char *delimiters, SkStrSplitMode splitMode, TArray< SkString > *out)
void printf(const char format[],...) SK_PRINTF_LIKE(2
bool equals(const SkString &) const
const char * c_str() const
T & emplace_back(Args &&... args)