Lines Matching defs:buffer
92 // never have buffer barriers inside of a render pass. For now we will just assert that we are
157 // can never have buffer barriers inside of a render pass. For now we will just assert that
182 sk_sp<const GrBuffer> buffer) {
183 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(buffer.get())->vkBuffer();
196 this->addGrBuffer(std::move(buffer));
200 void GrVkCommandBuffer::bindIndexBuffer(GrVkGpu* gpu, sk_sp<const GrBuffer> buffer) {
201 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(buffer.get())->vkBuffer();
210 this->addGrBuffer(std::move(buffer));
444 // command buffer to keep all our state tracking consistent. However, the vulkan validation
445 // layers complain about calling end on a command buffer that contains resources that have
446 // already been deleted. From the vulkan API it isn't required to end the command buffer to
538 std::unique_ptr<GrVkSecondaryCommandBuffer> buffer) {
539 // The Vulkan spec allows secondary command buffers to be executed on a primary command buffer
543 SkASSERT(!buffer->fIsActive);
545 SkASSERT(fActiveRenderPass->isCompatible(*buffer->fActiveRenderPass));
549 GR_VK_CALL(gpu->vkInterface(), CmdExecuteCommands(fCmdBuffer, 1, &buffer->fCmdBuffer));
550 fSecondaryCommandBuffers.push_back(std::move(buffer));
551 // When executing a secondary command buffer all state (besides render pass state) becomes
641 // This command buffer has no dependent semaphores so we can simply just submit it to the