Start using skgpu::v1 and skgpu::v2 namespaces
Bug: skia:11837
Change-Id: I042775dae34c99c20048d6d70aa6f06b2a6a268b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/424117
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrDirectContextPriv.h b/src/gpu/GrDirectContextPriv.h
index fd8f9af..c3cb84a 100644
--- a/src/gpu/GrDirectContextPriv.h
+++ b/src/gpu/GrDirectContextPriv.h
@@ -11,7 +11,7 @@
#include "include/core/SkSpan.h"
#include "include/core/SkSurface.h"
#include "include/gpu/GrDirectContext.h"
-#include "src/gpu/SkBaseGpuDevice.h"
+#include "src/gpu/BaseDevice.h"
class GrAtlasManager;
class GrBackendFormat;
@@ -146,21 +146,21 @@
return fContext->fMappedBufferManager.get();
}
- sk_sp<SkBaseGpuDevice> createDevice(GrColorType,
- sk_sp<GrSurfaceProxy>,
- sk_sp<SkColorSpace>,
- GrSurfaceOrigin,
- const SkSurfaceProps&,
- SkBaseGpuDevice::InitContents);
- sk_sp<SkBaseGpuDevice> createDevice(SkBudgeted,
- const SkImageInfo&,
- SkBackingFit,
- int sampleCount,
- GrMipmapped,
- GrProtected,
- GrSurfaceOrigin,
- const SkSurfaceProps&,
- SkBaseGpuDevice::InitContents);
+ sk_sp<skgpu::BaseDevice> createDevice(GrColorType,
+ sk_sp<GrSurfaceProxy>,
+ sk_sp<SkColorSpace>,
+ GrSurfaceOrigin,
+ const SkSurfaceProps&,
+ skgpu::BaseDevice::InitContents);
+ sk_sp<skgpu::BaseDevice> createDevice(SkBudgeted,
+ const SkImageInfo&,
+ SkBackingFit,
+ int sampleCount,
+ GrMipmapped,
+ GrProtected,
+ GrSurfaceOrigin,
+ const SkSurfaceProps&,
+ skgpu::BaseDevice::InitContents);
#if GR_TEST_UTILS
/** Reset GPU stats */