[profile] added a tool to help profile the host capture perf

This commit is contained in:
Geoffrey McRae committed 2019-12-14 16:20:17 +11:00
1 parent 2d9f578719
commit 85d46ed2b0
6 files changed
+377 -1

No files matched your search

+1
View File
@@ -401,6 +401,7 @@ static int frameThread(void * unused)
updatePositionInfo();
}
FrameBuffer frame = (FrameBuffer)((uint8_t *)state.shm + header.dataPos);
if (!state.lgr->on_frame_event(state.lgrData, lgrFormat, frame))
{
DEBUG_ERROR("renderer on frame event returned failure");