virtual sk_sp< GrDirectContext > makeContext(const GrContextOptions &)
bool getMaxGpuFrameLag(int *maxFrameLag) const
virtual GrBackendApi backend()=0
std::unique_ptr< GpuTimer > fGpuTimer
void flushAndWaitOnSync(GrDirectContext *context)
bool gpuTimingSupport() const
GpuTimer * gpuTimer() const
virtual std::function< void()> onPlatformGetAutoContextRestore() const =0
virtual void onPlatformMakeNotCurrent() const =0
void flushAndSyncCpu(GrDirectContext *)
void makeNotCurrent() const
virtual void testAbandon()
virtual void onPlatformMakeCurrent() const =0
bool fenceSyncSupport() const
SkScopeExit makeCurrentAndAutoRestore() const