Home
last modified time | relevance | path

Searched refs:normalSource (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/shaders/
DSkLightingShader.cpp50 sk_sp<SkNormalSource> normalSource, in SkLightingShaderImpl() argument
53 , fNormalSource(std::move(normalSource)) in SkLightingShaderImpl()
429 sk_sp<SkNormalSource> normalSource(buf.readFlattenable<SkNormalSource>()); in CreateProc() local
437 return sk_make_sp<SkLightingShaderImpl>(std::move(diffuseShader), std::move(normalSource), in CreateProc()
486 sk_sp<SkNormalSource> normalSource, in Make() argument
489 if (!normalSource) { in Make()
490 normalSource = SkNormalSource::MakeFlat(); in Make()
493 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,
/external/skqp/src/shaders/
DSkLightingShader.cpp50 sk_sp<SkNormalSource> normalSource, in SkLightingShaderImpl() argument
53 , fNormalSource(std::move(normalSource)) in SkLightingShaderImpl()
431 sk_sp<SkNormalSource> normalSource(buf.readFlattenable<SkNormalSource>()); in CreateProc() local
439 return sk_make_sp<SkLightingShaderImpl>(std::move(diffuseShader), std::move(normalSource), in CreateProc()
486 sk_sp<SkNormalSource> normalSource, in Make() argument
489 if (!normalSource) { in Make()
490 normalSource = SkNormalSource::MakeFlat(); in Make()
493 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,
/external/skqp/gm/
Dlightingshader2.cpp120 sk_sp<SkNormalSource> normalSource = nullptr; in drawRect() local
124 normalSource = SkNormalSource::MakeFromNormalMap(fNormalMapShader, ctm); in drawRect()
137 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
Dlightingshader.cpp106 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in drawRect() local
108 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
/external/skia/gm/
Dlightingshader2.cpp120 sk_sp<SkNormalSource> normalSource = nullptr; in drawRect() local
124 normalSource = SkNormalSource::MakeFromNormalMap(fNormalMapShader, ctm); in drawRect()
137 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
Dlightingshader.cpp106 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in drawRect() local
108 paint.setShader(SkLightingShader::Make(std::move(diffuseShader), std::move(normalSource), in drawRect()
/external/skia/samplecode/
DSampleLitAtlas.cpp136 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap( in onDraw() local
141 std::move(normalSource), fLights)); in onDraw()
/external/skqp/samplecode/
DSampleLitAtlas.cpp136 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap( in onDraw() local
141 std::move(normalSource), fLights)); in onDraw()
/external/skqp/tests/
DSerializationTest.cpp611 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in DEF_TEST() local
617 normalSource, in DEF_TEST()
627 std::move(normalSource), in DEF_TEST()
/external/skia/tests/
DSerializationTest.cpp611 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in DEF_TEST() local
617 normalSource, in DEF_TEST()
627 std::move(normalSource), in DEF_TEST()