【发布时间】:2014-03-20 14:31:52
【问题描述】:
我正在为 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) 的回答是否定的,eglSwapBuffers(...) 是否应该返回而不将颜色缓冲区发布到窗口并返回 EGL_TRUE。
c) 如果对 b) 的回答是否定的,那么应该是什么?
问候,
【问题讨论】: