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