Home
last modified time | relevance | path

Searched refs:mainCtx (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/tests/
DSurfaceSemaphoreTest.cpp117 auto mainCtx = mainInfo.directContext(); in surface_semaphore_test() local
118 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()
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
Dmain.go68 mainCtx context.Context var
97 mainCtx = makeMainCtx()
505 ctx := mainCtx
750 ctx, cancel := context.WithTimeout(mainCtx, testTimeout)
/third_party/skia/dm/
DDMSrcSink.cpp1907 auto mainCtx = mainCtxInfo.directContext(); in draw() local
1908 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()