aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrContext.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-06-23 10:58:19 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-23 15:42:15 +0000
commit91a3e52552c15751aea09b7a8a896e4edd09d42e (patch)
treed615cde3a2207d435bc6b1ae750688fa671957a7 /include/gpu/GrContext.h
parenta46969229d6b028f513995303001b659b4dcdc1d (diff)
Move mock gpu and caps, add Gr prefix, and create via GrContext::Create
Change-Id: I02427839f78372e337ed717b071c6baaa8ba4450 Reviewed-on: https://skia-review.googlesource.com/20622 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/gpu/GrContext.h')
-rw-r--r--include/gpu/GrContext.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
index d107fc6fd6..64c1746078 100644
--- a/include/gpu/GrContext.h
+++ b/include/gpu/GrContext.h
@@ -52,11 +52,6 @@ public:
static GrContext* Create(GrBackend, GrBackendContext, const GrContextOptions& options);
static GrContext* Create(GrBackend, GrBackendContext);
- /**
- * Only defined in test apps.
- */
- static GrContext* CreateMockContext();
-
virtual ~GrContext();
sk_sp<GrContextThreadSafeProxy> threadSafeProxy();
@@ -334,9 +329,6 @@ private:
GrContext(); // init must be called after the constructor.
bool init(GrBackend, GrBackendContext, const GrContextOptions& options);
- void initMockContext();
- void initCommon(const GrContextOptions&);
-
/**
* These functions create premul <-> unpremul effects. If the second argument is 'true', they
* use the specialized round-trip effects from GrConfigConversionEffect, otherwise they