Flutter Engine
The Flutter Engine
Namespaces | Functions
types.cc File Reference
#include "impeller/compiler/types.h"
#include <cctype>
#include <filesystem>
#include <sstream>
#include "flutter/fml/logging.h"
#include "impeller/compiler/utilities.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  impeller::compiler
 

Functions

static bool impeller::compiler::StringEndWith (const std::string &string, const std::string &suffix)
 
SourceType impeller::compiler::SourceTypeFromFileName (const std::string &file_name)
 
SourceType impeller::compiler::SourceTypeFromString (std::string name)
 
SourceLanguage impeller::compiler::ToSourceLanguage (const std::string &source_language)
 
std::string impeller::compiler::TargetPlatformToString (TargetPlatform platform)
 
std::string impeller::compiler::SourceLanguageToString (SourceLanguage source_language)
 
std::string impeller::compiler::EntryPointFunctionNameFromSourceName (const std::string &file_name, SourceType type, SourceLanguage source_language, const std::string &entry_point_name)
 
bool impeller::compiler::TargetPlatformNeedsReflection (TargetPlatform platform)
 
std::string impeller::compiler::ShaderCErrorToString (shaderc_compilation_status status)
 
shaderc_shader_kind impeller::compiler::ToShaderCShaderKind (SourceType type)
 
spv::ExecutionModel impeller::compiler::ToExecutionModel (SourceType type)
 
spirv_cross::CompilerMSL::Options::Platform impeller::compiler::TargetPlatformToMSLPlatform (TargetPlatform platform)
 
std::string impeller::compiler::SourceTypeToString (SourceType type)
 
std::string impeller::compiler::TargetPlatformSLExtension (TargetPlatform platform)
 
bool impeller::compiler::TargetPlatformIsOpenGL (TargetPlatform platform)
 
bool impeller::compiler::TargetPlatformIsMetal (TargetPlatform platform)
 
bool impeller::compiler::TargetPlatformIsVulkan (TargetPlatform platform)
 
bool impeller::compiler::TargetPlatformBundlesSkSL (TargetPlatform platform)