Searched refs:bitmapShader (Results 1 - 4 of 4) sorted by relevance
/third_party/skia/src/shaders/ |
H A D | SkPictureShader.cpp | 282 // Keep bitmapShader alive by using alloc instead of stack memory in onAppendStages() 283 auto& bitmapShader = *rec.fAlloc->make<sk_sp<SkShader>>(); in onAppendStages() local 284 bitmapShader = this->rasterShader(rec.fMatrixProvider.localToDevice(), &lm, in onAppendStages() 286 if (!bitmapShader) { in onAppendStages() 293 return as_SB(bitmapShader)->appendStages(localRec); in onAppendStages() 303 // Keep bitmapShader alive by using alloc instead of stack memory in onProgram() 304 auto& bitmapShader = *alloc->make<sk_sp<SkShader>>(); in onProgram() local 305 bitmapShader = this->rasterShader(matrices.localToDevice(), &lm, in onProgram() 307 if (!bitmapShader) { in onProgram() 311 return as_SB(bitmapShader) in onProgram() 322 sk_sp<SkShader> bitmapShader = this->rasterShader(*rec.fMatrix, &lm, rec.fDstColorType, onMakeContext() local 342 PictureShaderContext( const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader, SkArenaAlloc* alloc) PictureShaderContext() argument [all...] |
H A D | SkPictureShader.h | 58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
|
/third_party/skia/gm/ |
H A D | pictureshader.cpp | 183 auto bitmapShader = fBitmap.makeShader(kTileConfigs[tileMode].tmx, in drawScene() local 188 ? bitmapShader->makeWithLocalMatrix(localMatrix) in drawScene() 189 : bitmapShader); in drawScene()
|
/third_party/skia/src/xps/ |
H A D | SkXPSDevice.cpp | 2036 auto bitmapShader = SkMakeBitmapShaderForPaint(paint, bitmap, in drawImageRect() local 2039 SkASSERT(bitmapShader); in drawImageRect() 2040 if (!bitmapShader) { return; } in drawImageRect() 2043 paintWithShader.setShader(std::move(bitmapShader)); in drawImageRect()
|
Completed in 6 milliseconds