Lines Matching defs:testCtx
167 std::unique_ptr<TestContext> testCtx;
232 testCtx.reset(glCtx);
241 testCtx.reset(CreatePlatformVkTestContext(vkSharedContext));
242 if (!testCtx) {
265 testCtx.reset(CreatePlatformMtlTestContext(mtlSharedContext));
266 if (!testCtx) {
277 testCtx.reset(CreatePlatformD3DTestContext(d3dSharedContext));
278 if (!testCtx) {
288 testCtx.reset(CreatePlatformDawnTestContext(dawnSharedContext));
289 if (!testCtx) {
298 testCtx.reset(CreateMockTestContext(sharedContext));
299 if (!testCtx) {
308 SkASSERT(testCtx && testCtx->backend() == backend);
318 auto restore = testCtx->makeCurrentAndAutoRestore();
319 grCtx = testCtx->makeContext(grOptions);
333 context.fTestContext = testCtx.release();