• Home
  • Raw
  • Download

Lines Matching refs:rContext

39 static std::unique_ptr<GrSurfaceDrawContext> new_RTC(GrRecordingContext* rContext, int wh) {  in new_RTC()  argument
40 return GrSurfaceDrawContext::Make(rContext, in new_RTC()
181 auto rContext = canvas->recordingContext(); in addViewAccess() local
183 auto view = AccessCachedView(rContext, this->threadSafeCache(), in addViewAccess()
246 GrRecordingContext* rContext = canvas->recordingContext(); in checkView() local
247 GrProxyProvider* recordingProxyProvider = rContext->priv().proxyProvider(); in checkView()
418 static GrOp::Owner Make(GrRecordingContext* rContext, TestHelper::Stats* stats, in Make() argument
423 rContext, rContext, stats, wh, id, failLookup, failFillingIn, isNewerBetter); in Make()
431 GrThreadSafeVertexTestOp(GrRecordingContext* rContext, TestHelper::Stats* stats, int wh, int id, in GrThreadSafeVertexTestOp() argument
445 this->findOrCreateVertices(rContext, failLookup, fFailFillingIn); in GrThreadSafeVertexTestOp()
487 void findOrCreateVertices(GrRecordingContext* rContext, bool failLookup, bool failFillingIn) { in findOrCreateVertices() argument
490 auto threadSafeViewCache = rContext->priv().threadSafeCache(); in findOrCreateVertices()
492 if (rContext->asDirectContext()) { in findOrCreateVertices()
510 if (!rContext->asDirectContext()) { in findOrCreateVertices()
532 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices()
547 void onPrePrepare(GrRecordingContext* rContext, in onPrePrepare() argument
553 SkArenaAlloc* arena = rContext->priv().recordTimeAllocator(); in onPrePrepare()
558 fProgramInfo = this->createProgramInfo(rContext->priv().caps(), arena, writeView, in onPrePrepare()
562 rContext->priv().recordProgramInfo(fProgramInfo); in onPrePrepare()
566 this->findOrCreateVertices(rContext, false, fFailFillingIn); in onPrePrepare()
607 auto rContext = canvas->recordingContext(); in addVertAccess() local
610 GrOp::Owner op = GrThreadSafeVertexTestOp::Make(rContext, &fStats, in addVertAccess()
621 GrSurfaceProxyView TestHelper::CreateViewOnCpu(GrRecordingContext* rContext, in CreateViewOnCpu() argument
624 GrProxyProvider* proxyProvider = rContext->priv().proxyProvider(); in CreateViewOnCpu()
634 GrSwizzle swizzle = rContext->priv().caps()->getReadSwizzle(proxy->backendFormat(), in CreateViewOnCpu()
663 GrSurfaceProxyView TestHelper::AccessCachedView(GrRecordingContext* rContext, in AccessCachedView() argument
671 if (GrDirectContext* dContext = rContext->asDirectContext()) { in AccessCachedView()
716 view = CreateViewOnCpu(rContext, wh, stats); in AccessCachedView()