Lines Matching refs:secondary
358 GrVkSecondaryCommandBuffer* secondary = gpu->cmdPool()->findOrCreateSecondaryCommandBuffer(gpu); in copySurfaceAsDraw() local
359 if (!secondary) { in copySurfaceAsDraw()
362 secondary->begin(gpu, rt->framebuffer(), renderPass); in copySurfaceAsDraw()
364 secondary->bindPipeline(gpu, pipeline); in copySurfaceAsDraw()
378 secondary->bindDescriptorSets(gpu, in copySurfaceAsDraw()
397 secondary->setViewport(gpu, 0, 1, &viewport); in copySurfaceAsDraw()
405 secondary->setScissor(gpu, 0, 1, &scissor); in copySurfaceAsDraw()
407 secondary->bindInputBuffer(gpu, 0, fVertexBuffer.get()); in copySurfaceAsDraw()
408 secondary->draw(gpu, 4, 1, 0, 0); in copySurfaceAsDraw()
409 secondary->end(gpu); in copySurfaceAsDraw()
410 cmdBuffer->executeCommands(gpu, secondary); in copySurfaceAsDraw()
412 secondary->unref(gpu); in copySurfaceAsDraw()