Lines Matching defs:effect

70     static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
79 return GrSkSLFP::Make(effect, "SingleIntervalColorizer", /*inputFP=*/nullptr,
90 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
121 return GrSkSLFP::Make(effect, "DualIntervalColorizer", /*inputFP=*/nullptr,
230 SkASSERTF(result.effect, "%s", result.errorText.c_str());
231 effects[intervalCount - 1] = std::move(result.effect);
257 sk_sp<SkRuntimeEffect> effect;
322 SkASSERTF(result.effect, "%s", result.errorText.c_str());
323 cacheEntry->effect = std::move(result.effect);
326 return GrSkSLFP::Make(cacheEntry->effect, "LoopingBinaryColorizer",
527 // This top-level effect implements clamping on the layout coordinate and requires specifying the
542 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
588 return GrSkSLFP::Make(effect, "ClampedGradient", /*inputFP=*/nullptr, optFlags,
605 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
627 // this clamp has no effect other than to break up the floor and abs calls
659 return GrSkSLFP::Make(effect, "TiledGradient", /*inputFP=*/nullptr, optFlags,
670 // Combines the colorizer and layout with an appropriately configured top-level effect based on the
683 // Wrap the layout in a matrix effect to apply the gradient's matrix:
731 // The top-level effect has to export premul colors, but under certain conditions it doesn't
782 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
788 auto fp = GrSkSLFP::Make(effect, "LinearLayout", /*inputFP=*/nullptr,
795 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
801 auto fp = GrSkSLFP::Make(effect, "RadialLayout", /*inputFP=*/nullptr,
815 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
831 auto fp = GrSkSLFP::Make(effect, "SweepLayout", /*inputFP=*/nullptr,
847 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
861 fp = GrSkSLFP::Make(effect, "TwoPointConicalStripLayout", /*inputFP=*/nullptr,
867 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
879 fp = GrSkSLFP::Make(effect, "TwoPointConicalRadialLayout", /*inputFP=*/nullptr,
895 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"(
973 fp = GrSkSLFP::Make(effect, "TwoPointConicalFocalLayout", /*inputFP=*/nullptr,