Searched refs:fpsData (Results 1 – 2 of 2) sorted by relevance
30 static draw(fpsCtx: CanvasRenderingContext2D, fpsData: FpsStruct): void {31 if (fpsData.frame) {32 let fpsBeanWidth = fpsData.frame.width || 0;35 if (fpsData.startNS === FpsStruct.hoverFpsStruct?.startNS) {38 …let drawHeight: number = ((fpsData.fps || 0) * (fpsData.frame.height || 0) * 1.0) / FpsStruct.maxF…39 …fpsCtx.fillRect(fpsData.frame.x, fpsData.frame.y + fpsData.frame.height - drawHeight, fpsBeanWidth…41 …fpsCtx.arc(fpsData.frame.x, fpsData.frame.y + fpsData.frame.height - drawHeight, 3, 0, 2 * Math.PI…46 fpsCtx.moveTo(fpsData.frame.x + 3, fpsData.frame.y + fpsData.frame.height - drawHeight);48 …fpsCtx.lineTo(fpsData.frame.x + fpsBeanWidth, fpsData.frame.y + fpsData.frame.height - drawHeight);53 …let drawHeight: number = ((fpsData.fps || 0) * (fpsData.frame.height || 0) * 1.0) / FpsStruct.maxF…[all …]
87 auto fpsData = hidumpInfo->add_fps_event(); variable88 fpsData->set_fps(FPS);89 fpsData->set_allocated_time(&timeSpec);