Lines Matching refs:bitmapShader
245 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(*rec.fMatrix, rec.fLocalMatrix));
246 if (nullptr == bitmapShader.get()) {
249 return PictureShaderContext::Create(storage, *this, rec, bitmapShader);
255 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) {
256 PictureShaderContext* ctx = new (storage) PictureShaderContext(shader, rec, bitmapShader);
265 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader)
267 , fBitmapShader(SkRef(bitmapShader))
269 fBitmapShaderContextStorage = sk_malloc_throw(bitmapShader->contextSize(rec));
270 fBitmapShaderContext = bitmapShader->createContext(rec, fBitmapShaderContextStorage);
324 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize));
325 if (!bitmapShader) {
328 return bitmapShader->asFragmentProcessor(context, viewM, nullptr, fq);