Flutter Engine
The Flutter Engine
|
#include "impeller/compiler/shader_bundle.h"
#include "impeller/compiler/compiler.h"
#include "impeller/compiler/reflector.h"
#include "impeller/compiler/source_options.h"
#include "impeller/compiler/types.h"
#include "impeller/compiler/utilities.h"
#include "impeller/runtime_stage/runtime_stage.h"
#include "impeller/shader_bundle/shader_bundle_flatbuffers.h"
#include "third_party/json/include/nlohmann/json.hpp"
Go to the source code of this file.
Namespaces | |
namespace | impeller |
namespace | impeller::compiler |
Functions | |
std::optional< ShaderBundleConfig > | impeller::compiler::ParseShaderBundleConfig (const std::string &bundle_config_json, std::ostream &error_stream) |
Parse a shader bundle configuration from a given JSON string. More... | |
static std::unique_ptr< fb::shaderbundle::BackendShaderT > | impeller::compiler::GenerateShaderBackendFB (TargetPlatform target_platform, SourceOptions &options, const std::string &shader_name, const ShaderConfig &shader_config) |
static std::unique_ptr< fb::shaderbundle::ShaderT > | impeller::compiler::GenerateShaderFB (SourceOptions options, const std::string &shader_name, const ShaderConfig &shader_config) |
std::optional< fb::shaderbundle::ShaderBundleT > | impeller::compiler::GenerateShaderBundleFlatbuffer (const std::string &bundle_config_json, const SourceOptions &options) |
Parses the JSON shader bundle configuration and invokes the compiler multiple times to produce a shader bundle flatbuffer. More... | |
bool | impeller::compiler::GenerateShaderBundle (Switches &switches) |
Parses the JSON shader bundle configuration and invokes the compiler multiple times to produce a shader bundle flatbuffer, which is then output to the sl file. More... | |