Searched refs:tileShader (Results 1 – 1 of 1) sorted by relevance
66 BitmapShaderRec(const BitmapShaderKey& key, SkShader* tileShader, size_t bitmapBytes) in BitmapShaderRec()68 , fShader(SkRef(tileShader)) in BitmapShaderRec()209 SkAutoTUnref<SkShader> tileShader; in refBitmapShader() local217 if (!SkResourceCache::Find(key, BitmapShaderRec::Visitor, &tileShader)) { in refBitmapShader()230 tileShader.reset(tileImage->newShader(fTmx, fTmy, &shaderMatrix)); in refBitmapShader()233 SkResourceCache::Add(new BitmapShaderRec(key, tileShader.get(), in refBitmapShader()237 return tileShader.detach(); in refBitmapShader()