Nexus One / Android “CPU may be pegged” bug

前端 未结 5 1654
生来不讨喜
生来不讨喜 2021-02-05 12:36

I\'m writing a graphically intense game for the Nexus One, using the NDK (revision 4) and OpenGL ES 2.0. We\'re really pushing the hardware here, and for the most part it works

5条回答
  •  清酒与你
    2021-02-05 13:39

    There seems to be a driver problem with eglSwapBuffers():

    http://code.google.com/p/android/issues/detail?id=20833&q=cpu%20may%20be%20pegged&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars

    One workaround is to call glFinish() preceding your call to eglSwapBuffers(), however this will induce a performance hit.

提交回复
热议问题