Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
app_profiling.c File Reference
#include <glad/glad.h>
#include "app_profiling.h"
#include "app.h"
#include "app_settings.h"
#include "platform/platform_utils.h"
#include <stddef.h>
Include dependency graph for app_profiling.c:

Functions

void app_profiling_init (AppProfiling *prof, int width, int height)
 Initialize all profiling sub-systems to default state.
 
void app_profiling_cleanup (AppProfiling *prof)
 Release all profiling resources in reverse init order.
 
int app_profiling_subsys_init (App *app)
 
void app_profiling_subsys_cleanup (App *app)
 

Function Documentation

◆ app_profiling_cleanup()

void app_profiling_cleanup ( AppProfiling *  prof)

Release all profiling resources in reverse init order.

Parameters
profPointer to the profiling sub-struct.
Here is the call graph for this function:

◆ app_profiling_init()

void app_profiling_init ( AppProfiling *  prof,
int  width,
int  height 
)

Initialize all profiling sub-systems to default state.

Parameters
profPointer to the profiling sub-struct.
widthInitial viewport width (for Tracy screenshot buffer).
heightInitial viewport height.
Here is the call graph for this function:

◆ app_profiling_subsys_cleanup()

void app_profiling_subsys_cleanup ( App *  app)
Here is the call graph for this function:

◆ app_profiling_subsys_init()

int app_profiling_subsys_init ( App *  app)
Here is the call graph for this function: