Searched refs:tileShader (Results 1 – 1 of 1) sorted by relevance
88 BitmapShaderRec(const BitmapShaderKey& key, SkShader* tileShader) in BitmapShaderRec()90 , fShader(SkRef(tileShader)) {} in BitmapShaderRec()257 sk_sp<SkShader> tileShader; in refBitmapShader() local267 if (!SkResourceCache::Find(key, BitmapShaderRec::Visitor, &tileShader)) { in refBitmapShader()285 tileShader = tileImage->makeShader(fTmx, fTmy, &shaderMatrix); in refBitmapShader()287 SkResourceCache::Add(new BitmapShaderRec(key, tileShader.get())); in refBitmapShader()291 return tileShader; in refBitmapShader()