Searched refs:effectBuilder (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | AnimatedDrawables.h | 68 SkRuntimeShaderBuilder effectBuilder; member 74 auto& effectBuilder = const_cast<SkRuntimeShaderBuilder&>(params.effectBuilder); in draw() local 76 setUniform2f(effectBuilder, "in_origin", params.x->value, params.y->value); in draw() 77 setUniform(effectBuilder, "in_radius", params.radius); in draw() 78 setUniform(effectBuilder, "in_progress", params.progress); in draw() 79 setUniform(effectBuilder, "in_turbulencePhase", params.turbulencePhase); in draw() 80 setUniform(effectBuilder, "in_noisePhase", params.turbulencePhase->value * 0.001); in draw() 82 SkRuntimeShaderBuilder::BuilderUniform uniform = effectBuilder.uniform("in_color"); in draw() 100 setUniform2f(effectBuilder, "in_tCircle1", SCALE * 0.5 + (turbulencePhase * CIRCLE_X_1), in draw() 102 setUniform2f(effectBuilder, "in_tCircle2", SCALE * 0.2 + (turbulencePhase * CIRCLE_X_2), in draw() [all …]
|
D | LayerDrawable.cpp | 90 SkRuntimeShaderBuilder effectBuilder(std::move(runtimeEffect)); in createLinearEffectShader() local 92 effectBuilder.child("child") = std::move(shader); in createLinearEffectShader() 98 effectBuilder.uniform(uniform.name.c_str()).set(uniform.value.data(), uniform.value.size()); in createLinearEffectShader() 101 return effectBuilder.makeShader(); in createLinearEffectShader()
|
/frameworks/native/libs/renderengine/skia/filters/ |
D | LinearEffect.cpp | 49 SkRuntimeShaderBuilder effectBuilder(runtimeEffect); in createLinearEffectShader() local 51 effectBuilder.child("child") = shader; in createLinearEffectShader() 59 effectBuilder.uniform(uniform.name.c_str()).set(uniform.value.data(), uniform.value.size()); in createLinearEffectShader() 62 return effectBuilder.makeShader(); in createLinearEffectShader()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasOpTests.cpp | 590 .effectBuilder = SkRuntimeShaderBuilder(effect)}; in TEST()
|