Lines Matching refs:SkSpecialImage
35 class SkSpecialImage_Base : public SkSpecialImage {
54 virtual sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const = 0;
66 typedef SkSpecialImage INHERITED;
70 static inline const SkSpecialImage_Base* as_SIB(const SkSpecialImage* image) { in as_SIB()
74 SkSpecialImage::SkSpecialImage(const SkIRect& subset, in SkSpecialImage() function in SkSpecialImage
82 sk_sp<SkSpecialImage> SkSpecialImage::makeTextureImage(GrContext* context) { in makeTextureImage()
88 return curContext == context ? sk_sp<SkSpecialImage>(SkRef(this)) : nullptr; in makeTextureImage()
102 return SkSpecialImage::MakeFromRaster(SkIRect::MakeEmpty(), bmp, &this->props()); in makeTextureImage()
116 return SkSpecialImage::MakeDeferredFromGpu(context, in makeTextureImage()
128 void SkSpecialImage::draw(SkCanvas* canvas, SkScalar x, SkScalar y, const SkPaint* paint) const { in draw()
132 bool SkSpecialImage::getROPixels(SkBitmap* bm) const { in getROPixels()
136 bool SkSpecialImage::isTextureBacked() const { in isTextureBacked()
140 GrContext* SkSpecialImage::getContext() const { in getContext()
144 SkColorSpace* SkSpecialImage::getColorSpace() const { in getColorSpace()
149 sk_sp<GrTextureProxy> SkSpecialImage::asTextureProxyRef(GrContext* context) const { in asTextureProxyRef()
154 sk_sp<SkSpecialSurface> SkSpecialImage::makeSurface(const SkImageFilter::OutputProperties& outProps, in makeSurface()
160 sk_sp<SkSurface> SkSpecialImage::makeTightSurface(const SkImageFilter::OutputProperties& outProps, in makeTightSurface()
165 sk_sp<SkSpecialImage> SkSpecialImage::makeSubset(const SkIRect& subset) const { in makeSubset()
169 sk_sp<SkImage> SkSpecialImage::asImage(const SkIRect* subset) const { in asImage()
187 sk_sp<SkSpecialImage> SkSpecialImage::MakeFromImage(GrContext* context, in MakeFromImage()
275 sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const override { in onMakeSubset()
282 return SkSpecialImage::MakeFromRaster(SkIRect::MakeWH(subset.width(), subset.height()), in onMakeSubset()
321 sk_sp<SkSpecialImage> SkSpecialImage::MakeFromRaster(const SkIRect& subset, in MakeFromRaster()
344 sk_sp<SkSpecialImage> SkSpecialImage::CopyFromRaster(const SkIRect& subset, in CopyFromRaster()
470 sk_sp<SkSpecialImage> onMakeSubset(const SkIRect& subset) const override { in onMakeSubset()
471 return SkSpecialImage::MakeDeferredFromGpu(fContext, in onMakeSubset()
532 sk_sp<SkSpecialImage> SkSpecialImage::MakeDeferredFromGpu(GrContext* context, in MakeDeferredFromGpu()