The open source OpenXR runtime
0
fork

Configure Feed

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

t/hsv: Improve latency when debugging by pushing debug frame after all other frames

+5 -4
+5 -4
src/xrt/auxiliary/tracking/t_hsv_filter.c
··· 307 307 return; 308 308 } 309 309 310 - if (f->debug != NULL) { 311 - f->debug->push_frame(f->debug, xf); 312 - } 313 - 314 310 push_buf(f, xf, f->sinks[0], &f->frame0); 315 311 push_buf(f, xf, f->sinks[1], &f->frame1); 316 312 push_buf(f, xf, f->sinks[2], &f->frame2); 317 313 push_buf(f, xf, f->sinks[3], &f->frame3); 314 + 315 + // Push the debug frame last, there might be a conversion involved. 316 + if (f->debug != NULL) { 317 + f->debug->push_frame(f->debug, xf); 318 + } 318 319 319 320 assert(f->frame0 == NULL); 320 321 assert(f->frame1 == NULL);