Is there any alternative for GLES20.glClear(GLES20.GL

I get a fill rate of about 30fps in my application. I know that GLES20.glClear() is used to clear the screen for every draw. If i comment it i get a fps of about 60fps. But the output is not as expected. I have a content to be redrawn for the whole screen in every frame. Is there any alternative where i can redraw the whole screen with out using the GLES20.glClear(). Please let me know if there is any way to play around with GLES20.glClear() to improve the performance?


If you overwrite the entire color buffer with your geometry each frame you can get away with just clearing the depth buffer.

Should save you some memory bandwidth.

链接地址: http://www.djcxy.com/p/64638.html

上一篇: 为什么glClear在OpenGLES中被阻塞?

下一篇: GLES20.glClear(GLES20.GL)是否有其他选择?