Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DShader.cpp256 return reinterpret_cast<jlong>(new SkRuntimeShaderBuilder(std::move(result.effect))); in RuntimeShader_createShaderBuilder()
259 static void SkRuntimeShaderBuilder_delete(SkRuntimeShaderBuilder* builder) { in SkRuntimeShaderBuilder_delete()
268 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_create()
301 static void UpdateFloatUniforms(JNIEnv* env, SkRuntimeShaderBuilder* builder, in UpdateFloatUniforms()
304 SkRuntimeShaderBuilder::BuilderUniform uniform = builder->uniform(uniformName); in UpdateFloatUniforms()
330 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_updateFloatUniforms()
339 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_updateFloatArrayUniforms()
345 static void UpdateIntUniforms(JNIEnv* env, SkRuntimeShaderBuilder* builder, const char* uniformName, in UpdateIntUniforms()
347 SkRuntimeShaderBuilder::BuilderUniform uniform = builder->uniform(uniformName); in UpdateIntUniforms()
362 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilder); in RuntimeShader_updateIntUniforms()
[all …]
DRenderEffect.cpp143 SkRuntimeShaderBuilder* builder = in createRuntimeShaderEffect()
144 reinterpret_cast<SkRuntimeShaderBuilder*>(shaderBuilderHandle); in createRuntimeShaderEffect()
Dandroid_graphics_DisplayListCanvas.cpp150 SkRuntimeShaderBuilder* builder = reinterpret_cast<SkRuntimeShaderBuilder*>(builderPtr); in android_view_DisplayListCanvas_drawRippleProps()
/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/native/libs/renderengine/skia/filters/
DMouriMap.cpp98 sk_sp<SkImage> makeImage(SkSurface* surface, const SkRuntimeShaderBuilder& builder) { in makeImage()
127 SkRuntimeShaderBuilder crosstalkAndChunk16x16Builder(mCrosstalkAndChunk16x16); in downchunk()
149 SkRuntimeShaderBuilder chunk8x8Builder(mChunk8x8); in downchunk()
162 SkRuntimeShaderBuilder blurBuilder(mBlur); in blur()
172 SkRuntimeShaderBuilder tonemapBuilder(mTonemap); in tonemap()
DKawaseBlurFilter.cpp64 static sk_sp<SkImage> makeImage(SkSurface* surface, SkRuntimeShaderBuilder* builder) { in makeImage()
105 SkRuntimeShaderBuilder blurBuilder(mBlurEffect); in generate()
DStretchShaderFactory.h32 std::unique_ptr<SkRuntimeShaderBuilder> mBuilder;
DLinearEffect.cpp49 SkRuntimeShaderBuilder effectBuilder(runtimeEffect); in createLinearEffectShader()
DStretchShaderFactory.cpp221 mBuilder = std::make_unique<SkRuntimeShaderBuilder>(instance.effect); in createSkShader()
DBlurFilter.cpp100 SkRuntimeShaderBuilder blurBuilder(mMixEffect); in drawBlurRegion()
/frameworks/base/libs/hwui/effects/
DStretchEffect.h133 mutable std::unique_ptr<SkRuntimeShaderBuilder> mBuilder;
DStretchEffect.cpp208 mBuilder = std::make_unique<SkRuntimeShaderBuilder>(getStretchEffect()); in getShader()
DGainmapRenderer.cpp175 SkRuntimeShaderBuilder mBuilder{mShader};
/frameworks/base/libs/hwui/hwui/
DCanvas.h35 class SkRuntimeShaderBuilder; variable
/frameworks/base/libs/hwui/tests/unit/
DCanvasOpTests.cpp599 .effectBuilder = SkRuntimeShaderBuilder(effect)}; in TEST()