#include "vkpt.h"
Go to the source code of this file.
Macros | |
#define | PROFILER_DO(name, indent) draw_query(x, y, font, #name + 9, name); y += 10; |
Functions | |
VkResult | vkpt_profiler_initialize () |
VkResult | vkpt_profiler_destroy () |
VkResult | vkpt_profiler_query (VkCommandBuffer cmd_buf, int idx, VKPTProfilerAction action) |
VkResult | vkpt_profiler_next_frame (VkCommandBuffer cmd_buf) |
static void | draw_query (int x, int y, qhandle_t font, const char *enum_name, int idx) |
void | draw_profiler (int enable_asvgf) |
double | vkpt_get_profiler_result (int idx) |
Variables | |
static VkQueryPool | query_pool |
static uint64_t | query_pool_results [NUM_PROFILER_QUERIES_PER_FRAME+1] |
cvar_t * | cvar_pt_reflect_refract |
static qboolean | profiler_queries_used [NUM_PROFILER_QUERIES_PER_FRAME *2] = { 0 } |
#define PROFILER_DO | ( | name, | |
indent | |||
) | draw_query(x, y, font, #name + 9, name); y += 10; |
Definition at line 119 of file profiler.c.
double vkpt_get_profiler_result | ( | int | idx | ) |
VkResult vkpt_profiler_destroy | ( | ) |
Definition at line 42 of file profiler.c.
VkResult vkpt_profiler_initialize | ( | ) |
Definition at line 30 of file profiler.c.
VkResult vkpt_profiler_next_frame | ( | VkCommandBuffer | cmd_buf | ) |
Definition at line 66 of file profiler.c.
Referenced by R_BeginFrame_RTX().
VkResult vkpt_profiler_query | ( | VkCommandBuffer | cmd_buf, |
int | idx, | ||
VKPTProfilerAction | action | ||
) |
Definition at line 49 of file profiler.c.
Referenced by begin_perf_marker(), end_perf_marker(), and R_RenderFrame_RTX().
cvar_t* cvar_pt_reflect_refract |
Referenced by draw_profiler().
|
static |
Definition at line 27 of file profiler.c.
Referenced by vkpt_profiler_next_frame(), and vkpt_profiler_query().
|
static |
Definition at line 22 of file profiler.c.
Referenced by vkpt_profiler_destroy(), vkpt_profiler_initialize(), vkpt_profiler_next_frame(), and vkpt_profiler_query().
|
static |
Definition at line 23 of file profiler.c.
Referenced by vkpt_get_profiler_result(), and vkpt_profiler_next_frame().