summaryrefslogtreecommitdiff
path: root/src/draw.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-24 14:09:45 -0300
committerGabriel Schneider <[email protected]>2026-10-24 20:59:59 -0300
commit93d901ec5b80c36cb6c9d9027a8b39de5adafaca (patch)
treebedeef40bec64693f819d975880ea219854212ad /src/draw.zig
parentc07af484b6f2688a64e850562d1f804c76c5ac52 (diff)
downloadpardes-93d901ec5b80c36cb6c9d9027a8b39de5adafaca.tar.gz
pardes-93d901ec5b80c36cb6c9d9027a8b39de5adafaca.zip
anim 1b: the probe measures input-to-present latency, where each frame's work goes (zones: body rows and colours, the GUI's build, shaping, rasterizing, a soft present's GPU wait, upload and flip) and the view presented; timedemos for throughput (stress), every file kind of a corpus (kinds) and every kind of pane (panes)
Diffstat (limited to 'src/draw.zig')
-rw-r--r--src/draw.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draw.zig b/src/draw.zig
index b4fc3a2c..3ba5801f 100644
--- a/src/draw.zig
+++ b/src/draw.zig
@@ -756,7 +756,7 @@ pub fn render(p: *Pardes, arena: std.mem.Allocator) !*Surface {
// wide enough for the longest theme name compiled in, which is the
// only row here whose width is not ours to choose
const ow: u16 = 38;
- const oh: u16 = 12;
+ const oh: u16 = 13;
const ox: u16 = if (s.cols > ow) s.cols - ow else 0;
if (ox + ow <= s.cols and p.topBarHeight() + oh <= s.rows) {
s.addRegion(.{ .kind = .debug, .rect = .{ .x = ox, .y = p.topBarHeight(), .w = ow, .h = oh } });