Hi,
Firstly, thanks for great OpenGL ES 2.0 support on Intel Atom Android system image - it's been very helpful. But it seems so that using a stencil buffer attachment on texture renderbuffers "ruin" the whole texture. This happens on OSX 10.8.1 using both ICS and JB images. On other screenshot I have GL_STENCIL_INDEX8 render buffer attached and other one doesn't.
In Java the difference is following lines;
// Generate stencil buffer.
if (genStencilBuffer) {
GLES20.glGenRenderbuffers(1, handle, 0);
mStencilBufferHandle = handle[0];
GLES20.glBindRenderbuffer(GLES20.GL_RENDERBUFFER, mStencilBufferHandle);
GLES20.glRenderbufferStorage(GLES20.GL_RENDERBUFFER,
GLES20.GL_STENCIL_INDEX8, width, height);
GLES20.glFramebufferRenderbuffer(GLES20.GL_FRAMEBUFFER,
GLES20.GL_STENCIL_ATTACHMENT, GLES20.GL_RENDERBUFFER, mStencilBufferHandle);
}
--
H

