Lines Matching refs:SkImageShader
34 SkImageShader::SkImageShader(sk_sp<SkImage> img, in SkImageShader() function in SkImageShader
48 sk_sp<SkFlattenable> SkImageShader::CreateProc(SkReadBuffer& buffer) { in CreateProc()
57 return SkImageShader::Make(std::move(img), tx, ty, &localMatrix); in CreateProc()
60 void SkImageShader::flatten(SkWriteBuffer& buffer) const { in flatten()
68 bool SkImageShader::isOpaque() const { in isOpaque()
95 SkShaderBase::Context* SkImageShader::onMakeContext(const ContextRec& rec, in onMakeContext()
136 SkImage* SkImageShader::onIsAImage(SkMatrix* texM, TileMode xy[]) const { in onIsAImage()
147 sk_sp<SkShader> SkImageShader::Make(sk_sp<SkImage> image, in Make()
154 return sk_sp<SkShader>{ new SkImageShader(image, tx,ty, localMatrix, clampAsIfUnpremul) }; in Make()
183 std::unique_ptr<GrFragmentProcessor> SkImageShader::asFragmentProcessor( in asFragmentProcessor()
264 return SkImageShader::Make(SkMakeImageFromRasterBitmap(src, cpm), in SkMakeBitmapShader()
268 void SkShaderBase::RegisterFlattenables() { SK_REGISTER_FLATTENABLE(SkImageShader); } in RegisterFlattenables()
270 bool SkImageShader::onAppendStages(const StageRec& rec) const { in onAppendStages()