aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/gpu/GrContext.h4
-rw-r--r--src/gpu/GrDirectContext.cpp9
2 files changed, 0 insertions, 13 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index 21fd2e6376..e8f8acc3cf 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -63,10 +63,6 @@ public:
static sk_sp<GrContext> MakeGL(const GrContextOptions&);
static sk_sp<GrContext> MakeGL();
- // 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&);
static sk_sp<GrContext> MakeVulkan(sk_sp<const GrVkBackendContext>);
diff --git a/src/gpu/GrDirectContext.cpp b/src/gpu/GrDirectContext.cpp
index 9407a7d08e..8e214db74f 100644
--- a/src/gpu/GrDirectContext.cpp
+++ b/src/gpu/GrDirectContext.cpp
@@ -109,15 +109,6 @@ sk_sp<GrContext> GrContext::MakeGL() {
return MakeGL(nullptr, 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));