$darkmode
Go to the source code of this file.
Data Structures | |
| struct | GPUProfilerUI |
| Manages the visual state and animations for the GPU timeline. More... | |
Functions | |
| void | gpu_profiler_ui_init (GPUProfilerUI *profiler_ui) |
| Initializes the GPU timeline UI state. More... | |
| void | gpu_profiler_ui_update (GPUProfilerUI *profiler_ui, GPUProfiler *live_profiler, double delta_time, double current_time, bool should_log_metrics) |
| Updates animations and synchronizes data with the live profiler. More... | |
| void | gpu_profiler_ui_draw (GPUProfilerUI *profiler_ui, UIContext *ctx, int screen_width, int screen_height) |
| Renders the GPU timeline using the provided UI context. More... | |
| void | gpu_profiler_ui_toggle_visibility (GPUProfilerUI *profiler_ui) |
| Toggles the timeline visibility (with animation). More... | |
| void | gpu_profiler_ui_toggle_position (GPUProfilerUI *profiler_ui) |
| Toggles the timeline position (Top/Bottom). More... | |
| void | gpu_profiler_ui_cleanup (GPUProfilerUI *profiler_ui) |
| Cleans up GPU resources used by the UI. More... | |
| void gpu_profiler_ui_cleanup | ( | GPUProfilerUI * | profiler_ui | ) |
Cleans up GPU resources used by the UI.
| void gpu_profiler_ui_draw | ( | GPUProfilerUI * | profiler_ui, |
| UIContext * | ctx, | ||
| int | screen_width, | ||
| int | screen_height | ||
| ) |
Renders the GPU timeline using the provided UI context.
| void gpu_profiler_ui_init | ( | GPUProfilerUI * | profiler_ui | ) |
Initializes the GPU timeline UI state.
| void gpu_profiler_ui_toggle_position | ( | GPUProfilerUI * | profiler_ui | ) |
Toggles the timeline position (Top/Bottom).
| void gpu_profiler_ui_toggle_visibility | ( | GPUProfilerUI * | profiler_ui | ) |
Toggles the timeline visibility (with animation).
| void gpu_profiler_ui_update | ( | GPUProfilerUI * | profiler_ui, |
| GPUProfiler * | live_profiler, | ||
| double | delta_time, | ||
| double | current_time, | ||
| bool | should_log_metrics | ||
| ) |
Updates animations and synchronizes data with the live profiler.