Remove SkSurface::MakeFromBackendTextureAsRenderTarget
Bug: skia:9832
Change-Id: I4cb6f8abdb58ac37e9304a4c484e6cac4a25f0d2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/324890
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrTextureRenderTargetProxy.cpp b/src/gpu/GrTextureRenderTargetProxy.cpp
index be57b55..e023774 100644
--- a/src/gpu/GrTextureRenderTargetProxy.cpp
+++ b/src/gpu/GrTextureRenderTargetProxy.cpp
@@ -95,9 +95,9 @@
// multisampled-render-to-texture extension.
//
// NOTE: This is the only instance where we need to set the manual resolve flag on a proxy.
- // Any other proxies that require manual resolve (e.g., wrapBackendTextureAsRenderTarget())
- // will be wrapped, and the wrapped version of the GrSurface constructor will automatically
- // get the manual resolve flag when copying the target GrSurface's flags.
+ // Any other proxies that require manual resolve (e.g., wrapRenderableBackendTexture() with
+ // a sample count) will be wrapped, and the wrapped version of the GrSurface constructor
+ // will automatically get the manual resolve flag when copying the target GrSurface's flags.
fSurfaceFlags |= GrInternalSurfaceFlags::kRequiresManualMSAAResolve;
}
}