Home
last modified time | relevance | path

Searched refs:MakeForShader (Results 1 - 25 of 30) sorted by relevance

12

/third_party/skia/src/gpu/gradients/
H A DGrGradientShader.cpp70 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in make_single_interval_colorizer()
90 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in make_dual_interval_colorizer()
229 auto result = SkRuntimeEffect::MakeForShader(std::move(sksl)); in make_unrolled_colorizer()
320 auto result = SkRuntimeEffect::MakeForShader(std::move(sksl), in make_looping_colorizer()
542 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in make_clamped_gradient()
605 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in make_tiled_gradient()
782 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in MakeLinear()
795 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in MakeRadial()
815 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in MakeSweep()
847 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in MakeConical()
[all...]
/third_party/skia/tests/
H A DSkRuntimeEffectTest.cpp34 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src)); in test_invalid_effect()
97 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), opt); in DEF_TEST()
215 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), options); in DEF_TEST()
222 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST()
316 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src), options); in build()
665 sk_sp<SkRuntimeEffect> effect = SkRuntimeEffect::MakeForShader(SkString(kSource)).effect; in DEF_TEST()
701 sk_sp<SkRuntimeEffect> effect = SkRuntimeEffect::MakeForShader(SkString(kSource)).effect; in DEF_TEST()
734 auto [effect, error] = SkRuntimeEffect::MakeForShader(SkString(kSource), options); in DEF_TEST()
764 auto [childEffect, err] = SkRuntimeEffect::MakeForShader(SkString( in test_RuntimeEffectStructNameReuse()
831 SkRuntimeEffect::MakeForShader(SkStringPrint in DEF_TEST()
[all...]
H A DSkSLES2ConformanceTest.cpp47 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderString, options); in test_expect_fail()
64 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderString, options); in test_expect_pass()
/third_party/skia/include/effects/
H A DSkRuntimeEffect.h127 // MakeForColorFilter and MakeForShader verify that the SkSL code is valid for those stages of
148 static Result MakeForShader(SkString sksl, const Options&);
149 static Result MakeForShader(SkString sksl) { in MakeForShader() function in SkSL::SkRuntimeEffect
150 return MakeForShader(std::move(sksl), Options{}); in MakeForShader()
164 static Result MakeForShader(std::unique_ptr<SkSL::Program> program, const Options&);
165 static Result MakeForShader(std::unique_ptr<SkSL::Program> program);
/third_party/skia/modules/skottie/src/effects/
H A DSphereEffect.cpp131 SkRuntimeEffect::MakeForShader(SkStringPrintf(gSphereSkSL, gFancyLightSkSL), {}) in sphere_fancylight_effect()
135 SkRuntimeEffect::MakeForShader(SkStringPrintf(gSphereSkSL, gFancyLightSkSL), {}) in sphere_fancylight_effect()
145 SkRuntimeEffect::MakeForShader(SkStringPrintf(gSphereSkSL, gBasicLightSkSL), {}) in sphere_basiclight_effect()
H A DBuldgeEffect.cpp67 SkRuntimeEffect::MakeForShader(SkString(gBulgeDisplacementSkSL), {}).effect.release(); in bulge_effect()
H A DSkSLEffect.cpp78 auto result = SkRuntimeEffect::MakeForShader(shader, {}); in SkSLEffectAdapter()
H A DDisplacementMapEffect.cpp61 SkRuntimeEffect::MakeForShader(SkString(gDisplacementSkSL)).effect.release(); in displacement_effect_singleton()
63 auto err = SkRuntimeEffect::MakeForShader(SkString(gDisplacementSkSL)).errorText; in displacement_effect_singleton()
H A DFractalNoiseEffect.cpp197 auto result = SkRuntimeEffect::MakeForShader( in make_noise_effect()
/third_party/skia/src/sksl/dsl/
H A DDSLRuntimeEffects.cpp34 result = SkRuntimeEffect::MakeForShader(std::move(program), options); in EndRuntimeShader()
/third_party/skia/gm/
H A Druntimefunctions.cpp43 SkRuntimeEffect::MakeForShader(SkString(RUNTIME_FUNCTIONS_SRC)).effect;
H A Druntimeshader.cpp36 : SkRuntimeEffect::MakeForShader(fSkSL);
640 SkRuntimeShaderBuilder builder(SkRuntimeEffect::MakeForShader(SkString(scale)).effect); in DEF_SIMPLE_GM()
657 auto effect = SkRuntimeEffect::MakeForShader(SkString(kSrc)).effect; in normal_map_shader()
681 auto effect = SkRuntimeEffect::MakeForShader(SkString(kSrc)).effect; in lit_shader()
H A Druntimeintrinsics.cpp128 auto [effect, error] = SkRuntimeEffect::MakeForShader( in plot()
456 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_matrix_comp_mult_sksl(N)); in plot_matrix_comp_mult()
493 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_matrix_inverse_sksl(N)); in plot_matrix_inverse()
582 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_bvec_sksl(type, fn)); in plot_bvec()
H A Druntimeimagefilter.cpp26 sk_sp<SkRuntimeEffect> effect = SkRuntimeEffect::MakeForShader(SkString(R"( in make_filter()
/third_party/skia/src/gpu/effects/
H A DGrSDFBlurEffect.cpp27 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in Make()
/third_party/skia/fuzz/oss_fuzz/
H A DFuzzSkRuntimeEffect.cpp39 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderText, options); in FuzzSkRuntimeEffect_Once()
/third_party/skia/modules/androidkit/src/
H A DRuntimeShaderBuilder.cpp18 auto [eff,err] = SkRuntimeEffect::MakeForShader( in ShaderBuilder_Create()
/third_party/skia/src/gpu/
H A DGrFragmentProcessor.cpp635 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, CLIP_EDGE_SKSL R"(
683 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, CLIP_EDGE_SKSL R"(
731 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, CLIP_EDGE_SKSL R"(
788 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, CLIP_EDGE_SKSL R"(
/third_party/skia/src/effects/imagefilters/
H A DSkRuntimeImageFilter.cpp78 auto effect = SkMakeCachedRuntimeEffect(SkRuntimeEffect::MakeForShader, std::move(sksl)); in CreateProc()
H A DSkMagnifierImageFilter.cpp103 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in make_magnifier_fp()
H A DSkAlphaThresholdImageFilter.cpp142 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in make_alpha_threshold_fp()
/third_party/skia/src/core/
H A DSkSDFFilter.cpp98 static auto effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, R"( in drawMaskSDFBlur()
H A DSkRuntimeEffect.cpp396 SkRuntimeEffect::Result SkRuntimeEffect::MakeForShader(SkString sksl, const Options& options) { in MakeForShader() function in SkRuntimeEffect
415 SkRuntimeEffect::Result SkRuntimeEffect::MakeForShader(std::unique_ptr<SkSL::Program> program, in MakeForShader() function in SkRuntimeEffect
434 SkRuntimeEffect::Result SkRuntimeEffect::MakeForShader(std::unique_ptr<SkSL::Program> program) { in MakeForShader() function in SkRuntimeEffect
435 return MakeForShader(std::move(program), Options{}); in MakeForShader()
1113 auto effect = SkMakeCachedRuntimeEffect(SkRuntimeEffect::MakeForShader, std::move(sksl)); in CreateProc()
/third_party/skia/tools/viewer/
H A DSkSLSlide.cpp99 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(sksl); in rebuild()
/third_party/skia/samplecode/
H A DSample3D.cpp405 auto [effect, error] = SkRuntimeEffect::MakeForShader(SkString(code));

Completed in 18 milliseconds

12