7#include "third_party/skia/include/effects/SkRuntimeEffect.h"
11 auto result = SkRuntimeEffect::MakeForShader(*source);
12 if (result.effect ==
nullptr) {
13 FML_LOG(ERROR) <<
"Failed to compile shader. Error Text:\n"
14 << result.errorText.data();
static sk_sp< DlRuntimeEffect > Make(const sk_sp< SkRuntimeEffect > &runtime_effect)
#define FML_LOG(severity)
sk_sp< flutter::DlRuntimeEffect > CreateRuntimeEffect(SkString *string)