5#ifndef FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_
6#define FLUTTER_IMPELLER_COMPILER_SHADER_BUNDLE_H_
10#include "impeller/shader_bundle/shader_bundle_flatbuffers.h"
20 const std::string& bundle_config_json,
21 std::ostream& error_stream);
29 const std::string& bundle_config_json,
std::optional< fb::shaderbundle::ShaderBundleT > 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 shad...
bool GenerateShaderBundle(Switches &switches)
Parses the JSON shader bundle configuration and invokes the compiler multiple times to produce a shad...
std::optional< ShaderBundleConfig > ParseShaderBundleConfig(const std::string &bundle_config_json, std::ostream &error_stream)
Parse a shader bundle configuration from a given JSON string.