Lines Matching refs:mainCtx
1907 auto mainCtx = mainCtxInfo.directContext();
1908 if (!mainCtx) {
1912 SkASSERT(mainCtx->priv().getGpu());
1918 ContextInfo otherCtxInfo = factory.getSharedContextInfo(mainCtx);
1931 // Make sure 'mainCtx' is current
1934 sk_sp<SkSurface> surface = this->createDstSurface(mainCtx, src.size());
1940 mainTestCtx, mainCtx);
1945 // 'ddlDraw' will have made 'mainCtx' not current on the gpuThread
1949 mainCtx->priv().dumpCacheStats(log);
1950 mainCtx->priv().dumpGpuStats(log);
1951 mainCtx->priv().dumpContextStats(log);