Home | History | Annotate | Download | only in image

Lines Matching full:sk_sp

27 SkSurface_Gpu::SkSurface_Gpu(sk_sp<SkGpuDevice> device)
82 sk_sp<SkSurface> SkSurface_Gpu::onNewSurface(const SkImageInfo& info) {
91 sk_sp<SkImage> SkSurface_Gpu::onNewImageSnapshot() {
105 sk_sp<GrTextureProxy> srcProxy = rtc->asTextureProxyRef();
116 sk_sp<SkImage> image;
140 sk_sp<SkImage> image(this->refCachedImage());
278 sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext* ctx, SkBudgeted budgeted,
295 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(
304 sk_sp<SkSurface> SkSurface_Gpu::MakeWrappedRenderTarget(GrContext* context,
305 sk_sp<GrRenderTargetContext> rtc) {
310 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc),
321 sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext* context, const GrBackendTexture& tex,
323 sk_sp<SkColorSpace> colorSpace,
333 sk_sp<GrRenderTargetContext> rtc(context->contextPriv().makeBackendTextureRenderTargetContext(
343 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), tex.width(), tex.height(),
352 int sampleCnt, SkColorType ct, sk_sp<SkColorSpace> cs,
378 sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext* context, const GrBackendTexture& tex,
381 sk_sp<SkColorSpace> colorSpace,
396 sk_sp<SkSurface> SkSurface::MakeFromBackendRenderTarget(GrContext* context,
399 sk_sp<SkColorSpace> colorSpace,
408 sk_sp<GrRenderTargetContext> rtc(
417 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc),
428 GrPixelConfig* config, SkColorType ct, sk_sp<SkColorSpace> cs) {
452 sk_sp<SkSurface> SkSurface::MakeFromBackendRenderTarget(GrContext* context,
456 sk_sp<SkColorSpace> colorSpace,
469 sk_sp<SkSurface> SkSurface::MakeFromBackendTextureAsRenderTarget(GrContext* context,
473 sk_sp<SkColorSpace> colorSpace,
483 sk_sp<GrRenderTargetContext> rtc(
494 sk_sp<SkGpuDevice> device(SkGpuDevice::Make(context, std::move(rtc), tex.width(), tex.height(),
502 sk_sp<SkSurface> SkSurface::MakeFromBackendTextureAsRenderTarget(GrContext* context,
507 sk_sp<SkColorSpace> colorSpace,