The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/wmr: Expand tracing in camera

+4
+4
src/xrt/drivers/wmr/wmr_camera.c
··· 308 308 size_t dst_remain = xf->size; 309 309 const size_t chunk_size = 0x6000 - 32; 310 310 311 + DRV_TRACE_BEGIN(copy_to_frame); 311 312 while (dst_remain > 0) { 312 313 const size_t to_copy = dst_remain > chunk_size ? chunk_size : dst_remain; 313 314 ··· 326 327 dst += to_copy; 327 328 dst_remain -= to_copy; 328 329 } 330 + DRV_TRACE_END(copy_to_frame); 329 331 330 332 /* There should be exactly a 26 byte footer left over */ 331 333 assert(xfer->buffer + xfer->length - src == 26); ··· 381 383 382 384 // Push to sinks 383 385 if (slam_tracking_frame) { 386 + DRV_TRACE_IDENT(push_to_sinks); 387 + 384 388 // Tracking frames usually come at ~30fps 385 389 struct xrt_frame *frames[WMR_MAX_CAMERAS] = {NULL}; 386 390 for (int i = 0; i < cam->slam_cam_count; i++) {