MCPcopy Index your code
hub / github.com/CapSoftware/Cap / createEmptyTiming

Function createEmptyTiming

apps/desktop/src/utils/webgpu-renderer.ts:109–117  ·  view source on GitHub ↗
(start: number)

Source from the content-addressed store, hash-verified

107}
108
109function createEmptyTiming(start: number): WebGPURenderTiming {
110 return {
111 resizeMs: 0,
112 textureSetupMs: 0,
113 uploadMs: 0,
114 drawMs: 0,
115 totalMs: performance.now() - start,
116 };
117}
118
119async function requestWebGPUAdapter(
120 powerPreference: GPUPowerPreference = "high-performance",

Callers 2

renderFrameWebGPUFunction · 0.85
renderNv12FrameWebGPUFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected