Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
Loading...
Searching...
No Matches
gpu_profiler_ui_layout.h File Reference

Private UI layout constants for the GPU profiler overlay. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  { TIME_BUF_SIZE = 32 }
 

Variables

static const float GRAPH_FONT_SIZE = 20.0F
 
static const float ROW_PAD = 3.0F
 
static const float BG_ALPHA = 0.85F
 
static const float PAD_SIDE = 20.0F
 
static const float GRAPH_WIDTH_RATIO = 0.65F
 
static const float TEXT_GAP = 20.0F
 
static const float MARGIN_Y = 60.0F
 
static const float BG_RADIUS = 8.0F
 
static const float BG_PAD = 5.0F
 
static const float BG_WIDTH_EXT = 10.0F
 
static const float BG_RGB_VAL = 0.05F
 
static const float FADE_EPSILON = 0.001F
 
static const float VISIBILITY_THRESHOLD = 0.5F
 
static const float MIN_VISIBLE_ALPHA_GLOBAL = 0.001F
 
static const float MIN_MS = 0.001F
 
static const float MIN_BAR_WIDTH = 1.0F
 
static const float BAR_RADIUS_FACTOR = 0.5F
 
static const float ROW_PAD_DOUBLE = 2.0F
 
static const float INDENT_STEP = 15.0F
 
static const float TEXT_Y_OFFSET = -5.0F
 
static const float TEXT_SHADOW_OFFSET = 1.0F
 

Detailed Description

Private UI layout constants for the GPU profiler overlay.

This header is included ONLY by gpu_profiler_ui.c. It holds visual tuning constants (font sizes, padding, alpha values, thresholds) that do not belong in the public API.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TIME_BUF_SIZE 

Variable Documentation

◆ BAR_RADIUS_FACTOR

const float BAR_RADIUS_FACTOR = 0.5F
static

◆ BG_ALPHA

const float BG_ALPHA = 0.85F
static

◆ BG_PAD

const float BG_PAD = 5.0F
static

◆ BG_RADIUS

const float BG_RADIUS = 8.0F
static

◆ BG_RGB_VAL

const float BG_RGB_VAL = 0.05F
static

◆ BG_WIDTH_EXT

const float BG_WIDTH_EXT = 10.0F
static

◆ FADE_EPSILON

const float FADE_EPSILON = 0.001F
static

◆ GRAPH_FONT_SIZE

const float GRAPH_FONT_SIZE = 20.0F
static

◆ GRAPH_WIDTH_RATIO

const float GRAPH_WIDTH_RATIO = 0.65F
static

◆ INDENT_STEP

const float INDENT_STEP = 15.0F
static

◆ MARGIN_Y

const float MARGIN_Y = 60.0F
static

◆ MIN_BAR_WIDTH

const float MIN_BAR_WIDTH = 1.0F
static

◆ MIN_MS

const float MIN_MS = 0.001F
static

◆ MIN_VISIBLE_ALPHA_GLOBAL

const float MIN_VISIBLE_ALPHA_GLOBAL = 0.001F
static

◆ PAD_SIDE

const float PAD_SIDE = 20.0F
static

◆ ROW_PAD

const float ROW_PAD = 3.0F
static

◆ ROW_PAD_DOUBLE

const float ROW_PAD_DOUBLE = 2.0F
static

◆ TEXT_GAP

const float TEXT_GAP = 20.0F
static

◆ TEXT_SHADOW_OFFSET

const float TEXT_SHADOW_OFFSET = 1.0F
static

◆ TEXT_Y_OFFSET

const float TEXT_Y_OFFSET = -5.0F
static

◆ VISIBILITY_THRESHOLD

const float VISIBILITY_THRESHOLD = 0.5F
static