Rename GrSurfaceContext -> skgpu::SurfaceContext
Almost entirely mechanical.
Bug: skia:11837
Change-Id: I984339097fdeeae2eccb6c1d790d510020511961
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/438177
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrDirectContext.cpp b/src/gpu/GrDirectContext.cpp
index 9ab0c67..80eca7c 100644
--- a/src/gpu/GrDirectContext.cpp
+++ b/src/gpu/GrDirectContext.cpp
@@ -20,7 +20,7 @@
#include "src/gpu/GrGpu.h"
#include "src/gpu/GrResourceProvider.h"
#include "src/gpu/GrShaderUtils.h"
-#include "src/gpu/GrSurfaceContext.h"
+#include "src/gpu/SurfaceContext.h"
#include "src/gpu/effects/GrSkSLFP.h"
#include "src/gpu/gl/GrGLGpu.h"
#include "src/gpu/mock/GrMockGpu.h"
@@ -523,7 +523,7 @@
GrSwizzle swizzle = context->priv().caps()->getReadSwizzle(format, ct);
GrSurfaceProxyView view(std::move(proxy), textureOrigin, swizzle);
- GrSurfaceContext surfaceContext(context, std::move(view), src[0].info().colorInfo());
+ skgpu::SurfaceContext surfaceContext(context, std::move(view), src[0].info().colorInfo());
SkAutoSTArray<15, GrCPixmap> tmpSrc(numLevels);
for (int i = 0; i < numLevels; ++i) {
tmpSrc[i] = src[i];