#include <fragment_program.h>
Definition at line 15 of file fragment_program.h.
◆ FragmentProgram() [1/2]
| impeller::interop::FragmentProgram::FragmentProgram |
( |
const std::shared_ptr< fml::Mapping > & |
mapping | ) |
|
|
explicit |
Definition at line 11 of file fragment_program.cc.
12 if (data ==
nullptr || data->GetSize() == 0) {
19 VALIDATION_LOG <<
"Failed to decode runtime stages: " << stages.status();
23 for (
const auto& stage : stages.value()) {
24 if (
auto data = stage.second) {
25 stages_[stage.first] = std::move(data);
29 if (stages_.empty()) {
30 VALIDATION_LOG <<
"No valid runtime stages present in fragment program.";
static absl::StatusOr< Map > DecodeRuntimeStages(const std::shared_ptr< fml::Mapping > &payload)
References impeller::RuntimeStage::DecodeRuntimeStages(), and VALIDATION_LOG.
◆ ~FragmentProgram()
| impeller::interop::FragmentProgram::~FragmentProgram |
( |
| ) |
|
|
default |
◆ FragmentProgram() [2/2]
| impeller::interop::FragmentProgram::FragmentProgram |
( |
const FragmentProgram & |
| ) |
|
|
delete |
◆ FindRuntimeStage()
◆ IsValid()
| bool impeller::interop::FragmentProgram::IsValid |
( |
| ) |
const |
◆ operator=()
The documentation for this class was generated from the following files: