Home
last modified time | relevance | path

Searched refs:SkRuntimeShaderBuilder (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DAnimatedDrawables.h68 SkRuntimeShaderBuilder effectBuilder;
74 auto& effectBuilder = const_cast<SkRuntimeShaderBuilder&>(params.effectBuilder); in draw()
82 SkRuntimeShaderBuilder::BuilderUniform uniform = effectBuilder.uniform("in_color"); in draw()
124 static void setUniform(SkRuntimeShaderBuilder& effectBuilder, const char* name, in setUniform()
126 SkRuntimeShaderBuilder::BuilderUniform uniform = effectBuilder.uniform(name); in setUniform()
132 static void setUniform(SkRuntimeShaderBuilder& effectBuilder, const char* name, float value) { in setUniform()
133 SkRuntimeShaderBuilder::BuilderUniform uniform = effectBuilder.uniform(name); in setUniform()
139 static void setUniform2f(SkRuntimeShaderBuilder& effectBuilder, const char* name, float a, in setUniform2f()
141 SkRuntimeShaderBuilder::BuilderUniform uniform = effectBuilder.uniform(name); in setUniform2f()
/frameworks/base/libs/hwui/jni/
DShader.cpp248 return reinterpret_cast<jlong>(new SkRuntimeShaderBuilder(std::move(result.effect))); in RuntimeShader_createShaderBuilder()
251 static void SkRuntimeShaderBuilder_delete(SkRuntimeShaderBuilder* builder) { in SkRuntimeShaderBuilder_delete()
261 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_create()
278 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_updateUniforms()
282 SkRuntimeShaderBuilder::BuilderUniform uniform = builder->uniform(name.c_str()); in RuntimeShader_updateUniforms()
293 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_updateShader()
297 SkRuntimeShaderBuilder::BuilderChild child = builder->child(name.c_str()); in RuntimeShader_updateShader()
Dandroid_graphics_DisplayListCanvas.cpp157 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(builderPtr); in android_view_DisplayListCanvas_drawRippleProps()
/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.h32 std::unique_ptr<SkRuntimeShaderBuilder> mBuilder;
DBlurFilter.cpp103 SkRuntimeShaderBuilder blurBuilder(mBlurEffect); in generate()
164 SkRuntimeShaderBuilder blurBuilder(mMixEffect); in drawBlurRegion()
DStretchShaderFactory.cpp221 mBuilder = std::make_unique<SkRuntimeShaderBuilder>(instance.effect); in createSkShader()
DLinearEffect.cpp452 SkRuntimeShaderBuilder effectBuilder(runtimeEffect); in createLinearEffectShader()
/frameworks/base/libs/hwui/effects/
DStretchEffect.h133 mutable std::unique_ptr<SkRuntimeShaderBuilder> mBuilder;
DStretchEffect.cpp208 mBuilder = std::make_unique<SkRuntimeShaderBuilder>(getStretchEffect()); in getShader()
/frameworks/base/libs/hwui/hwui/
DCanvas.h34 class SkRuntimeShaderBuilder; variable
/frameworks/base/libs/hwui/tests/unit/
DCanvasOpTests.cpp590 .effectBuilder = SkRuntimeShaderBuilder(effect)}; in TEST()