Lines Matching refs:errorText
34 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src));
36 REPORTER_ASSERT(r, errorText.contains(expected),
38 expected, errorText.c_str());
77 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(R"(
91 REPORTER_ASSERT(r, effect, "%s", errorText.c_str());
97 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), opt);
98 REPORTER_ASSERT(r, effect, "%s", errorText.c_str());
108 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(sksl));
109 REPORTER_ASSERT(r, effect, "%s", errorText.c_str());
113 auto [effect, errorText] = SkRuntimeEffect::MakeForColorFilter(SkString(sksl));
116 errorText.contains(expected),
119 errorText.c_str());
159 auto [effect, errorText] = SkRuntimeEffect::MakeForBlender(SkString(sksl));
160 REPORTER_ASSERT(r, effect, "%s", errorText.c_str());
164 auto [effect, errorText] = SkRuntimeEffect::MakeForBlender(SkString(sksl));
167 errorText.contains(expected),
170 errorText.c_str());
215 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), options);
216 REPORTER_ASSERT(r, effect, "%s", errorText.c_str());
222 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl));
225 errorText.contains(expected),
228 errorText.c_str());
316 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src), options);
319 SkStringPrintf("Effect didn't compile: %s", errorText.c_str()));
366 auto [effect, errorText] = SkRuntimeEffect::MakeForBlender(SkString(src));
369 SkStringPrintf("Effect didn't compile: %s", errorText.c_str()));