Home
last modified time | relevance | path

Searched refs:MakeForShader (Results 1 – 25 of 42) sorted by relevance

12

/external/skia/tests/
DSkRuntimeEffectTest.cpp87 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src)); in test_invalid_effect()
145 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), opt); in DEF_TEST()
155 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST()
165 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(R"( in DEF_TEST()
189 auto es2Effect = SkRuntimeEffect::MakeForShader(SkString("#version 100\n" EMPTY_MAIN)).effect; in DEF_TEST()
190 auto es3Effect = SkRuntimeEffect::MakeForShader(SkString("#version 300\n" EMPTY_MAIN)).effect; in DEF_TEST()
310 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl), options); in DEF_TEST()
317 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in DEF_TEST()
455 auto [effect, errorText] = SkRuntimeEffect::MakeForShader(SkString(src), options); in build()
765 auto effect = SkRuntimeEffect::MakeForShader(SkString(R"( in test_RuntimeEffectObeysCapabilities()
[all …]
DSkSLES2ConformanceTest.cpp49 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderString, options); in test_expect_fail()
66 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderString, options); in test_expect_pass()
DShaderImageFilterTest.cpp142 sk_sp<SkRuntimeEffect> effect = SkRuntimeEffect::MakeForShader(SkString(R"( in test_runtime_shader()
/external/skia/gm/
Druntimeshader.cpp39 : SkRuntimeEffect::MakeForShader(fSkSL); in onOnceBeforeDraw()
697 SkRuntimeShaderBuilder builder(SkRuntimeEffect::MakeForShader(SkString(scale)).effect);
714 auto effect = SkRuntimeEffect::MakeForShader(SkString(kSrc)).effect; in normal_map_shader()
769 auto effect = SkRuntimeEffect::MakeForShader(SkString(kSrc)).effect; in lit_shader()
783 auto effect = SkRuntimeEffect::MakeForShader(SkString(kSrc)).effect; in lit_shader_linear()
901 auto [rte, error] = SkRuntimeEffect::MakeForShader(passthrough, {});
953 auto [rtShader, error] = SkRuntimeEffect::MakeForShader(kEvalShader);
970 auto [rtShader, error] = SkRuntimeEffect::MakeForShader(kEvalColorFilter);
987 auto [rtShader, error] = SkRuntimeEffect::MakeForShader(kEvalBlender);
1067 auto [effect, error] = SkRuntimeEffect::MakeForShader(kShader);
Druntimeimagefilter.cpp29 sk_sp<SkRuntimeEffect> effect = SkRuntimeEffect::MakeForShader(SkString(R"( in make_filter()
80 sk_sp<SkRuntimeEffect> effect = SkRuntimeEffect::MakeForShader(SkString(R"(
Dkawase_blur_rt.cpp64 auto [blurEffect, error] = SkRuntimeEffect::MakeForShader(blurString); in KawaseBlurFilter()
70 auto [mixEffect, error2] = SkRuntimeEffect::MakeForShader(mixString); in KawaseBlurFilter()
Druntimeintrinsics.cpp129 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_unary_sksl_1d(fn, requireES3)); in plot()
454 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_matrix_comp_mult_sksl(N)); in plot_matrix_comp_mult()
491 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_matrix_inverse_sksl(N)); in plot_matrix_inverse()
580 auto [effect, error] = SkRuntimeEffect::MakeForShader(make_bvec_sksl(type, fn)); in plot_bvec()
Druntimefunctions.cpp48 SkRuntimeEffect::MakeForShader(SkString(RUNTIME_FUNCTIONS_SRC)); in onDraw()
/external/skia/src/gpu/ganesh/gradients/
DGrGradientShader.cpp78 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in make_single_interval_colorizer()
98 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in make_dual_interval_colorizer()
237 auto result = SkRuntimeEffect::MakeForShader(std::move(sksl)); in make_unrolled_colorizer()
329 auto result = SkRuntimeEffect::MakeForShader(std::move(sksl)); in make_looping_colorizer()
549 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in make_clamped_gradient()
606 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in make_tiled_gradient()
861 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in MakeLinear()
/external/skia/tests/graphite/
DRTEffectTest.cpp22 std::unique_ptr<SkRuntimeEffect> testEffect(SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
74 std::unique_ptr<SkRuntimeEffect> testEffect(SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
DCombinationBuilderTest.cpp208 SkRuntimeEffect::MakeForShader, in runtime_effect_test()
/external/skia/modules/skottie/src/effects/
DSphereEffect.cpp132 SkRuntimeEffect::MakeForShader(SkStringPrintf(gSphereSkSL, gFancyLightSkSL), {}) in sphere_fancylight_effect()
136 SkRuntimeEffect::MakeForShader(SkStringPrintf(gSphereSkSL, gFancyLightSkSL), {}) in sphere_fancylight_effect()
146 SkRuntimeEffect::MakeForShader(SkStringPrintf(gSphereSkSL, gBasicLightSkSL), {}) in sphere_basiclight_effect()
DDisplacementMapEffect.cpp62 SkRuntimeEffect::MakeForShader(SkString(gDisplacementSkSL)).effect.release(); in displacement_effect_singleton()
64 auto err = SkRuntimeEffect::MakeForShader(SkString(gDisplacementSkSL)).errorText; in displacement_effect_singleton()
DBulgeEffect.cpp71 SkRuntimeEffect::MakeForShader(SkString(gBulgeDisplacementSkSL), {}).effect.release(); in bulge_effect()
DSkSLEffect.cpp73 auto result = SkRuntimeEffect::MakeForShader(shader, {}); in SkSLEffectBase()
/external/skia/include/effects/
DSkRuntimeEffect.h171 static Result MakeForShader(SkString sksl, const Options&);
172 static Result MakeForShader(SkString sksl) { in MakeForShader() function
173 return MakeForShader(std::move(sksl), Options{}); in MakeForShader()
/external/skia/modules/jetski/src/
DRuntimeShaderBuilder.cpp18 auto [eff,err] = SkRuntimeEffect::MakeForShader( in ShaderBuilder_Create()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp390 SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in asFragmentProcessor()
411 SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in asFragmentProcessor()
440 SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in asFragmentProcessor()
DSkRadialGradient.cpp131 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in asFragmentProcessor()
/external/skia/fuzz/oss_fuzz/
DFuzzSkRuntimeEffect.cpp32 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderText, options); in FuzzSkRuntimeEffect_Once()
/external/skia/src/shaders/
DSkGainmapShader.cpp65 SkRuntimeEffect::MakeForShader(SkString(gGainmapSKSL), {}).effect.release(); in gainmap_apply_effect()
DSkCoordClampShader.cpp113 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in asFragmentProcessor()
DSkComposeShader.cpp226 static SkRuntimeEffect* sBlendEffect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in Blend()
/external/skia/experimental/webgpu-bazel/src/
Dbindings.cpp105 auto [effect, err] = SkRuntimeEffect::MakeForShader(SkString(sksl)); in init()
/external/skia/src/gpu/ganesh/
DGrFragmentProcessor.cpp605 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in Rect()
656 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in Circle()
717 static const SkRuntimeEffect* effect = SkMakeRuntimeEffect(SkRuntimeEffect::MakeForShader, in Ellipse()

12