Searched refs:bitmapShader (Results 1 – 8 of 8) sorted by relevance
/external/skia/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() 344 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/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/gm/ |
D | pictureshader.cpp | 166 auto bitmapShader = SkShader::MakeBitmapShader(fBitmap, in drawScene() local 172 ? bitmapShader->makeWithLocalMatrix(localMatrix) in drawScene() 173 : bitmapShader); in drawScene()
|
/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/src/xps/ |
D | SkXPSDevice.cpp | 2087 auto bitmapShader = SkMakeBitmapShader(bitmap, SkShader::kClamp_TileMode, in drawBitmapRect() local 2090 SkASSERT(bitmapShader); in drawBitmapRect() 2091 if (!bitmapShader) { return; } in drawBitmapRect() 2094 paintWithShader.setShader(std::move(bitmapShader)); in drawBitmapRect()
|
/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()
|