Home | History | Annotate | Download | only in gpu

Lines Matching refs:backendTex

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