应该eglSwapBuffers(...)阻塞,直到达到最小数量的视频帧?

时间:2014-03-20 14:31:52

标签: ios egl

我正在iOS的用户空间中实现EGL 1.4。 eglSwapBuffers(...)状态post the color buffer to a window的规范。

eglSetSwapInterval(EGLDisplay dpy, EGLint interval)州的规范The parameter *interval* specifies the minimum number of video frames that are displayed before a buffer swap will occur

我的问题是:

a)eglSwapBuffers(...)应该阻塞,直到达到最小帧数?

b)如果对a)的答案为NO,那么eglSwapBuffers(...)应该返回而不将颜色缓冲区发布到窗口并返回EGL_TRUE。

c)如果对b)的回答是否定的,那该怎么办?

此致

1 个答案:

答案 0 :(得分:0)

答案似乎是eglSwapBuffers(...)阻塞,直到达到最小帧数。