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/SurfaceFillContext.h b/src/gpu/SurfaceFillContext.h
index a24c8de..65bfca1 100644
--- a/src/gpu/SurfaceFillContext.h
+++ b/src/gpu/SurfaceFillContext.h
@@ -8,11 +8,11 @@
#ifndef SurfaceFillContext_DEFINED
#define SurfaceFillContext_DEFINED
-#include "src/gpu/GrSurfaceContext.h"
+#include "src/gpu/SurfaceContext.h"
namespace skgpu {
-class SurfaceFillContext : public GrSurfaceContext {
+class SurfaceFillContext : public SurfaceContext {
public:
SurfaceFillContext* asFillContext() override { return this; }
@@ -103,10 +103,10 @@
protected:
SurfaceFillContext(GrRecordingContext* rContext,
- GrSurfaceProxyView readView,
- GrSurfaceProxyView writeView,
- const GrColorInfo& colorInfo)
- : GrSurfaceContext(rContext, std::move(readView), colorInfo)
+ GrSurfaceProxyView readView,
+ GrSurfaceProxyView writeView,
+ const GrColorInfo& colorInfo)
+ : SurfaceContext(rContext, std::move(readView), colorInfo)
, fWriteView(std::move(writeView)) {
SkASSERT(this->asSurfaceProxy() == fWriteView.proxy());
SkASSERT(this->origin() == fWriteView.origin());
@@ -125,7 +125,7 @@
std::array<float, 4> color,
bool upgradePartialToFull = false) = 0;
- using INHERITED = GrSurfaceContext;
+ using INHERITED = SurfaceContext;
};
template<>