Lines Matching refs:backendTex
150 sk_sp<GrTexture> GrGpu::wrapBackendTexture(const GrBackendTexture& backendTex, in wrapBackendTexture() argument
156 if (!this->caps()->isConfigTexturable(backendTex.config())) { in wrapBackendTexture()
159 if (backendTex.width() > this->caps()->maxTextureSize() || in wrapBackendTexture()
160 backendTex.height() > this->caps()->maxTextureSize()) { in wrapBackendTexture()
163 return this->onWrapBackendTexture(backendTex, ownership, cacheable, ioType); in wrapBackendTexture()
166 sk_sp<GrTexture> GrGpu::wrapRenderableBackendTexture(const GrBackendTexture& backendTex, in wrapRenderableBackendTexture() argument
173 if (!this->caps()->isConfigTexturable(backendTex.config()) || in wrapRenderableBackendTexture()
174 !this->caps()->getRenderTargetSampleCount(sampleCnt, backendTex.config())) { in wrapRenderableBackendTexture()
178 if (backendTex.width() > this->caps()->maxRenderTargetSize() || in wrapRenderableBackendTexture()
179 backendTex.height() > this->caps()->maxRenderTargetSize()) { in wrapRenderableBackendTexture()
183 this->onWrapRenderableBackendTexture(backendTex, sampleCnt, ownership, cacheable); in wrapRenderableBackendTexture()