Lines Matching refs:backendTexture
798 bool GrGpu::clearBackendTexture(const GrBackendTexture& backendTexture, in clearBackendTexture() argument
801 if (!backendTexture.isValid()) { in clearBackendTexture()
805 if (backendTexture.hasMipmaps() && !this->caps()->mipmapSupport()) { in clearBackendTexture()
809 return this->onClearBackendTexture(backendTexture, std::move(finishedCallback), color); in clearBackendTexture()
841 bool GrGpu::updateCompressedBackendTexture(const GrBackendTexture& backendTexture, in updateCompressedBackendTexture() argument
847 if (!backendTexture.isValid()) { in updateCompressedBackendTexture()
851 GrBackendFormat format = backendTexture.getBackendFormat(); in updateCompressedBackendTexture()
859 if (backendTexture.hasMipmaps() && !this->caps()->mipmapSupport()) { in updateCompressedBackendTexture()
863 GrMipmapped mipMapped = backendTexture.hasMipmaps() ? GrMipmapped::kYes : GrMipmapped::kNo; in updateCompressedBackendTexture()
865 if (!CompressedDataIsCorrect(backendTexture.dimensions(), in updateCompressedBackendTexture()
873 return this->onUpdateCompressedBackendTexture(backendTexture, in updateCompressedBackendTexture()