Lines Matching refs:fRenderPasses
557 fRenderPasses.emplace_back(new GrVkRenderPass()); in CompatibleRenderPassSet()
558 fRenderPasses[0]->initSimple(gpu, target); in CompatibleRenderPassSet()
565 SkASSERT(fRenderPasses[0]); in isCompatible()
566 return fRenderPasses[0]->isCompatible(target); in isCompatible()
573 for (int i = 0; i < fRenderPasses.count(); ++i) { in getRenderPass()
574 int idx = (i + fLastReturnedIndex) % fRenderPasses.count(); in getRenderPass()
575 if (fRenderPasses[idx]->equalLoadStoreOps(colorOps, stencilOps)) { in getRenderPass()
577 return fRenderPasses[idx]; in getRenderPass()
580 GrVkRenderPass* renderPass = fRenderPasses.emplace_back(new GrVkRenderPass()); in getRenderPass()
582 fLastReturnedIndex = fRenderPasses.count() - 1; in getRenderPass()
587 for (int i = 0; i < fRenderPasses.count(); ++i) { in releaseResources()
588 if (fRenderPasses[i]) { in releaseResources()
589 fRenderPasses[i]->unref(gpu); in releaseResources()
590 fRenderPasses[i] = nullptr; in releaseResources()
596 for (int i = 0; i < fRenderPasses.count(); ++i) { in abandonResources()
597 if (fRenderPasses[i]) { in abandonResources()
598 fRenderPasses[i]->unrefAndAbandon(); in abandonResources()
599 fRenderPasses[i] = nullptr; in abandonResources()