Searched refs:tileShader (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/core/ |
D | SkPictureShader.cpp | 64 BitmapShaderRec(const BitmapShaderKey& key, SkShader* tileShader, size_t bitmapBytes) in BitmapShaderRec() 66 , fShader(SkRef(tileShader)) in BitmapShaderRec() 195 SkAutoTUnref<SkShader> tileShader; in refBitmapShader() local 203 if (!SkResourceCache::Find(key, BitmapShaderRec::Visitor, &tileShader)) { in refBitmapShader() 220 tileShader.reset(CreateBitmapShader(bm, fTmx, fTmy, &shaderMatrix)); in refBitmapShader() 222 SkResourceCache::Add(SkNEW_ARGS(BitmapShaderRec, (key, tileShader.get(), bm.getSize()))); in refBitmapShader() 225 return tileShader.detach(); in refBitmapShader()
|