Searched refs:diffuseMap (Results 1 – 2 of 2) sorted by relevance
/external/skia/gm/ |
D | lightingshaderbevel.cpp | 51 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/ |
D | SkCanvas.cpp | 2966 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()
|