Searched refs:mainCtx (Results 1 – 3 of 3) sorted by relevance
117 auto mainCtx = mainInfo.directContext(); in surface_semaphore_test() local118 if (!mainCtx->priv().caps()->semaphoreSupport()) { in surface_semaphore_test()125 sk_sp<SkSurface> mainSurface(SkSurface::MakeRenderTarget(mainCtx, SkBudgeted::kNo, in surface_semaphore_test()139 GrVkGpu* gpu = static_cast<GrVkGpu*>(mainCtx->priv().getGpu()); in surface_semaphore_test()162 blueImage->flush(mainCtx, info); in surface_semaphore_test()165 mainCtx->flush(info); in surface_semaphore_test()168 mainCtx->submit(); in surface_semaphore_test()
68 mainCtx context.Context var97 mainCtx = makeMainCtx()505 ctx := mainCtx750 ctx, cancel := context.WithTimeout(mainCtx, testTimeout)
1907 auto mainCtx = mainCtxInfo.directContext(); in draw() local1908 if (!mainCtx) { in draw()1912 SkASSERT(mainCtx->priv().getGpu()); in draw()1918 ContextInfo otherCtxInfo = factory.getSharedContextInfo(mainCtx); in draw()1934 sk_sp<SkSurface> surface = this->createDstSurface(mainCtx, src.size()); in draw()1940 mainTestCtx, mainCtx); in draw()1949 mainCtx->priv().dumpCacheStats(log); in draw()1950 mainCtx->priv().dumpGpuStats(log); in draw()1951 mainCtx->priv().dumpContextStats(log); in draw()