Skip to content
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

Static mode broken with Java2D (the default renderer) on Linux #3315

Closed
aengelke opened this issue May 24, 2015 · 6 comments
Closed

Static mode broken with Java2D (the default renderer) on Linux #3315

aengelke opened this issue May 24, 2015 · 6 comments

Comments

@aengelke
Copy link
Contributor

Using revision fbfb6a6 (HEAD), the static mode for Java2D and FX2D is broken on Linux. For this sketch:

size(400, 300);
background(100, 0, 0);
fill(0, 0, 255);
ellipse(width/2, height/2, 100, 100);

I get this output:

image

And for the new FX2D renderer:

image

The OpenGL renderers produce the expected result:

image

@benfry
Copy link
Contributor

benfry commented Jun 1, 2015

Hm, seems to be specific to Windows and Linux.

@joelmoniz
Copy link
Member

Another test cases that causes this issue (from #3325):

Calling size() with only a setup() function, without draw():

void setup() {
  size(320, 240);
  rect(20,20,50,50);
}

@benfry benfry added this to the 3.0 beta 1 milestone Jun 16, 2015
@benfry benfry closed this as completed in 84bd98a Jun 19, 2015
@benfry benfry reopened this Jun 19, 2015
@benfry
Copy link
Contributor

benfry commented Jun 20, 2015

I believe I've got this working again for the next release (a11).

@benfry benfry closed this as completed Jun 20, 2015
@aengelke
Copy link
Contributor Author

Just tested: JAVA2D is working, FX2D isn't (but that's another issue: size() cannot be used here...).

@benfry benfry changed the title Static mode broken with non-GL renderers on Linux Static mode broken with Java2D (the default renderer) on Linux Jun 20, 2015
@benfry
Copy link
Contributor

benfry commented Jun 20, 2015

FX2D isn't finished yet, and is completely unsupported.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants