Lines Matching refs:bitmapShader
282 // Keep bitmapShader alive by using alloc instead of stack memory
283 auto& bitmapShader = *rec.fAlloc->make<sk_sp<SkShader>>();
284 bitmapShader = this->rasterShader(rec.fMatrixProvider.localToDevice(), &lm,
286 if (!bitmapShader) {
293 return as_SB(bitmapShader)->appendStages(localRec);
303 // Keep bitmapShader alive by using alloc instead of stack memory
304 auto& bitmapShader = *alloc->make<sk_sp<SkShader>>();
305 bitmapShader = this->rasterShader(matrices.localToDevice(), &lm,
307 if (!bitmapShader) {
311 return as_SB(bitmapShader)->program(p, device,local, paint,
322 sk_sp<SkShader> bitmapShader = this->rasterShader(*rec.fMatrix, &lm, rec.fDstColorType,
324 if (!bitmapShader) {
332 alloc->make<PictureShaderContext>(*this, localRec, std::move(bitmapShader), alloc);
343 const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader,
346 , fBitmapShader(std::move(bitmapShader))