I am trying to understand the behavior of eglSwapBuffers().
I was under the impression that if my rendering code took 4ms, eglSwapBuffers will block the thread for 16.7ms - 4ms.
However, when I tried measuring the time taken between eglSwapBuffers, the time is 4ms.
Is this due to X11? Will be trying DirectFB for comparison.
But in the mean time, would appreciate it if anyone can enlighten me.
I am using the i.MX6QP-SABRE-SD with Linux 4.1.15_2.0.1 Patch.
My output is 800x600@60Hz on HDMI.
Thanks
Jacob
Hi Jacob,
You could take a look at the following thread:
https://community.nxp.com/message/564472
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------