Lines Matching refs:fGpu
74 if (fGpu) { in ~GrDirectContext()
100 fGpu->resetTextureBindings(); in resetGLTextureBindings()
105 fGpu->markContextDirty(state); in resetContext()
127 fGpu->disconnect(GrGpu::DisconnectType::kAbandon); in abandonContext()
143 if (fGpu && fGpu->isDeviceLost()) { in abandoned()
150 bool GrDirectContext::oomed() { return fGpu ? fGpu->checkAndResetOOMed() : false; } in oomed()
170 fGpu->disconnect(GrGpu::DisconnectType::kCleanup); in releaseResourcesAndAbandonContext()
201 if (!fGpu) { in init()
205 fThreadSafeProxy->priv().init(fGpu->refCaps(), fGpu->refPipelineBuilder()); in init()
224 fResourceProvider = std::make_unique<GrResourceProvider>(fGpu.get(), fResourceCache.get(), in init()
317 fGpu->releaseUnlockedBackendObjects(); in purgeUnlockedResources()
355 if (!fGpu || !fGpu->caps()->semaphoreSupport()) { in wait()
366 fGpu->waitSemaphore(sema.get()); in wait()
410 if (!fGpu) { in submit()
414 return fGpu->submitToGpu(syncCpu); in submit()
420 if (fGpu) { in checkAsyncWorkCompletion()
421 fGpu->checkFinishProcs(); in checkAsyncWorkCompletion()
426 if (fGpu && (!this->abandoned() || shouldExecuteWhileAbandoned)) { in syncAllOutstandingGpuWork()
427 fGpu->finishOutstandingGpuWork(); in syncAllOutstandingGpuWork()
435 if (fGpu) { in storeVkPipelineCacheData()
436 fGpu->storeVkPipelineCacheData(); in storeVkPipelineCacheData()
465 return fGpu->createBackendTexture({width, height}, backendFormat, renderable, in createBackendTexture()
664 return fGpu->clearBackendTexture(backendTexture, std::move(finishedCallback), color.array()); in updateBackendTexture()
688 return fGpu->clearBackendTexture(backendTexture, in updateBackendTexture()
869 return fGpu->updateCompressedBackendTexture(backendTexture, in updateCompressedBackendTexture()
890 return fGpu->updateCompressedBackendTexture(backendTexture, in updateCompressedBackendTexture()
909 return fGpu->setBackendTextureState(backendTexture, state, previousState, std::move(callback)); in setBackendTextureState()
924 return fGpu->setBackendRenderTargetState(backendRenderTarget, state, previousState, in setBackendRenderTargetState()
936 fGpu->deleteBackendTexture(backendTex); in deleteBackendTexture()
942 return fGpu->precompileShader(key, data); in precompileShader()
959 this->fGpu->dumpJSON(&writer); in dump()
1039 direct->fGpu = GrGLGpu::Make(std::move(glInterface), options, direct.get()); in MakeGL()
1057 direct->fGpu = GrMockGpu::Make(mockOptions, options, direct.get()); in MakeMock()
1076 direct->fGpu = GrVkGpu::Make(backendContext, options, direct.get()); in MakeVulkan()
1096 direct->fGpu = GrMtlTrampoline::MakeGpu(backendContext, options, direct.get()); in MakeMetal()
1134 direct->fGpu = GrD3DGpu::Make(backendContext, options, direct.get()); in MakeDirect3D()
1154 direct->fGpu = GrDawnGpu::Make(device, options, direct.get()); in MakeDawn()