Skip to content

Static sketches and incremental drawing don't work properly #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
codeanticode opened this issue Sep 12, 2015 · 2 comments
Closed

Static sketches and incremental drawing don't work properly #147

codeanticode opened this issue Sep 12, 2015 · 2 comments
Assignees

Comments

@codeanticode
Copy link
Contributor

Things like:

void setup() {
  size(400, 400, P2D); 
  background(255, 0, 0);
  fill(255, 150);
}

void draw() {
  ellipse(mouseX, mouseY, 100, 100); 
}

or

void setup() {
  size(400, 400, P2D); 
  background(255, 0, 0);
  fill(255);
  ellipse(200, 200, 100, 100); 
}

void draw() {
  noLoop();
}

show incorrect or glitchy rendering... seems that the FBO layer is not properly initialized with the latest contents from the framebuffer. Tested with latest release (243) on a Moto E with Android 5.1.1

@codeanticode codeanticode self-assigned this Sep 12, 2015
@codeanticode
Copy link
Contributor Author

Partially fixed with fb8feaf. Incremental drawing is working, but static sketches still don't work, just show a black screen:

void setup() {
  size(400, 400, P2D); 
  background(255, 0, 0);
  fill(255);
  ellipse(200, 200, 100, 100); 
}

void draw() {
  noLoop();
}

@codeanticode
Copy link
Contributor Author

Fixed with dd0c246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant