Home
last modified time | relevance | path

Searched refs:diffuseShader (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/core/
DSkLightingShader.cpp46 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()
DSkShadowShader.cpp25 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()
DSkLightingShader.h33 static sk_sp<SkShader> Make(sk_sp<SkShader> diffuseShader, sk_sp<SkNormalSource> normalSource,
DSkShadowShader.h27 sk_sp<SkShader> diffuseShader,
DSkCanvas.cpp3010 sk_sp<SkShader> diffuseShader = diffuseMap->makeShader(SkShader::kClamp_TileMode, in onDrawShadowedPicture() local
3115 std::move(diffuseShader), in onDrawShadowedPicture()
/external/skia/samplecode/
DSampleLighting.cpp72 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fDiffuseBitmap, in onDrawContent() local
74 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in onDrawContent()
DSampleLitAtlas.cpp137 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fAtlas, in onDraw() local
139 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), in onDraw()
/external/skia/gm/
Dlightingshader2.cpp116 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()
Dlightingshader.cpp102 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/
DSerializationTest.cpp609 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()