| android Programming Glossary: stencilProducing eraser effects using libgdx and OpenGL ES http://stackoverflow.com/questions/10373847/producing-eraser-effects-using-libgdx-and-opengl-es  this blog. Here is the link  android opengl es libgdx pixmap   share improve this question   Could you use FBO's and a stencil buffer Setup an FBO for your pink layer and a stencil buffer for it. On touch down draw your touch as a mask to the pink.. pixmap   share improve this question   Could you use FBO's and a stencil buffer Setup an FBO for your pink layer and a stencil buffer for it. On touch down draw your touch as a mask to the pink FBO's stencil buffer. Now when you draw the pink FBO.. an FBO for your pink layer and a stencil buffer for it. On touch down draw your touch as a mask to the pink FBO's stencil buffer. Now when you draw the pink FBO the areas you touched wont be rendered so you'll be able to see the background FBO.. 
 Is it possible to render in RGB888 with OpenGL? http://stackoverflow.com/questions/5666287/is-it-possible-to-render-in-rgb888-with-opengl  surface you'd still want to pick the EGLConfig to best guess the config for the channels in addition to the depth and stencil buffers. setEGLConfigChooser 8 8 8 8 0 0 getHolder .setFormat PixelFormat.RGBA_8888 However if I read your question correctly.. 
 |