Lines Matching refs:GrTextureProxy

48 bool GrProxyProvider::assignUniqueKeyToProxy(const GrUniqueKey& key, GrTextureProxy* proxy) {  in assignUniqueKeyToProxy()
76 void GrProxyProvider::adoptUniqueKeyFromSurface(GrTextureProxy* proxy, const GrSurface* surf) { in adoptUniqueKeyFromSurface()
85 void GrProxyProvider::removeUniqueKeyFromProxy(GrTextureProxy* proxy) { in removeUniqueKeyFromProxy()
97 sk_sp<GrTextureProxy> GrProxyProvider::findProxyByUniqueKey(const GrUniqueKey& key, in findProxyByUniqueKey()
105 sk_sp<GrTextureProxy> result = sk_ref_sp(fUniquelyKeyedProxies.find(key)); in findProxyByUniqueKey()
115 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createInstantiatedProxy( in testingOnly_createInstantiatedProxy()
137 sk_sp<GrTextureProxy> GrProxyProvider::testingOnly_createWrapped(sk_sp<GrTexture> tex, in testingOnly_createWrapped()
143 sk_sp<GrTextureProxy> GrProxyProvider::createWrapped(sk_sp<GrTexture> tex, GrSurfaceOrigin origin) { in createWrapped()
151 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in createWrapped()
153 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in createWrapped()
157 sk_sp<GrTextureProxy> GrProxyProvider::findOrCreateProxyByUniqueKey(const GrUniqueKey& key, in findOrCreateProxyByUniqueKey()
165 sk_sp<GrTextureProxy> result = this->findProxyByUniqueKey(key, origin); in findOrCreateProxyByUniqueKey()
192 sk_sp<GrTextureProxy> GrProxyProvider::createTextureProxy(sk_sp<SkImage> srcImage, in createTextureProxy()
248 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( in createTextureProxy()
283 sk_sp<GrTextureProxy> GrProxyProvider::createMipMapProxy(const GrBackendFormat& format, in createMipMapProxy()
297 sk_sp<GrTextureProxy> GrProxyProvider::createMipMapProxyFromBitmap(const SkBitmap& bitmap) { in createMipMapProxyFromBitmap()
351 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( in createMipMapProxyFromBitmap()
394 sk_sp<GrTextureProxy> GrProxyProvider::createProxy(const GrBackendFormat& format, in createProxy()
421 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(*this->caps(), format, copyDesc, in createProxy()
426 return sk_sp<GrTextureProxy>(new GrTextureProxy(format, copyDesc, origin, mipMapped, in createProxy()
430 sk_sp<GrTextureProxy> GrProxyProvider::createProxy(sk_sp<SkData> data, const GrSurfaceDesc& desc) { in createProxy()
439 sk_sp<GrTextureProxy> proxy = this->createLazyProxy( in createProxy()
465 sk_sp<GrTextureProxy> GrProxyProvider::wrapBackendTexture(const GrBackendTexture& backendTex, in wrapBackendTexture()
499 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex), origin)); in wrapBackendTexture()
502 sk_sp<GrTextureProxy> GrProxyProvider::wrapRenderableBackendTexture( in wrapRenderableBackendTexture()
537 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex), origin)); in wrapRenderableBackendTexture()
631 sk_sp<GrTextureProxy> GrProxyProvider::createLazyProxy(LazyInstantiateCallback&& callback, in createLazyProxy()
642 sk_sp<GrTextureProxy> GrProxyProvider::createLazyProxy(LazyInstantiateCallback&& callback, in createLazyProxy()
657 sk_sp<GrTextureProxy> GrProxyProvider::createLazyProxy(LazyInstantiateCallback&& callback, in createLazyProxy()
683 return sk_sp<GrTextureProxy>( in createLazyProxy()
687 : new GrTextureProxy(std::move(callback), lazyType, format, desc, origin, in createLazyProxy()
735 sk_sp<GrTextureProxy> GrProxyProvider::MakeFullyLazyProxy(LazyInstantiateCallback&& callback, in MakeFullyLazyProxy()
751 return sk_sp<GrTextureProxy>( in MakeFullyLazyProxy()
757 : new GrTextureProxy(std::move(callback), LazyInstantiationType::kSingleUse, in MakeFullyLazyProxy()
774 void GrProxyProvider::processInvalidUniqueKey(const GrUniqueKey& key, GrTextureProxy* proxy, in processInvalidUniqueKey()
831 GrTextureProxy& tmp = *iter; in orphanAllUniqueKeys()
840 GrTextureProxy& tmp = *iter; in removeAllUniqueKeys()