Lines Matching refs:fTestContext
58 if (context.fTestContext) { in destroyContexts()
59 context.fTestContext->makeCurrent(); in destroyContexts()
66 delete context.fTestContext; in destroyContexts()
74 if (context.fTestContext) { in abandonContexts()
75 context.fTestContext->makeCurrent(); in abandonContexts()
76 context.fTestContext->testAbandon(); in abandonContexts()
77 delete(context.fTestContext); in abandonContexts()
78 context.fTestContext = nullptr; in abandonContexts()
89 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
90 context.fTestContext->makeCurrent(); in releaseResourcesAndAbandonContexts()
94 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
95 delete context.fTestContext; in releaseResourcesAndAbandonContexts()
96 context.fTestContext = nullptr; in releaseResourcesAndAbandonContexts()
118 context.fTestContext->makeCurrent(); in getContextInfoInternal()
119 return ContextInfo(context.fType, context.fTestContext, context.fGrContext); in getContextInfoInternal()
142 ? static_cast<GLTestContext*>(masterContext->fTestContext) : nullptr; in getContextInfoInternal()
204 ? static_cast<VkTestContext*>(masterContext->fTestContext) : nullptr; in getContextInfoInternal()
238 TestContext* sharedContext = masterContext ? masterContext->fTestContext : nullptr; in getContextInfoInternal()
293 context.fTestContext = testCtx.release(); in getContextInfoInternal()
300 return ContextInfo(context.fType, context.fTestContext, context.fGrContext); in getContextInfoInternal()