static sk_sp< GrDirectContext > MakeMock(const GrMockOptions *, const GrContextOptions &)
virtual sk_sp< GrDirectContext > makeContext(const GrContextOptions &)
virtual GrBackendApi backend()=0
virtual std::function< void()> onPlatformGetAutoContextRestore() const =0
virtual void onPlatformMakeNotCurrent() const =0
virtual void testAbandon()
virtual void onPlatformMakeCurrent() const =0