Hi all,
I’m creating an application type finger paint in Android, but a bit more complex. I found many examples on this topic, but the techniques used are rather slow. I simply used a technique very fast. The technique consists in not erase the color buffer, so that each touch drawn is accumulated in the color buffer, without having the need to reshape it after each rendering:
public void onDrawFrame(GL10 gl) {
// gl.glClear(GL10.GL_COLOR_BUFFER_BIT); <-- no
....
}
Unfortunately, on some devices work properly, while others dispositivii the image is erased at the first touch, or the picture is divided into 4 portions. I want to know if the color buffer in OpenGL is treated differently by the various devices? Will disappear? Or this is a wrong technique? Or you need to set something?
thanks