Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleLighting.cpp51 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normalBitmap, in LightingView() local
55 fNormalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), SkMatrix::I()); in LightingView()
DSampleLitAtlas.cpp134 … sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fAtlas, SkShader::kClamp_TileMode, in onDraw() local
137 std::move(normalMap), m); in onDraw()
/external/skia/samplecode/
DSampleLighting.cpp51 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normalBitmap, in LightingView() local
55 fNormalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), SkMatrix::I()); in LightingView()
DSampleLitAtlas.cpp134 … sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fAtlas, SkShader::kClamp_TileMode, in onDraw() local
137 std::move(normalMap), m); in onDraw()
/external/skqp/gm/
Dlightingshader.cpp104 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fNormalMaps[mapType], in drawRect() local
106 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in drawRect()
Dlightingshader2.cpp96 SkBitmap normalMap = make_frustum_normalmap(kTexSize); in onOnceBeforeDraw() local
97 fNormalMapShader = SkShader::MakeBitmapShader(normalMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
/external/skia/gm/
Dlightingshader.cpp104 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fNormalMaps[mapType], in drawRect() local
106 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in drawRect()
Dlightingshader2.cpp96 SkBitmap normalMap = make_frustum_normalmap(kTexSize); in onOnceBeforeDraw() local
97 fNormalMapShader = SkShader::MakeBitmapShader(normalMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
/external/skqp/tests/
DSerializationTest.cpp609 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normals, SkShader::kClamp_TileMode, in DEF_TEST() local
611 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in DEF_TEST()
/external/skia/tests/
DSerializationTest.cpp609 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normals, SkShader::kClamp_TileMode, in DEF_TEST() local
611 sk_sp<SkNormalSource> normalSource = SkNormalSource::MakeFromNormalMap(std::move(normalMap), in DEF_TEST()