Home
last modified time | relevance | path

Searched refs:scratchManager (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/graphite/task/
DDrawTask.cpp21 ScratchResourceManager* scratchManager, in prepareResources() argument
23 const int pendingReadCount = scratchManager->pendingReadCount(fTarget.get()); in prepareResources()
31 scratchManager->markResourceInUse(this); in prepareResources()
51 return fChildTasks.prepareResources(resourceProvider, scratchManager, rteDict); in prepareResources()
54 void DrawTask::onUseCompleted(ScratchResourceManager* scratchManager) { in onUseCompleted() argument
59 SkASSERT(scratchManager->pendingReadCount(fTarget.get()) > 0); in onUseCompleted()
60 if (scratchManager->removePendingRead(fTarget.get())) { in onUseCompleted()
61 scratchManager->returnTexture(fTarget->refTexture()); in onUseCompleted()
DTaskList.cpp39 ScratchResourceManager* scratchManager, in prepareResources() argument
42 scratchManager->pushScope(); in prepareResources()
44 return task->prepareResources(resourceProvider, scratchManager, runtimeDict); in prepareResources()
46 scratchManager->popScope(); in prepareResources()
DRenderPassTask.cpp83 ScratchResourceManager* scratchManager, in prepareResources() argument
88 if (scratchManager->pendingReadCount(fTarget.get()) == 0) { in prepareResources()
99 instantiated = TextureProxy::InstantiateIfNotLazy(scratchManager, fTarget.get()); in prepareResources()
120 scratchManager->notifyResourcesConsumed(); in prepareResources()
DComputeTask.cpp31 ScratchResourceManager* scratchManager, in prepareResources() argument
35 Status status = child->prepareResources(provider, scratchManager, rtd); in prepareResources()
/external/skia/src/gpu/graphite/
DTextureProxy.cpp127 bool TextureProxy::InstantiateIfNotLazy(ScratchResourceManager* scratchManager, in InstantiateIfNotLazy() argument
133 textureProxy->fTexture = scratchManager->getScratchTexture(textureProxy->dimensions(), in InstantiateIfNotLazy()
DRecorder.cpp190 ScratchResourceManager scratchManager{fResourceProvider, std::move(fProxyReadCounts)}; in snap() local
216 fResourceProvider, &scratchManager, fRuntimeEffectDict.get()) != Task::Status::kFail; in snap()