Searched refs:diffuseShader (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/src/shaders/ |
D | SkLightingShader.cpp | 48 SkLightingShaderImpl(sk_sp<SkShader> diffuseShader, in SkLightingShaderImpl() argument 51 : fDiffuseShader(std::move(diffuseShader)) in SkLightingShaderImpl() 430 sk_sp<SkShader> diffuseShader = nullptr; in CreateProc() local 432 diffuseShader = buf.readFlattenable<SkShaderBase>(); in CreateProc() 435 return sk_make_sp<SkLightingShaderImpl>(std::move(diffuseShader), std::move(normalSource), in CreateProc() 476 sk_sp<SkShader> SkLightingShader::Make(sk_sp<SkShader> diffuseShader, in Make() argument 484 return sk_make_sp<SkLightingShaderImpl>(std::move(diffuseShader), std::move(normalSource), in Make()
|
D | SkLightingShader.h | 33 static sk_sp<SkShader> Make(sk_sp<SkShader> diffuseShader, sk_sp<SkNormalSource> normalSource,
|
/third_party/flutter/skia/gm/ |
D | lightingshader2.cpp | 132 sk_sp<SkShader> diffuseShader = nullptr; in drawRect() local 139 diffuseShader = (useTranslucentShader) ? fTranslucentDiffuse : fOpaqueDiffuse; in drawRect() 148 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
|
D | lightingshader.cpp | 112 sk_sp<SkShader> diffuseShader = fDiffuse.makeShader(&matrix); in drawRect() local 116 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
|
/third_party/flutter/skia/samplecode/ |
D | SampleLitAtlas.cpp | 137 sk_sp<SkShader> diffuseShader = fAtlas.makeShader(&diffMat); in onDraw() local 138 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), in onDraw()
|
/third_party/flutter/skia/tests/ |
D | SerializationTest.cpp | 624 sk_sp<SkShader> diffuseShader = diffuse.makeShader(&matrix); in DEF_TEST() local 626 sk_sp<SkShader> lightingShader = SkLightingShader::Make(diffuseShader, in DEF_TEST() 631 lightingShader = SkLightingShader::Make(std::move(diffuseShader), in DEF_TEST()
|