Lines Matching refs:GrContext
49 virtual GrContext* onGetContext() const { return nullptr; } in onGetContext()
54 virtual sk_sp<GrTextureProxy> onAsTextureProxyRef(GrContext* context) const = 0;
84 sk_sp<SkSpecialImage> SkSpecialImage::makeTextureImage(GrContext* context) { in makeTextureImage()
89 if (GrContext* curContext = as_SIB(this)->onGetContext()) { in makeTextureImage()
141 GrContext* SkSpecialImage::getContext() const { in getContext()
150 sk_sp<GrTextureProxy> SkSpecialImage::asTextureProxyRef(GrContext* context) const { in asTextureProxyRef()
196 GrContext* context = ((SkImage_Gpu*) as_IB(image))->context(); in MakeFromImage()
250 sk_sp<GrTextureProxy> onAsTextureProxyRef(GrContext* context) const override { in onAsTextureProxyRef()
349 static sk_sp<SkImage> wrap_proxy_in_image(GrContext* context, sk_sp<GrTextureProxy> proxy, in wrap_proxy_in_image()
357 SkSpecialImage_Gpu(GrContext* context, const SkIRect& subset, in SkSpecialImage_Gpu()
397 GrContext* onGetContext() const override { return fContext; } in onGetContext()
399 sk_sp<GrTextureProxy> onAsTextureProxyRef(GrContext*) const override { in onAsTextureProxyRef()
503 GrContext* fContext;
512 sk_sp<SkSpecialImage> SkSpecialImage::MakeDeferredFromGpu(GrContext* context, in MakeDeferredFromGpu()