Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/shaders/
DSkPictureShader.cpp277 auto& bitmapShader = *rec.fAlloc->make<sk_sp<SkShader>>(); in onAppendStages() local
278 bitmapShader = this->refBitmapShader(rec.fCTM, &lm, rec.fDstColorType, rec.fDstCS); in onAppendStages()
280 if (!bitmapShader) { in onAppendStages()
287 return as_SB(bitmapShader)->appendStages(localRec); in onAppendStages()
296 sk_sp<SkShader> bitmapShader = this->refBitmapShader(*rec.fMatrix, &lm, rec.fDstColorType, in onMakeContext() local
298 if (!bitmapShader) { in onMakeContext()
306 alloc->make<PictureShaderContext>(*this, localRec, std::move(bitmapShader), alloc); in onMakeContext()
317 const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader, in PictureShaderContext() argument
320 , fBitmapShader(std::move(bitmapShader)) in PictureShaderContext()
352 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, &lm, dstColorType, in asFragmentProcessor() local
[all …]
DSkPictureShader.h58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
/third_party/skia/src/shaders/
DSkPictureShader.cpp283 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 …]
DSkPictureShader.h58 const SkPictureShader&, const ContextRec&, sk_sp<SkShader> bitmapShader, SkArenaAlloc*);
/third_party/skia/gm/
Dpictureshader.cpp183 auto bitmapShader = fBitmap.makeShader(kTileConfigs[tileMode].tmx, in drawScene() local
188 ? bitmapShader->makeWithLocalMatrix(localMatrix) in drawScene()
189 : bitmapShader); in drawScene()
/third_party/flutter/skia/gm/
Dpictureshader.cpp175 auto bitmapShader = fBitmap.makeShader( in drawScene() local
181 ? bitmapShader->makeWithLocalMatrix(localMatrix) in drawScene()
182 : bitmapShader); in drawScene()
/third_party/flutter/skia/src/xps/
DSkXPSDevice.cpp2091 auto bitmapShader = SkMakeBitmapShaderForPaint(paint, bitmap, SkTileMode::kClamp, in drawBitmapRect() local
2094 SkASSERT(bitmapShader); in drawBitmapRect()
2095 if (!bitmapShader) { return; } in drawBitmapRect()
2098 paintWithShader.setShader(std::move(bitmapShader)); in drawBitmapRect()
/third_party/skia/src/xps/
DSkXPSDevice.cpp2036 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()