Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/shaders/
DSkLightingShader.cpp48 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()
DSkLightingShader.h33 static sk_sp<SkShader> Make(sk_sp<SkShader> diffuseShader, sk_sp<SkNormalSource> normalSource,
/third_party/flutter/skia/gm/
Dlightingshader2.cpp132 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()
Dlightingshader.cpp112 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/
DSampleLitAtlas.cpp137 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/
DSerializationTest.cpp624 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()