Lines Matching full:sk_sp
35 BitmapShaderKey(sk_sp<SkColorSpace> colorSpace,
78 sk_sp<SkColorSpace> fColorSpace;
94 sk_sp<SkShader> fShader;
107 sk_sp<SkShader>* result = reinterpret_cast<sk_sp<SkShader>*>(contextShader);
128 SkPictureShader::SkPictureShader(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy,
130 sk_sp<SkColorSpace> colorSpace)
146 sk_sp<SkShader> SkPictureShader::Make(sk_sp<SkPicture> picture, TileMode tmx, TileMode tmy,
151 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile,
155 sk_sp<SkFlattenable> SkPictureShader::CreateProc(SkReadBuffer& buffer) {
163 sk_sp<SkPicture> picture;
182 sk_sp<SkShader> SkPictureShader::refBitmapShader(const SkMatrix& viewMatrix, const SkMatrix* localM,
238 sk_sp<SkColorSpace> keyCS = dstColorSpace ? sk_ref_sp(dstColorSpace) : fColorSpace;
242 sk_sp<SkShader> tileShader;
257 sk_sp<SkImage> tileImage = SkImage::MakeFromGenerator(
286 auto& bitmapShader = *rec.fAlloc->make<sk_sp<SkShader>>();
294 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*rec.fMatrix, rec.fLocalMatrix,
308 sk_sp<SkShader> SkPictureShader::onMakeColorSpace(SkColorSpaceXformer* xformer) const {
309 sk_sp<SkColorSpace> dstCS = xformer->dst();
314 return sk_sp<SkPictureShader>(new SkPictureShader(fPicture, fTmx, fTmy, &this->getLocalMatrix(),
321 const SkPictureShader& shader, const ContextRec& rec, sk_sp<SkShader> bitmapShader,
365 sk_sp<SkShader> bitmapShader(this->refBitmapShader(*args.fViewMatrix, args.fLocalMatrix,