Lines Matching defs:testCtx
186 std::unique_ptr<sk_gpu_test::TestContext> testCtx = make_test_context(backend);
187 if (testCtx) {
188 testCtx->makeCurrent();
189 if (nullptr != testCtx->makeContext(context_options())) {
204 if (std::unique_ptr<sk_gpu_test::TestContext> testCtx = make_test_context(backend)) {
205 testCtx->makeCurrent();
206 if (sk_sp<GrDirectContext> ctx = testCtx->makeContext(context_options())) {
277 std::unique_ptr<sk_gpu_test::TestContext> testCtx = make_test_context(backend);
278 if (!testCtx) {
281 testCtx->makeCurrent();
295 testCtx->makeContext(context_options(gm.get())).get(),