【问题标题】:Should eglSwapBuffers(...) be blocking until minimal number of video frames is reached?eglSwapBuffers(...) 是否应该阻塞直到达到最小视频帧数?
【发布时间】: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) 的回答是否定的,那么应该是什么?

问候,

【问题讨论】:

    标签: ios egl


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-30
      • 1970-01-01
      • 1970-01-01
      • 2014-08-26
      • 1970-01-01
      • 2015-04-25
      相关资源
      最近更新 更多