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

Need non-AWT ways to get display count, width, height, pixel density #57

Open
processing-bot opened this issue Jan 20, 2020 · 2 comments

Comments

@processing-bot
Copy link
Collaborator

Created by: benfry

We need either 1) an alternative/native method to make these work, or 2) a per-Surface version of them.

The second option is still problematic since we don't know what PSurface will be used when settings() is called. So either we need to start passing that to the command line, or do something more clever, i.e. once size() or fullScreen() is called, use the renderer to create an object that can handle these device settings on a per-surface type basis.

For now, displayWidth and displayHeight will be 0 when --disable-awt is used.

@processing-bot
Copy link
Collaborator Author

Created by: retiutut

@benfry What's the status of this issue given the above merged PRs?

@processing-bot
Copy link
Collaborator Author

Created by: benfry

No status update, really. During the 4.x process it looked like this would be a higher priority (i.e. to support LWJGL or other rendering systems) but it turned out to be less important, so less time was spent here.

There have been changes to allow more separation, and make it clearer where we're crossing that boundary, should we want to complete the exorcism. And it should be possible to run without it, but these methods still won't work.

More here: https://github.com/processing/processing4/wiki/Exorcising-AWT

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

No branches or pull requests

1 participant