aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/gpu/GrContext.h3
-rw-r--r--src/gpu/GrDirectContext.cpp9
2 files changed, 0 insertions, 12 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 0ebfd7c979..cb2f0a6e76 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -59,9 +59,6 @@ public:
*/
static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&);
static sk_sp<GrContext> MakeGL(sk_sp<const GrGLInterface>);
- // Deprecated
- static sk_sp<GrContext> MakeGL(const GrGLInterface*);
- static sk_sp<GrContext> MakeGL(const GrGLInterface*, const GrContextOptions&);
#ifdef SK_VULKAN
static sk_sp<GrContext> MakeVulkan(sk_sp<const GrVkBackendContext>, const GrContextOptions&);
diff --git a/src/gpu/GrDirectContext.cpp b/src/gpu/GrDirectContext.cpp
index 204d676686..6f8a777407 100644
--- a/src/gpu/GrDirectContext.cpp
+++ b/src/gpu/GrDirectContext.cpp
@@ -100,15 +100,6 @@ sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface) {
return MakeGL(std::move(interface), defaultOptions);
}
-sk_sp<GrContext> GrContext::MakeGL(const GrGLInterface* interface) {
- return MakeGL(sk_ref_sp(interface));
-}
-
-sk_sp<GrContext> GrContext::MakeGL(const GrGLInterface* interface,
- const GrContextOptions& options) {
- return MakeGL(sk_ref_sp(interface), options);
-}
-
sk_sp<GrContext> GrContext::MakeGL(sk_sp<const GrGLInterface> interface,
const GrContextOptions& options) {
sk_sp<GrContext> context(new GrDirectContext(kOpenGL_GrBackend));