Home
last modified time | relevance | path

Searched refs:diffuseMap (Results 1 – 2 of 2) sorted by relevance

/external/skia/gm/
Dlightingshaderbevel.cpp51 SkBitmap diffuseMap = sk_tool_utils::create_checkerboard_bitmap( in onOnceBeforeDraw() local
56 fDiffuse = SkShader::MakeBitmapShader(diffuseMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
/external/skia/src/core/
DSkCanvas.cpp2966 sk_sp<SkImage> diffuseMap; in onDrawShadowedPicture() local
3005 diffuseMap = surf->makeImageSnapshot(); in onDrawShadowedPicture()
3010 sk_sp<SkShader> diffuseShader = diffuseMap->makeShader(SkShader::kClamp_TileMode, in onDrawShadowedPicture()
3029 SkImageInfo info = SkImageInfo::Make(diffuseMap->width(), 1, in onDrawShadowedPicture()
3055 depthMapCanvas->drawRect(SkRect::MakeIWH(diffuseMap->width(), in onDrawShadowedPicture()
3056 diffuseMap->height()), in onDrawShadowedPicture()
3117 diffuseMap->width(), in onDrawShadowedPicture()
3118 diffuseMap->height(), in onDrawShadowedPicture()
3123 this->drawRect(SkRect::MakeIWH(diffuseMap->width(), diffuseMap->height()), shadowPaint); in onDrawShadowedPicture()