Searched refs:diffuseShader (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/core/ |
D | SkLightingShader.cpp | 46 SkLightingShaderImpl(sk_sp<SkShader> diffuseShader, in SkLightingShaderImpl() argument 49 : fDiffuseShader(std::move(diffuseShader)) in SkLightingShaderImpl() 417 sk_sp<SkShader> diffuseShader = nullptr; in CreateProc() local 419 diffuseShader = buf.readFlattenable<SkShader>(); in CreateProc() 422 return sk_make_sp<SkLightingShaderImpl>(std::move(diffuseShader), std::move(normalSource), in CreateProc() 459 sk_sp<SkShader> SkLightingShader::Make(sk_sp<SkShader> diffuseShader, in Make() argument 467 return sk_make_sp<SkLightingShaderImpl>(std::move(diffuseShader), std::move(normalSource), in Make()
|
D | SkShadowShader.cpp | 25 sk_sp<SkShader> diffuseShader, in SkShadowShaderImpl() argument 30 , fDiffuseShader(std::move(diffuseShader)) in SkShadowShaderImpl() 867 sk_sp<SkShader> diffuseShader(buf.readFlattenable<SkShader>()); in CreateProc() local 870 std::move(diffuseShader), in CreateProc() 929 sk_sp<SkShader> diffuseShader, in Make() argument 933 if (!povDepthShader || !diffuseShader) { in Make() 940 std::move(diffuseShader), in Make()
|
D | SkLightingShader.h | 33 static sk_sp<SkShader> Make(sk_sp<SkShader> diffuseShader, sk_sp<SkNormalSource> normalSource,
|
D | SkShadowShader.h | 27 sk_sp<SkShader> diffuseShader,
|
D | SkCanvas.cpp | 3010 sk_sp<SkShader> diffuseShader = diffuseMap->makeShader(SkShader::kClamp_TileMode, in onDrawShadowedPicture() local 3115 std::move(diffuseShader), in onDrawShadowedPicture()
|
/external/skia/samplecode/ |
D | SampleLighting.cpp | 72 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fDiffuseBitmap, in onDrawContent() local 74 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in onDrawContent()
|
D | SampleLitAtlas.cpp | 137 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fAtlas, in onDraw() local 139 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), in onDraw()
|
/external/skia/gm/ |
D | lightingshader2.cpp | 116 sk_sp<SkShader> diffuseShader = nullptr; in drawRect() local 123 diffuseShader = (useTranslucentShader) ? fTranslucentDiffuse : fOpaqueDiffuse; in drawRect() 132 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
|
D | lightingshader.cpp | 102 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fDiffuse, in drawRect() local 108 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 609 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(diffuse, in DEF_TEST() local 612 sk_sp<SkShader> lightingShader = SkLightingShader::Make(diffuseShader, in DEF_TEST() 617 lightingShader = SkLightingShader::Make(std::move(diffuseShader), in DEF_TEST()
|