Remove GrBackendSurfaceMutableState

Clients are now using skgpu::MutableTextureState directly

Bug: b/296240795
Change-Id: Ia310e876d49835ba8046f69372a8db0be30d14ff
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/744256
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
diff --git a/gn/gpu.gni b/gn/gpu.gni
index 5d9a7b5..fe05fc0 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -63,7 +63,6 @@
   "$_include/gpu/GrBackendDrawableInfo.h",
   "$_include/gpu/GrBackendSemaphore.h",
   "$_include/gpu/GrBackendSurface.h",
-  "$_include/gpu/GrBackendSurfaceMutableState.h",
   "$_include/gpu/GrContextOptions.h",
   "$_include/gpu/GrContextThreadSafeProxy.h",
   "$_include/gpu/GrDirectContext.h",
diff --git a/include/BUILD.bazel b/include/BUILD.bazel
index 587f7b4..c212012 100644
--- a/include/BUILD.bazel
+++ b/include/BUILD.bazel
@@ -89,7 +89,6 @@
         "include/encode/SkJpegEncoder.h",
         "include/encode/SkPngEncoder.h",
         "include/encode/SkWebpEncoder.h",
-        "include/gpu/GrBackendSurfaceMutableState.h",
         "include/gpu/GrTypes.h",
         "include/gpu/MutableTextureState.h",
         "include/gpu/ganesh/GrExternalTextureGenerator.h",
diff --git a/include/gpu/BUILD.bazel b/include/gpu/BUILD.bazel
index f664b6a..b0f957e 100644
--- a/include/gpu/BUILD.bazel
+++ b/include/gpu/BUILD.bazel
@@ -20,7 +20,6 @@
         "GrBackendDrawableInfo.h",
         "GrBackendSemaphore.h",
         "GrBackendSurface.h",
-        "GrBackendSurfaceMutableState.h",
         "GrContextOptions.h",
         "GrContextThreadSafeProxy.h",
         "GrDirectContext.h",
diff --git a/include/gpu/GrBackendSurfaceMutableState.h b/include/gpu/GrBackendSurfaceMutableState.h
deleted file mode 100644
index 0467e8f..0000000
--- a/include/gpu/GrBackendSurfaceMutableState.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef GrBackendSurfaceMutableState_DEFINED
-#define GrBackendSurfaceMutableState_DEFINED
-
-#include "include/gpu/MutableTextureState.h"
-
-#ifdef SK_VULKAN
-#include "include/private/gpu/vk/SkiaVulkan.h"
-
-#include <cstdint>
-#endif
-
-class GrBackendSurfaceMutableState : public skgpu::MutableTextureState {
-public:
-    GrBackendSurfaceMutableState() = default;
-
-#ifdef SK_VULKAN
-    GrBackendSurfaceMutableState(VkImageLayout layout, uint32_t queueFamilyIndex)
-            : skgpu::MutableTextureState(layout, queueFamilyIndex) {}
-#endif
-
-    GrBackendSurfaceMutableState(const GrBackendSurfaceMutableState& that)
-            : skgpu::MutableTextureState(that) {}
-};
-
-#endif
diff --git a/public.bzl b/public.bzl
index cc96869..309f633 100644
--- a/public.bzl
+++ b/public.bzl
@@ -161,7 +161,6 @@
     "include/gpu/GrBackendDrawableInfo.h",
     "include/gpu/GrBackendSemaphore.h",
     "include/gpu/GrBackendSurface.h",
-    "include/gpu/GrBackendSurfaceMutableState.h",
     "include/gpu/GrContextOptions.h",
     "include/gpu/GrContextThreadSafeProxy.h",
     "include/gpu/GrDirectContext.h",