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

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

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");