Lines Matching refs:fTestContext

69         if (context.fTestContext) {  in destroyContexts()
70 restore = context.fTestContext->makeCurrentAndAutoRestore(); in destroyContexts()
77 delete context.fTestContext; in destroyContexts()
90 if (context.fTestContext) { in abandonContexts()
91 auto restore = context.fTestContext->makeCurrentAndAutoRestore(); in abandonContexts()
92 context.fTestContext->testAbandon(); in abandonContexts()
99 if (context.fTestContext) { in abandonContexts()
100 delete(context.fTestContext); in abandonContexts()
101 context.fTestContext = nullptr; in abandonContexts()
120 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
121 restore = context.fTestContext->makeCurrentAndAutoRestore(); in releaseResourcesAndAbandonContexts()
124 if (context.fTestContext) { in releaseResourcesAndAbandonContexts()
125 delete context.fTestContext; in releaseResourcesAndAbandonContexts()
126 context.fTestContext = nullptr; in releaseResourcesAndAbandonContexts()
150 context.fTestContext->makeCurrent(); in getContextInfoInternal()
151 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, in getContextInfoInternal()
174 ? static_cast<GLTestContext*>(primaryContext->fTestContext) : nullptr; in getContextInfoInternal()
237 ? static_cast<VkTestContext*>(primaryContext->fTestContext) : nullptr; in getContextInfoInternal()
261 ? static_cast<MtlTestContext*>(primaryContext->fTestContext) : nullptr; in getContextInfoInternal()
273 ? static_cast<D3DTestContext*>(primaryContext->fTestContext) : nullptr; in getContextInfoInternal()
285 ? static_cast<DawnTestContext*>(primaryContext->fTestContext) : nullptr; in getContextInfoInternal()
294 TestContext* sharedContext = primaryContext ? primaryContext->fTestContext : nullptr; in getContextInfoInternal()
331 context.fTestContext = testCtx.release(); in getContextInfoInternal()
339 context.fTestContext->makeCurrent(); in getContextInfoInternal()
340 return ContextInfo(context.fType, context.fTestContext, context.fGrContext, context.fOptions); in getContextInfoInternal()