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 MakeGL(const GrContextOptions&); static sk_sp MakeGL(); - // Deprecated - static sk_sp MakeGL(const GrGLInterface*); - static sk_sp MakeGL(const GrGLInterface*, const GrContextOptions&); - #ifdef SK_VULKAN static sk_sp MakeVulkan(sk_sp, const GrContextOptions&); static sk_sp MakeVulkan(sk_sp); 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::MakeGL() { return MakeGL(nullptr, defaultOptions); } -sk_sp GrContext::MakeGL(const GrGLInterface* interface) { - return MakeGL(sk_ref_sp(interface)); -} - -sk_sp GrContext::MakeGL(const GrGLInterface* interface, - const GrContextOptions& options) { - return MakeGL(sk_ref_sp(interface), options); -} - sk_sp GrContext::MakeGL(sk_sp interface, const GrContextOptions& options) { sk_sp context(new GrDirectContext(kOpenGL_GrBackend));