I do not do a gl.glClear(GL10.GL_COLOR_BUFFER_BIT); so the bits that were
drawn previously should remain.
Actually this isn't the default behavior.
I think you need to request EGL_BUFFER_PRESERVED for the
EGL_SWAP_BEHAVIOR.
Unfortunately this currently (froyo) isn't possible because Android
Try to render static part of the screen twice so both back and front
buffers have the same content.
However I think it's better to render static scene, store it as
texture and draw simple quad at the beginning of each frame.
On Nov 14, 7:42 pm, Jeff Boody jeffbo...@gmail.com wrote:
I do not do a
I also tested this on an HTC Droid Incredible with the same bad result
there.
Also, I tested by only drawing over part of the background instead of
using glScissor(). Same result again. It would appear that the OpenGl
library on HTC phones fills the color buffer with garbage on each
swap. Why
3 matches
Mail list logo