diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrDirectContext.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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)); |