Lines Matching refs:cmd_buffer_data

1901       list_for_each_entry_safe(struct command_buffer_data, cmd_buffer_data,  in overlay_QueuePresentKHR()
1903 list_delinit(&cmd_buffer_data->link); in overlay_QueuePresentKHR()
1905 if (cmd_buffer_data->pipeline_query_pool) { in overlay_QueuePresentKHR()
1908 cmd_buffer_data->pipeline_query_pool, in overlay_QueuePresentKHR()
1909 cmd_buffer_data->query_index, 1, in overlay_QueuePresentKHR()
1918 if (cmd_buffer_data->timestamp_query_pool) { in overlay_QueuePresentKHR()
1921 cmd_buffer_data->timestamp_query_pool, in overlay_QueuePresentKHR()
1922 cmd_buffer_data->query_index * 2, 2, in overlay_QueuePresentKHR()
2053 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDraw() local
2055 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw]++; in overlay_CmdDraw()
2056 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDraw()
2069 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndexed() local
2071 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indexed]++; in overlay_CmdDrawIndexed()
2072 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndexed()
2084 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndirect() local
2086 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indirect]++; in overlay_CmdDrawIndirect()
2087 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndirect()
2098 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndexedIndirect() local
2100 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indexed_indirect]++; in overlay_CmdDrawIndexedIndirect()
2101 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndexedIndirect()
2114 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndirectCount() local
2116 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indirect_count]++; in overlay_CmdDrawIndirectCount()
2117 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndirectCount()
2132 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndexedIndirectCount() local
2134 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indexed_indirect_count]++; in overlay_CmdDrawIndexedIndirectCount()
2135 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndexedIndirectCount()
2147 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDispatch() local
2149 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_dispatch]++; in overlay_CmdDispatch()
2150 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDispatch()
2159 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDispatchIndirect() local
2161 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_dispatch_indirect]++; in overlay_CmdDispatchIndirect()
2162 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDispatchIndirect()
2171 struct command_buffer_data *cmd_buffer_data = in overlay_CmdBindPipeline() local
2174 …case VK_PIPELINE_BIND_POINT_GRAPHICS: cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_pipeline_… in overlay_CmdBindPipeline()
2175 …case VK_PIPELINE_BIND_POINT_COMPUTE: cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_pipeline_c… in overlay_CmdBindPipeline()
2176 …case VK_PIPELINE_BIND_POINT_RAY_TRACING_NV: cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_pip… in overlay_CmdBindPipeline()
2179 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdBindPipeline()
2187 struct command_buffer_data *cmd_buffer_data = in overlay_BeginCommandBuffer() local
2189 struct device_data *device_data = cmd_buffer_data->device; in overlay_BeginCommandBuffer()
2191 memset(&cmd_buffer_data->stats, 0, sizeof(cmd_buffer_data->stats)); in overlay_BeginCommandBuffer()
2196 if (cmd_buffer_data->level == VK_COMMAND_BUFFER_LEVEL_SECONDARY) { in overlay_BeginCommandBuffer()
2233 if (cmd_buffer_data->pipeline_query_pool) { in overlay_BeginCommandBuffer()
2235 cmd_buffer_data->pipeline_query_pool, in overlay_BeginCommandBuffer()
2236 cmd_buffer_data->query_index, 1); in overlay_BeginCommandBuffer()
2238 if (cmd_buffer_data->timestamp_query_pool) { in overlay_BeginCommandBuffer()
2240 cmd_buffer_data->timestamp_query_pool, in overlay_BeginCommandBuffer()
2241 cmd_buffer_data->query_index * 2, 2); in overlay_BeginCommandBuffer()
2243 if (cmd_buffer_data->pipeline_query_pool) { in overlay_BeginCommandBuffer()
2245 cmd_buffer_data->pipeline_query_pool, in overlay_BeginCommandBuffer()
2246 cmd_buffer_data->query_index, 0); in overlay_BeginCommandBuffer()
2248 if (cmd_buffer_data->timestamp_query_pool) { in overlay_BeginCommandBuffer()
2251 cmd_buffer_data->timestamp_query_pool, in overlay_BeginCommandBuffer()
2252 cmd_buffer_data->query_index * 2); in overlay_BeginCommandBuffer()
2262 struct command_buffer_data *cmd_buffer_data = in overlay_EndCommandBuffer() local
2264 struct device_data *device_data = cmd_buffer_data->device; in overlay_EndCommandBuffer()
2266 if (cmd_buffer_data->timestamp_query_pool) { in overlay_EndCommandBuffer()
2269 cmd_buffer_data->timestamp_query_pool, in overlay_EndCommandBuffer()
2270 cmd_buffer_data->query_index * 2 + 1); in overlay_EndCommandBuffer()
2272 if (cmd_buffer_data->pipeline_query_pool) { in overlay_EndCommandBuffer()
2274 cmd_buffer_data->pipeline_query_pool, in overlay_EndCommandBuffer()
2275 cmd_buffer_data->query_index); in overlay_EndCommandBuffer()
2285 struct command_buffer_data *cmd_buffer_data = in overlay_ResetCommandBuffer() local
2287 struct device_data *device_data = cmd_buffer_data->device; in overlay_ResetCommandBuffer()
2289 memset(&cmd_buffer_data->stats, 0, sizeof(cmd_buffer_data->stats)); in overlay_ResetCommandBuffer()
2299 struct command_buffer_data *cmd_buffer_data = in overlay_CmdExecuteCommands() local
2301 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdExecuteCommands()
2309 cmd_buffer_data->stats.stats[s] += sec_cmd_buffer_data->stats.stats[s]; in overlay_CmdExecuteCommands()
2376 struct command_buffer_data *cmd_buffer_data = in overlay_FreeCommandBuffers() local
2380 if (!cmd_buffer_data) in overlay_FreeCommandBuffers()
2383 uint64_t count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2385 unmap_object(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2387 cmd_buffer_data->pipeline_query_pool, NULL); in overlay_FreeCommandBuffers()
2389 map_object(HKEY(cmd_buffer_data->pipeline_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()
2391 count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2393 unmap_object(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2395 cmd_buffer_data->timestamp_query_pool, NULL); in overlay_FreeCommandBuffers()
2397 map_object(HKEY(cmd_buffer_data->timestamp_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()
2399 destroy_command_buffer_data(cmd_buffer_data); in overlay_FreeCommandBuffers()
2419 struct command_buffer_data *cmd_buffer_data = in overlay_QueueSubmit() local
2424 device_data->frame_stats.stats[st] += cmd_buffer_data->stats.stats[st]; in overlay_QueueSubmit()
2429 if (!cmd_buffer_data->pipeline_query_pool && in overlay_QueueSubmit()
2430 !cmd_buffer_data->timestamp_query_pool) in overlay_QueueSubmit()
2433 if (list_is_empty(&cmd_buffer_data->link)) { in overlay_QueueSubmit()
2434 list_addtail(&cmd_buffer_data->link, in overlay_QueueSubmit()