Lines Matching refs:GrTexture
50 GrTexture* GrResourceProvider::createMipMappedTexture(const GrSurfaceDesc& desc, in createMipMappedTexture()
77 if (GrTexture* texture = this->refScratchTexture(desc, flags)) { in createMipMappedTexture()
96 GrTexture* texture = fGpu->createTexture(desc, budgeted, texelsShallowCopy); in createMipMappedTexture()
103 GrTexture* GrResourceProvider::createTexture(const GrSurfaceDesc& desc, SkBudgeted budgeted, in createTexture()
117 GrTexture* GrResourceProvider::createApproxTexture(const GrSurfaceDesc& desc, uint32_t flags) { in createApproxTexture()
123 GrTexture* GrResourceProvider::internalCreateApproxTexture(const GrSurfaceDesc& desc, in internalCreateApproxTexture()
137 GrTexture* GrResourceProvider::refScratchTexture(const GrSurfaceDesc& inDesc, in refScratchTexture()
183 sk_sp<GrTexture> GrResourceProvider::wrapBackendTexture(const GrBackendTextureDesc& desc, in wrapBackendTexture()
213 GrTexture* GrResourceProvider::findAndRefTextureByUniqueKey(const GrUniqueKey& key) { in findAndRefTextureByUniqueKey()
217 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture(); in findAndRefTextureByUniqueKey()
232 GrTexture* texture = proxy->instantiate(this); in assignUniqueKeyToProxy()
244 sk_sp<GrTexture> texture(this->findAndRefTextureByUniqueKey(key)); in findProxyByUniqueKey()