const GrContextOptions & options() const
GrBackendApi backend() const
ContextInfo & operator=(const ContextInfo &)=default
GrDirectContext * directContext() const
ContextInfo(const ContextInfo &)=default
TestContext * testContext() const
skgpu::ContextType type() const
ContextInfo getContextInfo(ContextType type, ContextOverrides=ContextOverrides::kNone)
ContextInfo getSharedContextInfo(GrDirectContext *shareContext, uint32_t shareIndex=0)
GrDirectContext * get(ContextType type, ContextOverrides overrides=ContextOverrides::kNone)
const GrContextOptions & getGlobalOptions() const
void releaseResourcesAndAbandonContexts()