Home
last modified time | relevance | path

Searched refs:bitmapShader (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/shaders/
DSkPictureShader.cpp302 auto& bitmapShader = *alloc->make<sk_sp<SkShader>>(); in onAppendStages() local
303 bitmapShader = this->refBitmapShader(ctm, localMatrix, cs); in onAppendStages()
304 return bitmapShader && as_SB(bitmapShader)->appendStages(p, cs, alloc, ctm, paint); in onAppendStages()
310 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*rec.fMatrix, rec.fLocalMatrix, in onMakeContext() local
312 if (!bitmapShader) { in onMakeContext()
317 alloc->make<PictureShaderContext>(*this, rec, std::move(bitmapShader), alloc); in onMakeContext()
337 const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader, in PictureShaderContext() argument
340 , fBitmapShader(std::move(bitmapShader)) in PictureShaderContext()
385 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, args.fLocalMatrix, in asFragmentProcessor() local
387 if (!bitmapShader) { in asFragmentProcessor()
[all …]
DSkPictureShader.h58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
/external/skia/src/xps/
DSkXPSDevice.cpp2268 auto bitmapShader = SkMakeBitmapShader(bitmap, SkShader::kClamp_TileMode, in drawBitmapRect() local
2271 SkASSERT(bitmapShader); in drawBitmapRect()
2272 if (!bitmapShader) { return; } in drawBitmapRect()
2275 paintWithShader.setShader(std::move(bitmapShader)); in drawBitmapRect()