$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
GPUTimer Struct Reference

GPU performance timer using OpenGL Query Objects. More...

#include <perf_timer.h>

Data Fields

GLuint query_start
 
GLuint query_end
 
int active
 

Detailed Description

GPU performance timer using OpenGL Query Objects.

Measures actual GPU execution time, which can differ significantly from CPU "wall-clock" time due to driver buffering and parallelism.

Field Documentation

◆ active

int GPUTimer::active

Flag indicating if a measurement is in progress.

◆ query_end

GLuint GPUTimer::query_end

Handle for the end timestamp query.

◆ query_start

GLuint GPUTimer::query_start

Handle for the start timestamp query.


The documentation for this struct was generated from the following file: