Lines Matching refs:cmd_buffer_data
1910 list_for_each_entry_safe(struct command_buffer_data, cmd_buffer_data, in overlay_QueuePresentKHR()
1912 list_delinit(&cmd_buffer_data->link); in overlay_QueuePresentKHR()
1914 if (cmd_buffer_data->pipeline_query_pool) { in overlay_QueuePresentKHR()
1917 cmd_buffer_data->pipeline_query_pool, in overlay_QueuePresentKHR()
1918 cmd_buffer_data->query_index, 1, in overlay_QueuePresentKHR()
1927 if (cmd_buffer_data->timestamp_query_pool) { in overlay_QueuePresentKHR()
1930 cmd_buffer_data->timestamp_query_pool, in overlay_QueuePresentKHR()
1931 cmd_buffer_data->query_index * 2, 2, in overlay_QueuePresentKHR()
2062 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDraw() local
2064 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw]++; in overlay_CmdDraw()
2065 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDraw()
2078 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndexed() local
2080 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indexed]++; in overlay_CmdDrawIndexed()
2081 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndexed()
2093 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndirect() local
2095 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indirect]++; in overlay_CmdDrawIndirect()
2096 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndirect()
2107 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndexedIndirect() local
2109 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indexed_indirect]++; in overlay_CmdDrawIndexedIndirect()
2110 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndexedIndirect()
2123 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndirectCount() local
2125 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indirect_count]++; in overlay_CmdDrawIndirectCount()
2126 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndirectCount()
2141 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDrawIndexedIndirectCount() local
2143 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_draw_indexed_indirect_count]++; in overlay_CmdDrawIndexedIndirectCount()
2144 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDrawIndexedIndirectCount()
2156 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDispatch() local
2158 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_dispatch]++; in overlay_CmdDispatch()
2159 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDispatch()
2168 struct command_buffer_data *cmd_buffer_data = in overlay_CmdDispatchIndirect() local
2170 cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_dispatch_indirect]++; in overlay_CmdDispatchIndirect()
2171 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdDispatchIndirect()
2180 struct command_buffer_data *cmd_buffer_data = in overlay_CmdBindPipeline() local
2183 …case VK_PIPELINE_BIND_POINT_GRAPHICS: cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_pipeline_… in overlay_CmdBindPipeline()
2184 …case VK_PIPELINE_BIND_POINT_COMPUTE: cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_pipeline_c… in overlay_CmdBindPipeline()
2185 …case VK_PIPELINE_BIND_POINT_RAY_TRACING_NV: cmd_buffer_data->stats.stats[OVERLAY_PARAM_ENABLED_pip… in overlay_CmdBindPipeline()
2188 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdBindPipeline()
2196 struct command_buffer_data *cmd_buffer_data = in overlay_BeginCommandBuffer() local
2198 struct device_data *device_data = cmd_buffer_data->device; in overlay_BeginCommandBuffer()
2200 memset(&cmd_buffer_data->stats, 0, sizeof(cmd_buffer_data->stats)); in overlay_BeginCommandBuffer()
2205 if (cmd_buffer_data->level == VK_COMMAND_BUFFER_LEVEL_SECONDARY) { in overlay_BeginCommandBuffer()
2242 if (cmd_buffer_data->pipeline_query_pool) { in overlay_BeginCommandBuffer()
2244 cmd_buffer_data->pipeline_query_pool, in overlay_BeginCommandBuffer()
2245 cmd_buffer_data->query_index, 1); in overlay_BeginCommandBuffer()
2247 if (cmd_buffer_data->timestamp_query_pool) { in overlay_BeginCommandBuffer()
2249 cmd_buffer_data->timestamp_query_pool, in overlay_BeginCommandBuffer()
2250 cmd_buffer_data->query_index * 2, 2); in overlay_BeginCommandBuffer()
2252 if (cmd_buffer_data->pipeline_query_pool) { in overlay_BeginCommandBuffer()
2254 cmd_buffer_data->pipeline_query_pool, in overlay_BeginCommandBuffer()
2255 cmd_buffer_data->query_index, 0); in overlay_BeginCommandBuffer()
2257 if (cmd_buffer_data->timestamp_query_pool) { in overlay_BeginCommandBuffer()
2260 cmd_buffer_data->timestamp_query_pool, in overlay_BeginCommandBuffer()
2261 cmd_buffer_data->query_index * 2); in overlay_BeginCommandBuffer()
2271 struct command_buffer_data *cmd_buffer_data = in overlay_EndCommandBuffer() local
2273 struct device_data *device_data = cmd_buffer_data->device; in overlay_EndCommandBuffer()
2275 if (cmd_buffer_data->timestamp_query_pool) { in overlay_EndCommandBuffer()
2278 cmd_buffer_data->timestamp_query_pool, in overlay_EndCommandBuffer()
2279 cmd_buffer_data->query_index * 2 + 1); in overlay_EndCommandBuffer()
2281 if (cmd_buffer_data->pipeline_query_pool) { in overlay_EndCommandBuffer()
2283 cmd_buffer_data->pipeline_query_pool, in overlay_EndCommandBuffer()
2284 cmd_buffer_data->query_index); in overlay_EndCommandBuffer()
2294 struct command_buffer_data *cmd_buffer_data = in overlay_ResetCommandBuffer() local
2296 struct device_data *device_data = cmd_buffer_data->device; in overlay_ResetCommandBuffer()
2298 memset(&cmd_buffer_data->stats, 0, sizeof(cmd_buffer_data->stats)); in overlay_ResetCommandBuffer()
2308 struct command_buffer_data *cmd_buffer_data = in overlay_CmdExecuteCommands() local
2310 struct device_data *device_data = cmd_buffer_data->device; in overlay_CmdExecuteCommands()
2318 cmd_buffer_data->stats.stats[s] += sec_cmd_buffer_data->stats.stats[s]; in overlay_CmdExecuteCommands()
2385 struct command_buffer_data *cmd_buffer_data = in overlay_FreeCommandBuffers() local
2389 if (!cmd_buffer_data) in overlay_FreeCommandBuffers()
2392 uint64_t count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2394 unmap_object(HKEY(cmd_buffer_data->pipeline_query_pool)); in overlay_FreeCommandBuffers()
2396 cmd_buffer_data->pipeline_query_pool, NULL); in overlay_FreeCommandBuffers()
2398 map_object(HKEY(cmd_buffer_data->pipeline_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()
2400 count = (uintptr_t)find_object_data(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2402 unmap_object(HKEY(cmd_buffer_data->timestamp_query_pool)); in overlay_FreeCommandBuffers()
2404 cmd_buffer_data->timestamp_query_pool, NULL); in overlay_FreeCommandBuffers()
2406 map_object(HKEY(cmd_buffer_data->timestamp_query_pool), (void *)(uintptr_t)(count - 1)); in overlay_FreeCommandBuffers()
2408 destroy_command_buffer_data(cmd_buffer_data); in overlay_FreeCommandBuffers()
2428 struct command_buffer_data *cmd_buffer_data = in overlay_QueueSubmit() local
2433 device_data->frame_stats.stats[st] += cmd_buffer_data->stats.stats[st]; in overlay_QueueSubmit()
2438 if (!cmd_buffer_data->pipeline_query_pool && in overlay_QueueSubmit()
2439 !cmd_buffer_data->timestamp_query_pool) in overlay_QueueSubmit()
2442 if (list_is_empty(&cmd_buffer_data->link)) { in overlay_QueueSubmit()
2443 list_addtail(&cmd_buffer_data->link, in overlay_QueueSubmit()