Lines Matching refs:origin
120 GrSurfaceOrigin origin) { in findProxyByUniqueKey() argument
129 SkASSERT(result->origin() == origin); in findProxyByUniqueKey()
134 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped() argument
137 SkASSERT(!this->findProxyByUniqueKey(tex->getUniqueKey(), origin)); in createWrapped()
142 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in createWrapped()
144 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in createWrapped()
149 GrSurfaceOrigin origin) { in findOrCreateProxyByUniqueKey() argument
156 sk_sp<GrTextureProxy> result = this->findProxyByUniqueKey(key, origin); in findOrCreateProxyByUniqueKey()
173 result = this->createWrapped(std::move(texture), origin); in findOrCreateProxyByUniqueKey()
275 GrSurfaceOrigin origin, in createMipMapProxy() argument
283 return this->createProxy(format, desc, origin, GrMipMapped::kYes, SkBackingFit::kExact, in createMipMapProxy()
381 GrSurfaceOrigin origin, in createProxy() argument
407 origin, mipMapped, in createProxy()
411 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, copyDesc, origin, mipMapped, in createProxy()
452 GrSurfaceOrigin origin, in wrapBackendTexture() argument
485 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in wrapBackendTexture()
489 const GrBackendTexture& backendTex, GrSurfaceOrigin origin, int sampleCnt, in wrapRenderableBackendTexture() argument
515 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in wrapRenderableBackendTexture()
519 const GrBackendRenderTarget& backendRT, GrSurfaceOrigin origin) { in wrapBackendRenderTarget() argument
538 return sk_sp<GrRenderTargetProxy>(new GrRenderTargetProxy(std::move(rt), origin)); in wrapBackendRenderTarget()
542 const GrBackendTexture& backendTex, GrSurfaceOrigin origin, int sampleCnt) { in wrapBackendTextureAsRenderTarget() argument
562 return sk_sp<GrSurfaceProxy>(new GrRenderTargetProxy(std::move(rt), origin)); in wrapBackendTextureAsRenderTarget()
597 GrSurfaceOrigin origin, in createLazyProxy() argument
601 return this->createLazyProxy(std::move(callback), format, desc, origin, mipMapped, in createLazyProxy()
608 GrSurfaceOrigin origin, in createLazyProxy() argument
616 return this->createLazyProxy(std::move(callback), format, desc, origin, mipMapped, surfaceFlags, in createLazyProxy()
623 GrSurfaceOrigin origin, in createLazyProxy() argument
648 origin, mipMapped, fit, budgeted, surfaceFlags) in createLazyProxy()
649 : new GrTextureProxy(std::move(callback), lazyType, format, desc, origin, in createLazyProxy()
655 const GrSurfaceDesc& desc, GrSurfaceOrigin origin, GrInternalSurfaceFlags surfaceFlags, in createLazyRenderTargetProxy() argument
679 std::move(callback), lazyType, format, desc, origin, textureInfo->fMipMapped, in createLazyRenderTargetProxy()
684 std::move(callback), lazyType, format, desc, origin, fit, budgeted, surfaceFlags)); in createLazyRenderTargetProxy()
690 GrSurfaceOrigin origin, in MakeFullyLazyProxy() argument
707 origin, GrMipMapped::kNo, SkBackingFit::kApprox, SkBudgeted::kYes, in MakeFullyLazyProxy()
710 format, desc, origin, GrMipMapped::kNo, in MakeFullyLazyProxy()