diff options
Diffstat (limited to 'include/gpu')
-rw-r--r-- | include/gpu/GrContext.h | 8 | ||||
-rw-r--r-- | include/gpu/GrTypes.h | 1 |
2 files changed, 1 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 diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 60cccdfd69..a14a8eade1 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -187,6 +187,7 @@ static inline size_t GrSizeAlignDown(size_t x, uint32_t alignment) { enum GrBackend { kOpenGL_GrBackend, kVulkan_GrBackend, + kMock_GrBackend, kLast_GrBackend = kVulkan_GrBackend }; |