Lines Matching refs:backendTexture
529 bool SkSurface_Gpu::onReplaceBackendTexture(const GrBackendTexture& backendTexture,
540 if (!backendTexture.isValid()) {
543 if (backendTexture.width() != this->width() || backendTexture.height() != this->height()) {
558 if (oldTexture->backendFormat() != backendTexture.getBackendFormat()) {
561 if (oldTexture->getBackendTexture().isSameTexture(backendTexture)) {
567 if (!validate_backend_texture(rContext->priv().caps(), backendTexture,
576 backendTexture, sampleCnt, kBorrow_GrWrapOwnership, GrWrapCacheable::kNo,
676 GrBackendTexture backendTexture =
682 if (!backendTexture.isValid()) {
689 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(dContext, backendTexture,