Reland "Remove deprectated GrContext::MakeGL overloads that take raw ptr"
This reverts commit87f852d1a3
. Reason for revert: Google3 updated Original change's description: > Revert "Remove deprectated GrContext::MakeGL overloads that take raw ptr" > > This reverts commitefa60a1d13
. > > Reason for revert: Surprise! Google3 still uses these. > > Original change's description: > > Remove deprectated GrContext::MakeGL overloads that take raw ptr > > > > Change-Id: Iae12bf61fa1e2f5d4b13b98198cddb7482656fdf > > Reviewed-on: https://skia-review.googlesource.com/118660 > > Reviewed-by: Greg Daniel <egdaniel@google.com> > > Commit-Queue: Brian Salomon <bsalomon@google.com> > > TBR=egdaniel@google.com,bsalomon@google.com > > Change-Id: Ica09d80e1563924a286a4a6aa8a1f93cb5ca9c5d > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://skia-review.googlesource.com/119001 > Reviewed-by: Robert Phillips <robertphillips@google.com> > Commit-Queue: Robert Phillips <robertphillips@google.com> TBR=egdaniel@google.com,bsalomon@google.com,robertphillips@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I87c12253f759a97cb4da3ff35dc1ec846513caef Reviewed-on: https://skia-review.googlesource.com/119921 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
c60547316c
commit
a7b8e74eb6
@ -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>);
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user