We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi
Maybe I'm doing something wrong, but I feel that maybe this is a bug. In Java mode works perfectly, in Android you see a image echo, remembering errors reading the pixels array. Tested in Nexus 7, Galaxy s2 and sony xperia.
thanks!
PGraphics feedback;  // Image drawn onto by & re-fed to the shader every loop 
void setup() {
  size(displayWidth, displayHeight, OPENGL);
  noStroke();
  frameRate(60);
  feedback = createGraphics(width/2, height/2, OPENGL);
  feedback.beginDraw();
  feedback.background(0);
  feedback.endDraw();
}
void draw() {
  feedback.beginDraw();
  if (mousePressed) {
    feedback.fill( 255 );
    feedback.noStroke();
    feedback.ellipse( mouseX, mouseY, 100, 100 );
  }
  feedback.endDraw();
  image( feedback, 0, 0 );
  text(frameRate, 10, 10);
}
--
