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

Support window selector in shell.html #6374

Closed

Conversation

atrosinenko
Copy link
Contributor

@atrosinenko atrosinenko commented Mar 25, 2018

In my port of QEMU to JavaScript I use their SDL2 UI for graphics. Previously, I had to disable every window except one, otherwise the canvas was messed up. There is also an issue #5081 on this topic.

In this PR I add the basic support for window selector to Emscripten. SDL2 support requires separate PR to its repository, though: emscripten-ports/SDL2#55.

PS: Frankly speaking, I'm not familiar with OpenGL at all, but it seems to work in my QEMU port. Corrections are welcome, of course.

This makes possible implementation of multi-window support in SDL2.
@atrosinenko
Copy link
Contributor Author

According to @Daft-Freak from SDL2 port, this PR should be reworked, so for every "window" a separate canvas be created to not mess things up when GL is used. Now this PR should be considered suspended for a while.

@stale
Copy link

stale bot commented Sep 18, 2019

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

@stale stale bot added the wontfix label Sep 18, 2019
@stale stale bot closed this Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant