add a lot more tracing as I hunt down some performance things

This commit is contained in:
Mitchell Hashimoto
2022-08-03 09:56:32 -07:00
parent 0bc8300e74
commit befeb08b3d
2 changed files with 66 additions and 0 deletions

View File

@@ -512,6 +512,9 @@ fn refreshCallback(window: glfw.Window) void {
}
fn scrollCallback(window: glfw.Window, xoff: f64, yoff: f64) void {
const tracy = trace(@src());
defer tracy.end();
const win = window.getUserPointer(Window) orelse return;
//log.info("SCROLL: {} {}", .{ xoff, yoff });