5#ifndef FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
6#define FLUTTER_IMPELLER_COMPILER_SWITCHES_H_
12#include "flutter/fml/command_line.h"
13#include "flutter/fml/unique_fd.h"
53 bool AreValid(std::ostream& explain)
const;
62 std::optional<TargetPlatform> target_platform = std::nullopt)
const;
70 std::vector<TargetPlatform> runtime_stages_;
bool require_framebuffer_fetch
std::vector< TargetPlatform > PlatformsToCompile() const
A vector containing at least one valid platform.
std::string reflection_json_name
SourceLanguage source_language
std::string reflection_header_name
std::string metal_version
uint32_t gles_language_version
std::string shader_bundle
std::vector< std::string > defines
std::shared_ptr< fml::UniqueFD > working_directory
SourceOptions CreateSourceOptions(std::optional< TargetPlatform > target_platform=std::nullopt) const
std::string reflection_cc_name
std::string spirv_file_name
bool AreValid(std::ostream &explain) const
static void PrintHelp(std::ostream &stream)
std::string source_file_name
std::vector< IncludeDir > include_directories
TargetPlatform SelectDefaultTargetPlatform() const