Home
last modified time | relevance | path

Searched refs:cmd_buffer (Results 1 – 10 of 10) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_command_pool.c74 list_for_each_entry_safe(struct vk_command_buffer, cmd_buffer, in vk_command_pool_finish()
76 cmd_buffer->ops->destroy(cmd_buffer); in vk_command_pool_finish()
80 list_for_each_entry_safe(struct vk_command_buffer, cmd_buffer, in vk_command_pool_finish()
82 cmd_buffer->ops->destroy(cmd_buffer); in vk_command_pool_finish()
148 list_for_each_entry_safe(struct vk_command_buffer, cmd_buffer, in vk_common_ResetCommandPool()
151 disp->ResetCommandBuffer(vk_command_buffer_to_handle(cmd_buffer), in vk_common_ResetCommandPool()
162 struct vk_command_buffer *cmd_buffer) in vk_command_buffer_recycle_or_destroy() argument
164 assert(pool == cmd_buffer->pool); in vk_command_buffer_recycle_or_destroy()
167 vk_command_buffer_recycle(cmd_buffer); in vk_command_buffer_recycle_or_destroy()
169 list_del(&cmd_buffer->pool_link); in vk_command_buffer_recycle_or_destroy()
[all …]
Dvk_command_buffer.c113 vk_command_buffer_recycle(struct vk_command_buffer *cmd_buffer) in vk_command_buffer_recycle() argument
120 cmd_buffer->ops->reset(cmd_buffer, in vk_command_buffer_recycle()
123 vk_object_base_recycle(&cmd_buffer->base); in vk_command_buffer_recycle()
130 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_ResetCommandBuffer()
132 if (cmd_buffer->state != MESA_VK_COMMAND_BUFFER_STATE_INITIAL) in vk_common_ResetCommandBuffer()
133 cmd_buffer->ops->reset(cmd_buffer, flags); in vk_common_ResetCommandBuffer()
161 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdBindVertexBuffers()
163 &cmd_buffer->base.device->dispatch_table; in vk_common_CmdBindVertexBuffers()
176 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdBindIndexBuffer()
178 &cmd_buffer->base.device->dispatch_table; in vk_common_CmdBindIndexBuffer()
[all …]
Dvk_cmd_enqueue.c40 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_cmd_enqueue_CmdDrawMultiEXT()
43 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiEXT()
49 list_addtail(&cmd->cmd_link, &cmd_buffer->cmd_queue.cmds); in vk_cmd_enqueue_CmdDrawMultiEXT()
55 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiEXT()
78 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
81 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
87 list_addtail(&cmd->cmd_link, &cmd_buffer->cmd_queue.cmds); in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
94 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
112 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
159 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
[all …]
Dvk_render_pass.c1314 can_use_attachment_initial_layout(struct vk_command_buffer *cmd_buffer, in can_use_attachment_initial_layout() argument
1320 const struct vk_render_pass *pass = cmd_buffer->render_pass; in can_use_attachment_initial_layout()
1321 const struct vk_framebuffer *framebuffer = cmd_buffer->framebuffer; in can_use_attachment_initial_layout()
1323 struct vk_attachment_state *att_state = &cmd_buffer->attachments[att_idx]; in can_use_attachment_initial_layout()
1334 if (cmd_buffer->render_area.offset.x != 0 || in can_use_attachment_initial_layout()
1335 cmd_buffer->render_area.offset.y != 0 || in can_use_attachment_initial_layout()
1336 cmd_buffer->render_area.extent.width != image_view->extent.width || in can_use_attachment_initial_layout()
1337 cmd_buffer->render_area.extent.height != image_view->extent.height) in can_use_attachment_initial_layout()
1400 set_attachment_layout(struct vk_command_buffer *cmd_buffer, in set_attachment_layout() argument
1406 struct vk_attachment_state *att_state = &cmd_buffer->attachments[att_idx]; in set_attachment_layout()
[all …]
Dvk_query_pool.c84 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdBeginQuery()
86 &cmd_buffer->base.device->dispatch_table; in vk_common_CmdBeginQuery()
96 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdEndQuery()
98 &cmd_buffer->base.device->dispatch_table; in vk_common_CmdEndQuery()
Dvk_synchronization2.c39 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdWriteTimestamp()
40 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdWriteTimestamp()
117 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdPipelineBarrier()
118 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdPipelineBarrier()
166 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdSetEvent()
167 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdSetEvent()
189 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdResetEvent()
190 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdResetEvent()
211 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, commandBuffer); in vk_common_CmdWaitEvents()
212 struct vk_device *device = cmd_buffer->base.device; in vk_common_CmdWaitEvents()
[all …]
Dvk_log.c190 struct vk_command_buffer *cmd_buffer = in __vk_log_impl() local
192 if (cmd_buffer->labels.size > 0) { in __vk_log_impl()
194 &cmd_buffer->labels, VkDebugUtilsLabelEXT); in __vk_log_impl()
195 cb_data.pCmdBufLabels = cmd_buffer->labels.data; in __vk_log_impl()
Dvk_command_buffer.h195 vk_command_buffer_reset_render_pass(struct vk_command_buffer *cmd_buffer);
Dvk_queue.c694 VK_FROM_HANDLE(vk_command_buffer, cmd_buffer, in vk_queue_submit()
698 assert(cmd_buffer->pool->queue_family_index == queue->queue_family_index); in vk_queue_submit()
704 assert(cmd_buffer->state == MESA_VK_COMMAND_BUFFER_STATE_INITIAL || in vk_queue_submit()
705 cmd_buffer->state == MESA_VK_COMMAND_BUFFER_STATE_EXECUTABLE || in vk_queue_submit()
706 cmd_buffer->state == MESA_VK_COMMAND_BUFFER_STATE_PENDING); in vk_queue_submit()
707 cmd_buffer->state = MESA_VK_COMMAND_BUFFER_STATE_PENDING; in vk_queue_submit()
709 submit->command_buffers[i] = cmd_buffer; in vk_queue_submit()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.cpp104 VkCommandBuffer cmd_buffer; member
473 static struct command_buffer_data *new_command_buffer_data(VkCommandBuffer cmd_buffer, in new_command_buffer_data() argument
482 data->cmd_buffer = cmd_buffer; in new_command_buffer_data()
488 map_object(HKEY(data->cmd_buffer), data); in new_command_buffer_data()
494 unmap_object(HKEY(data->cmd_buffer)); in destroy_command_buffer_data()