Searched refs:bitmapShader (Results 1 – 8 of 8) sorted by relevance
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 261 auto& bitmapShader = *rec.fAlloc->make<sk_sp<SkShader>>(); in onAppendStages() local 262 bitmapShader = this->refBitmapShader(rec.fCTM, &lm, rec.fDstColorType, rec.fDstCS); in onAppendStages() 264 if (!bitmapShader) { in onAppendStages() 271 return as_SB(bitmapShader)->appendStages(localRec); in onAppendStages() 280 sk_sp<SkShader> bitmapShader = this->refBitmapShader(*rec.fMatrix, &lm, rec.fDstColorType, in onMakeContext() local 282 if (!bitmapShader) { in onMakeContext() 290 alloc->make<PictureShaderContext>(*this, localRec, std::move(bitmapShader), alloc); in onMakeContext() 311 const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader, in PictureShaderContext() argument 314 , fBitmapShader(std::move(bitmapShader)) in PictureShaderContext() 341 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor() local [all …]
|
D | SkPictureShader.h | 57 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 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() 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)->program(p, device,local, paint, in onProgram() 322 sk_sp<SkShader> bitmapShader = this->rasterShader(*rec.fMatrix, &lm, rec.fDstColorType, in onMakeContext() local 324 if (!bitmapShader) { in onMakeContext() [all …]
|
D | SkPictureShader.h | 58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
|
/external/skqp/gm/ |
D | pictureshader.cpp | 166 auto bitmapShader = SkShader::MakeBitmapShader(fBitmap, in drawScene() local 172 ? bitmapShader->makeWithLocalMatrix(localMatrix) in drawScene() 173 : bitmapShader); in drawScene()
|
/external/skia/gm/ |
D | pictureshader.cpp | 176 auto bitmapShader = fBitmap.makeShader(kTileConfigs[tileMode].tmx, in drawScene() local 181 ? bitmapShader->makeWithLocalMatrix(localMatrix) in drawScene() 182 : bitmapShader); in drawScene()
|
/external/skia/src/xps/ |
D | SkXPSDevice.cpp | 2033 auto bitmapShader = SkMakeBitmapShaderForPaint(paint, bitmap, in drawImageRect() local 2036 SkASSERT(bitmapShader); in drawImageRect() 2037 if (!bitmapShader) { return; } in drawImageRect() 2040 paintWithShader.setShader(std::move(bitmapShader)); in drawImageRect()
|
/external/skqp/src/xps/ |
D | SkXPSDevice.cpp | 2161 auto bitmapShader = SkMakeBitmapShader(bitmap, SkShader::kClamp_TileMode, in drawBitmapRect() local 2164 SkASSERT(bitmapShader); in drawBitmapRect() 2165 if (!bitmapShader) { return; } in drawBitmapRect() 2168 paintWithShader.setShader(std::move(bitmapShader)); in drawBitmapRect()
|