I am optimizing a game for performance. A large part of the screen remains the same from frame to frame and it takes a while to render, so I intend to use glScissor() to limit new drawing to only certain parts of the screen. I do not do a gl.glClear(GL10.GL_COLOR_BUFFER_BIT); so the bits that were drawn previously should remain.
This provides a large speed increase and works very well on the Droid and on the emulator. However, it is not working on the G1 or Droid Eris, both made by HTC. The areas outside the scissor region are still being drawn over in a strange way. It's as if what's being drawn inside the scissor region is being wrapped outside the region. There is a large rectangle in the middle of the screen that has the correct contents. This is the defined scissor region. Immediately below the scissor region is a row, maybe 150-200 pixels high that looks like an exact copy of the bottom of the scissor region. Again, this only is happening on the HTC phones. I believe that unless I specifically clear the color bits, they should remain from frame to frame. Is this correct? Any ideas? Is this an HTC OpenGL library bug? Thank you, Warren -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

