eglSwapBuffers Behaviour X11

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

eglSwapBuffers Behaviour X11

1,404 次查看
jacoblim
Contributor II

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

标签 (2)
0 项奖励
回复
1 回复

1,258 次查看
CarlosCasillas
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复