23 const int pendingReadCount = scratchManager->
pendingReadCount(fTarget.get());
24 if (pendingReadCount) {
51 return fChildTasks.
prepareResources(resourceProvider, scratchManager, rteDict);
58 SkASSERT(!fTarget->isLazy() && fTarget->isInstantiated());
69 return fChildTasks.
addCommands(ctx, commandBuffer, replayTarget);
Status prepareResources(ResourceProvider *, ScratchResourceManager *, const RuntimeEffectDictionary *) override
DrawTask(sk_sp< TextureProxy > target)
Status addCommands(Context *, CommandBuffer *, ReplayTargetData) override
int pendingReadCount(const TextureProxy *proxy) const
void markResourceInUse(PendingUseListener *listener)
bool removePendingRead(const TextureProxy *proxy)
void returnTexture(sk_sp< Texture >)
Task::Status addCommands(Context *, CommandBuffer *, Task::ReplayTargetData)
Task::Status prepareResources(ResourceProvider *, ScratchResourceManager *, const RuntimeEffectDictionary *)