diff options
author | Brian Salomon <bsalomon@google.com> | 2018-03-23 16:10:36 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-23 21:12:50 +0000 |
commit | 032aaae5be51e92ec9677d6c511241b19a7cb70d (patch) | |
tree | 8fe817c2a16ff23bcb18dfda5a70cec1cc9524de /src/gpu/GrGpu.h | |
parent | a6a3df7d64dc81082619ab103450fc6d0af7c644 (diff) |
Remove legacy GrContext factories function and supporting code/types.
Change-Id: I437a4a0a58bf70ea1b8b0659b099a2af2bfa64fe
Reviewed-on: https://skia-review.googlesource.com/116197
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/GrGpu.h')
-rw-r--r-- | src/gpu/GrGpu.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h index 78b6fd4654..87d93ac4e4 100644 --- a/src/gpu/GrGpu.h +++ b/src/gpu/GrGpu.h @@ -44,15 +44,6 @@ class SkJSONWriter; class GrGpu : public SkRefCnt { public: - /** - * Create an instance of GrGpu that matches the specified backend. If the requested backend is - * not supported (at compile-time or run-time) this returns nullptr. The context will not be - * fully constructed and should not be used by GrGpu until after this function returns. - */ - static sk_sp<GrGpu> Make(GrBackend, GrBackendContext, const GrContextOptions&, GrContext*); - - //////////////////////////////////////////////////////////////////////////// - GrGpu(GrContext* context); ~GrGpu() override; |