Lines Matching refs:fTestContext

61         if (context.fTestContext) {  in destroyContexts()
62 restore = context.fTestContext->makeCurrentAndAutoRestore(); in destroyContexts()
69 delete context.fTestContext; in destroyContexts()
82 if (context.fTestContext) { in abandonContexts()
83 auto restore = context.fTestContext->makeCurrentAndAutoRestore(); in abandonContexts()
84 context.fTestContext->testAbandon(); in abandonContexts()
85 delete(context.fTestContext); in abandonContexts()
86 context.fTestContext = nullptr; in abandonContexts()
103 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
104 restore = context.fTestContext->makeCurrentAndAutoRestore(); in releaseResourcesAndAbandonContexts()
108 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
109 delete context.fTestContext; in releaseResourcesAndAbandonContexts()
110 context.fTestContext = nullptr; in releaseResourcesAndAbandonContexts()
132 context.fTestContext->makeCurrent(); in getContextInfoInternal()
133 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, in getContextInfoInternal()
155 ? static_cast<GLTestContext*>(masterContext->fTestContext) : nullptr; in getContextInfoInternal()
207 ? static_cast<VkTestContext*>(masterContext->fTestContext) : nullptr; in getContextInfoInternal()
240 TestContext* sharedContext = masterContext ? masterContext->fTestContext : nullptr; in getContextInfoInternal()
281 context.fTestContext = testCtx.release(); in getContextInfoInternal()
289 context.fTestContext->makeCurrent(); in getContextInfoInternal()
290 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, context.fOptions); in getContextInfoInternal()