Looking to render a camera stream as fast as physically possible on the TX2i. At the moment, I have a bare bones program that uses the V4L2 API to grab frames and display them in a window using GLFW3 and OpenGL. Even with this simple program, my latency is about 2 or 3 frames behind Gstreamer using nvarguscamerasrc.
Should I be expecting my program to be faster than Gstreamer, or is that too optimistic? Is the argus pipeline faster than V4L2? Does gstreamer double buffer, like GLFW typically does?