Lines Matching refs:fCurrentSecondaryCommandBuffer
180 loadFromResolve != LoadFromResolve::kLoad && SkToBool(fCurrentSecondaryCommandBuffer); in beginRenderPass()
208 if (fCurrentSecondaryCommandBuffer) { in beginRenderPass()
209 fCurrentSecondaryCommandBuffer->end(fGpu); in beginRenderPass()
249 fCurrentSecondaryCommandBuffer = fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu); in init()
250 if (!fCurrentSecondaryCommandBuffer) { in init()
254 fCurrentSecondaryCommandBuffer->begin(fGpu, fFramebuffer.get(), fCurrentRenderPass); in init()
272 fCurrentSecondaryCommandBuffer = fFramebuffer->externalCommandBuffer(); in initWrapped()
273 if (!fCurrentSecondaryCommandBuffer) { in initWrapped()
286 if (fCurrentSecondaryCommandBuffer) { in currentCommandBuffer()
287 return fCurrentSecondaryCommandBuffer.get(); in currentCommandBuffer()
299 fGpu->currentCommandBuffer()->nexSubpass(fGpu, SkToBool(fCurrentSecondaryCommandBuffer)); in loadResolveIntoMSAA()
325 std::move(fCurrentSecondaryCommandBuffer)); in submit()
329 if (fCurrentSecondaryCommandBuffer) { in submit()
330 fGpu->submitSecondaryCommandBuffer(std::move(fCurrentSecondaryCommandBuffer)); in submit()
392 if (fCurrentSecondaryCommandBuffer) { in reset()
396 fCurrentSecondaryCommandBuffer.release()->recycle(fGpu->cmdPool()); in reset()
578 fCurrentSecondaryCommandBuffer = fGpu->cmdPool()->findOrCreateSecondaryCommandBuffer(fGpu); in addAdditionalRenderPass()
579 if (!fCurrentSecondaryCommandBuffer) { in addAdditionalRenderPass()
583 fCurrentSecondaryCommandBuffer->begin(fGpu, fFramebuffer.get(), fCurrentRenderPass); in addAdditionalRenderPass()
597 if (fCurrentSecondaryCommandBuffer) { in inlineUpload()
598 fCurrentSecondaryCommandBuffer->end(fGpu); in inlineUpload()
599 fGpu->submitSecondaryCommandBuffer(std::move(fCurrentSecondaryCommandBuffer)); in inlineUpload()
613 if (fCurrentSecondaryCommandBuffer && !this->wrapsSecondaryCommandBuffer()) { in onEnd()
614 fCurrentSecondaryCommandBuffer->end(fGpu); in onEnd()
845 if (!fCurrentSecondaryCommandBuffer) { in onExecuteDrawable()
854 SkASSERT(fCurrentSecondaryCommandBuffer); in onExecuteDrawable()
857 vkInfo.fSecondaryCommandBuffer = fCurrentSecondaryCommandBuffer->vkCommandBuffer(); in onExecuteDrawable()